1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2024-09-28 22:40:50 +00:00
Commit Graph

655 Commits

Author SHA1 Message Date
gnosygnu
1ba6f094e3 Wikibase.Scribunto: Support #statements keyword 2017-04-04 06:02:51 -04:00
gnosygnu
26a56950cd Wikibase.Coordinate: Reverse NS / EW direction for geocoordinates; also, standardize spacing / symbols for wikibase 2017-04-02 08:46:12 -04:00
gnosygnu
8501ec6fd8 Parser.Time: Ignore multiple years / multiple days when parsing date for #time function 2017-04-01 17:06:41 -04:00
gnosygnu
3674dcf8de Scribunto.Site: Use fully-qualified url for url property, not domain 2017-04-01 09:38:20 -04:00
gnosygnu
8cda46bef9 Scribunto.Lang: Return 1st three letters of unknown language codes, not blank 2017-04-01 08:13:49 -04:00
gnosygnu
83c40c8771 Parser: Add more support for UNIQ substitutions with extension tags 2017-03-31 19:17:47 -04:00
gnosygnu
f57fd74e13 Parser.Ref: Change UNIQ prefix / suffix 2017-03-31 08:04:08 -04:00
gnosygnu
3441135fad Parser.Ref: Add commented fix for ref tag in template 2017-03-30 22:11:00 -04:00
gnosygnu
67787c720a Gui: Change back-color of Options.Shortcut.Bindings window from gray to white 2017-03-29 18:31:19 -04:00
gnosygnu
ff3b65c438 Personal_wikis: Fix perpetual 'Do you want to upgrade your search databases' when using Search field for personal wikis 2017-03-29 18:22:00 -04:00
gnosygnu
e5beacf7c4 Full-text search: Remove logic to reset portal due to regression error with Wikivoyage diagnostic 2017-03-29 18:02:35 -04:00
gnosygnu
541b6e461d Full-text search: Add fallback behavior to Special:Search if index is not available 2017-03-29 15:10:57 -04:00
gnosygnu
62d7e6adfe Full-text search: Add option to switch between Special:Search and Special:XowaSearch 2017-03-29 14:51:36 -04:00
gnosygnu
04b798483e Gui: Add url_box format for displaying custom urls like 'English Wikipedia/Earth' 2017-03-29 08:52:38 -04:00
gnosygnu
b01b85fcc1 Full-text search: Upgrade oojs-ui and other minor changes 2017-03-28 22:25:25 -04:00
gnosygnu
27e582441a Full-text search: Tweak searcher and cfg for Android 2017-03-28 15:00:27 -04:00
gnosygnu
dfde355703 Full-text search: Show warning message if indexes are not available 2017-03-28 09:05:20 -04:00
gnosygnu
909a715332 Gui: Use constants for showing / hiding search / allpages 2017-03-28 07:57:28 -04:00
gnosygnu
13002e5efb Full-text search: Support paging for XOWA Wikitext search 2017-03-28 07:47:32 -04:00
gnosygnu
36cb2c22f6 Gui: Add allpages and search buttons 2017-03-27 21:49:50 -04:00
gnosygnu
c964eedd58 Full-text search: Add expand_pages 2017-03-27 16:58:57 -04:00
gnosygnu
968e8917c2 Full-text search: Allow multiple-wiki specificity for expand_snips 2017-03-27 12:42:30 -04:00
gnosygnu
f8f8fa3c3b Wikibase: Add 'datatype' property to 'Property:' pages 2017-03-27 10:04:10 -04:00
gnosygnu
7e476fde06 Xomw: Add XomwMessageContent and related classes 2017-03-27 08:53:30 -04:00
gnosygnu
39830cfa4f Full-text search: Add menu entry for title search 2017-03-26 21:26:03 -04:00
gnosygnu
e6ae41d9fd Full-text search: Add unpack lucene 2017-03-26 21:06:42 -04:00
gnosygnu
a43c0d17ba Full-text search: Add pack_lucene 2017-03-26 20:14:18 -04:00
gnosygnu
f2520ef81f Full-text search: Rename directory to java7-v1 2017-03-26 11:02:29 -04:00
gnosygnu
176ac30b0e Full-text search: Add menu options for XowaSearch and AllPages 2017-03-26 11:00:03 -04:00
gnosygnu
022cb2684e Full-text search: Tweak minor UI settings 2017-03-26 02:08:19 -04:00
gnosygnu
0b762933b2 Full-text search: Add expand_options; clean up other options 2017-03-24 21:54:02 -04:00
gnosygnu
688f276552 Full-text search: Rename mustache arg to qarg_search 2017-03-24 09:59:54 -04:00
gnosygnu
66f744b11d Db: Add exec reader by prepared statement 2017-03-24 09:02:22 -04:00
gnosygnu
7269befb14 Full-text search: Change xo.page_guid to xo_page_guid (actual commit) 2017-03-24 08:17:56 -04:00
gnosygnu
477929e559 Full-text search: Add ooui-js call 2017-03-24 07:09:44 -04:00
gnosygnu
879ef3a7d0 Full-text search: Clear cache if more than 8 entries 2017-03-23 08:18:31 -04:00
gnosygnu
c3eca52574 Full-text search: Fix caching; also, continue searching until finding desired number of results 2017-03-22 21:10:20 -04:00
gnosygnu
ab1b9f7509 Full-text search: Add searcher_type 2017-03-22 19:00:44 -04:00
gnosygnu
4360e42e95 Gui: Add option to display actual HTML in SWT browser 2017-03-22 15:53:43 -04:00
gnosygnu
a9afa7a827 Full-text search: Add IndexOptions to Indexer 2017-03-22 09:30:45 -04:00
gnosygnu
49924110f4 Full-text search: Implement basic paging 2017-03-21 10:42:47 -04:00
gnosygnu
7924e26522 Full-text search: Automatically execute search if search_text is available; also, add limited caching 2017-03-20 19:26:12 -04:00
gnosygnu
e486d139e0 Full-text search: Use mustache templates for html updates 2017-03-19 14:31:37 -04:00
gnosygnu
c84cdf13b3 Xomw: Add XomwXowaSiteLookup 2017-03-19 10:03:00 -04:00
gnosygnu
96d1299273 Full-text search: Print links to non main-namespace pages 2017-03-19 03:34:42 -04:00
gnosygnu
cc8c120982 Special: Broadcast events to one specific tab, not all tabs with same name 2017-03-19 03:08:57 -04:00
gnosygnu
67548465fc Full-text search: Change popups to pub-sub system 2017-03-18 13:22:46 -04:00
gnosygnu
5967c75433 Js: Update references to mobile lib; change Add_core to Add_baselib 2017-03-18 08:06:13 -04:00
gnosygnu
a4380b6d48 Full-text search: Specify namespaces for indexing 2017-03-17 09:59:58 -04:00
gnosygnu
10d13a3cd9 Wikibase: Fix 'mw.wikibase.entity.lua:56 attempt to call nil' on several dozen ru.w pages 2017-03-16 20:12:43 -04:00
gnosygnu
8524120a14 Mass_parse: Fix critical import failure when importing ru.wikinews.org 2017-03-16 13:31:59 -04:00
gnosygnu
a214575391 Full-text search: Ignore HTML tags 2017-03-16 10:32:51 -04:00
gnosygnu
2270a35c83 File: Handle long directories on Windows systems 2017-03-15 23:28:45 -04:00
gnosygnu
19b2d6226c Category: Fix fatal page load error when page_cat_db_id is invalid 2017-03-15 19:58:11 -04:00
gnosygnu
8c31c8fd62 Full-text search: Change to lucene 6.4.2 2017-03-15 19:51:58 -04:00
gnosygnu
8f8e414c80 Full-text search: Add highlighter 2017-03-15 13:11:09 -04:00
gnosygnu
c08ea3bb03 Full-text search: Use Lucene 5.x instead of 6.x to stay on Java 1.7 2017-03-13 15:48:54 -04:00
gnosygnu
af6f7cf657 Page_sync: Show synced page immediately, not after another refresh 2017-03-13 12:53:45 -04:00
gnosygnu
3b6cc45084 Full-text search: Add analyzers for non-English languages 2017-03-13 10:05:21 -04:00
gnosygnu
77de7215ce Full-text search: Add lucene indexer 2017-03-12 22:57:42 -04:00
gnosygnu
ae9d0fccd3 Full-text search: Add lucene searcher 2017-03-12 14:45:54 -04:00
gnosygnu
c91416801b Full-text search: Add lucene index generation 2017-03-10 13:24:41 -05:00
gnosygnu
062d958ead Full-text search: Add autosave options; read query from url args 2017-03-10 06:33:21 -05:00
gnosygnu
d0399d6b04 Full-text search: Save and load options 2017-03-09 23:54:15 -05:00
gnosygnu
06acdd7335 Full-text search: Add 'expand matches' and 'show more' 2017-03-09 19:02:21 -05:00
gnosygnu
d5d3c68350 Bldr: Call recentchanges api 2017-03-07 16:47:52 -05:00
gnosygnu
e5baaaabc6 Bldr: Call remote then local repos 2017-03-07 09:15:57 -05:00
gnosygnu
848496c51b Bldr: Add omitted tests for normalizing title, timestamp 2017-03-06 20:42:56 -05:00
gnosygnu
5b2f3136a2 Log: Delete old Download Central logs 2017-03-06 15:45:25 -05:00
gnosygnu
3ebc338797 Personal_wikis: Update page_modified on page save 2017-03-06 09:28:48 -05:00
gnosygnu
7a8228c709 Bldr: Update orig_regy with api results from missing origs 2017-03-06 09:01:15 -05:00
gnosygnu
e92710483f Gui: Add nightmode css for popups and search suggest 2017-03-05 16:37:32 -05:00
gnosygnu
2d415cb1d2 Gui: Toggle nightmode for dropdown list 2017-03-05 13:10:22 -05:00
gnosygnu
ae9a00fade Gui: Update colors dynamically when changed from options screen 2017-03-05 11:41:18 -05:00
gnosygnu
e77916a02e Bldr: Add more implementation for missing origs 2017-03-05 08:40:52 -05:00
gnosygnu
98fb49687b Gui: Add options for nightmode; switch window icons; switch wiki css 2017-03-05 07:16:35 -05:00
gnosygnu
3e39b2fe77 Bldr: Add more implementation for missing origs 2017-03-04 09:44:22 -05:00
gnosygnu
ef11577d08 Edit: Add try catch for page backups 2017-03-03 17:42:50 -05:00
gnosygnu
a28ba26ca6 Gui: Add initial support for night-mode 2017-03-03 16:20:00 -05:00
gnosygnu
3e69a06434 Personal_wikis: Show wiki in left sidebar 2017-03-03 10:12:18 -05:00
gnosygnu
96b3b0afb8 Edit: Add page backup feature 2017-03-03 08:39:19 -05:00
gnosygnu
45d355454e Dansguardian: Skip specified namespaces 2017-03-02 21:07:15 -05:00
gnosygnu
7dd01b6e23 Full-text search: Do not fail rest of search if one result has invalid json 2017-03-02 16:34:18 -05:00
gnosygnu
269a3c3f65 Full-text search: Escape angle bracket in results 2017-03-02 16:16:59 -05:00
gnosygnu
0e3ebac674 Full-text search: Notify pages searched 2017-03-02 13:27:27 -05:00
gnosygnu
389726f219 Full-text search: Escape tab and carriage return in json callbacks 2017-03-02 11:06:15 -05:00
gnosygnu
1d509aa232 Full-text search: Send page_id and encode page_titles 2017-03-02 10:12:40 -05:00
gnosygnu
d672b829b9 Search: Convert to async search 2017-03-02 09:52:58 -05:00
gnosygnu
c60936f165 Search: Add more punctuation symbols 2017-03-02 07:43:54 -05:00
gnosygnu
ca88091d90 Search: Add some search options 2017-03-01 22:08:06 -05:00
gnosygnu
8de3cf0cc6 Search: Add more punctuation support 2017-03-01 16:37:47 -05:00
gnosygnu
9301973825 Log: Fix broken test 2017-03-01 11:32:24 -05:00
gnosygnu
c702745bc0 Search: Add NOT logic 2017-03-01 11:29:43 -05:00
gnosygnu
c10cf2ca15 Search: Refactor search to handle multiple boolean searches 2017-03-01 08:52:21 -05:00
gnosygnu
7f04fc5f74 Search: Add more implementation for full-text search 2017-02-28 08:42:17 -05:00
gnosygnu
1feb2b9877 Search: Add special page for full-text search 2017-02-27 17:26:49 -05:00
gnosygnu
27951c428d Personal_wikis: Add timestamp to quick save status message 2017-02-27 11:08:38 -05:00
gnosygnu
ece9e59145 Personal_wikis: If personal_wiki, call personal_wiki init when loading wiki from wiki_mgr 2017-02-27 10:55:26 -05:00
gnosygnu
ba4634919c Wikibase: Use scribunto key name for datatypes 2017-02-26 21:56:07 -05:00
gnosygnu
a661f90ede Xomw: Do not load every personal wiki on startup 2017-02-25 21:05:36 -05:00
gnosygnu
26f786d4b9 Personal_wikis: Do not try to download css when creating wikis 2017-02-25 20:01:01 -05:00
gnosygnu
e48a70860b App: Fix null reference when starting app 2017-02-25 18:13:13 -05:00
gnosygnu
2b2f93b766 Xomw: Add wfUrlencode 2017-02-25 18:06:47 -05:00
gnosygnu
0f92bb55db Xomw: Convert XomwHtml 2017-02-25 08:37:34 -05:00
gnosygnu
1328288cd2 App_update: Add more logging for app boot process 2017-02-24 17:37:33 -05:00
gnosygnu
e389bcbee9 App_update: Redownload update_db if download fails 2017-02-24 14:08:35 -05:00
gnosygnu
d8c2eaba1d Xomw: Change Php classes to Xophp; move to root namespace 2017-02-24 07:56:49 -05:00
gnosygnu
b6abbf2ffe Search: Clear cache after reindex 2017-02-22 16:45:50 -05:00
gnosygnu
12848b7cf5 Html: Move get_elem_val to xo.elem 2017-02-22 09:41:37 -05:00
gnosygnu
5bd3371802 Command-line: Fix curid argument not working 2 2017-02-22 08:44:14 -05:00
gnosygnu
0e85cc90ff Command-line: Fix curid argument not working 2017-02-22 07:54:00 -05:00
gnosygnu
4a07fdf291 Dev: Change command-line license to GPLv3 / Apache2 2017-02-21 21:28:48 -05:00
gnosygnu
1d58dca0f4 Dev: Change command-line license to GPLv3 / Apache2 2017-02-21 19:06:51 -05:00
gnosygnu
319120364c Gui: Fix null ref if 0 tabs and exiting app 2017-02-21 18:54:26 -05:00
gnosygnu
8b6bda0b6d Wiki.Dom: Ignore null siteinfo_misc else personal_wikis will fail 2017-02-21 18:51:27 -05:00
gnosygnu
344e709552 Wiki.Dom: Load site_name from xowa_cfg 2017-02-21 18:34:51 -05:00
gnosygnu
ece168e960 Personal_wikis: Update page_id from -1 to 1, not 0 for old v4.2 wikis with only 1 page 2017-02-21 17:24:24 -05:00
gnosygnu
7e6f26f740 Personal_wikis: Update mainpage in user_wiki.json 2017-02-21 17:04:15 -05:00
gnosygnu
fa056807d5 Personal_wikis: Change json name from 'main_page' to 'mainpage' 2017-02-21 16:59:59 -05:00
gnosygnu
edb23bb47e Category: Fix Category updates not working in layout.few databases 2017-02-21 16:24:33 -05:00
gnosygnu
1179e2848f Developer: Change license to GPLv3 / Apache2 in source code headers 2017-02-21 15:45:17 -05:00
gnosygnu
1ba13dd5f7 Sql_exec: Change page alias 2017-02-21 15:21:28 -05:00
gnosygnu
1609fe6c8e Sql_exec: Add Special:XowaSqlExec 2017-02-21 11:16:59 -05:00
gnosygnu
17f3de3124 Import: Fix wrong main_page for non-English wikis 2017-02-20 22:11:02 -05:00
gnosygnu
94a755124e Import: Fix page_redirects to English namespaces in non-English wikis 2017-02-20 20:18:39 -05:00
gnosygnu
b171592d77 Personal_wikis: Change mainpage to main_page 2017-02-20 13:40:54 -05:00
gnosygnu
7fe4ed59ac Xomw: Start converting XomwLinkHolderArray 2017-02-20 05:16:43 -05:00
gnosygnu
428f2837c9 Category: Support addition / deletion in existing WMF wikis 2017-02-19 16:25:16 -05:00
gnosygnu
b028228d3d Personal_wikis: Fix Category page deletion failing 2017-02-19 11:55:32 -05:00
gnosygnu
7894c6d6f4 Xomw: Change href to use proper File: namespace 2017-02-19 11:11:26 -05:00
gnosygnu
704809e5b9 Xomw: Convert many class names to camelCase 2017-02-19 09:21:04 -05:00
gnosygnu
92c9fbddcc Personal_wikis: Change new wikis to automatically have upgraded cat_link / page table 2017-02-19 00:35:40 -05:00
gnosygnu
665137d453 Personal_wikis: Add upgrade version 2017-02-18 18:28:27 -05:00
gnosygnu
caa1eb2237 Personal_wikis: Update invalid page_ids to valid page_ids 2017-02-18 11:09:32 -05:00
gnosygnu
95632e0e98 Wiki.Dom: Remove wiki dependency from search db_mgr 2017-02-18 10:45:42 -05:00
gnosygnu
1188122823 Wiki.Dom: Remove wiki dependency from db_mgr 2017-02-18 10:37:40 -05:00
gnosygnu
4ec913b807 Personal_wikis: Add update page_id function 2017-02-18 09:58:11 -05:00
gnosygnu
04a58326e2 Personal_wikis: Assert name prop is in wiki.core 2017-02-18 08:16:45 -05:00
gnosygnu
083ab133f7 Personal_wikis: Add Main_Page back to json 2017-02-17 23:28:40 -05:00
gnosygnu
c9e22b69f7 Wiki.Dom: Refactor Wiki.Props 2017-02-17 17:57:17 -05:00
gnosygnu
22b6d4dbde Gui: Use GridLayout for progress messages window 2017-02-17 11:34:22 -05:00
gnosygnu
4593483522 Personal_wikis: Simplify wiki_import verification code 2017-02-17 09:39:51 -05:00
gnosygnu
a0dacdcf38 Personal_wikis: Refactor wiki_json update 2017-02-16 18:22:56 -05:00
gnosygnu
632fad62ae Personal_wikis: Add working implementation of wiki import 2017-02-16 13:14:18 -05:00
gnosygnu
00ab87b1b5 Gui: Tweak positioning of gui elements / font sizes 2017-02-15 19:18:41 -05:00
gnosygnu
451962a97f Wiki: Add more comments / exception handling for curid query argument 2017-02-15 17:52:04 -05:00
gnosygnu
a8fa783c32 Wiki: Support curid query argument 2017-02-15 15:50:39 -05:00
gnosygnu
aee0d2a9e0 Options: Remove Javascript enabled option else user can inadvertently cause many Special screens to stop working 2017-02-15 12:59:31 -05:00
gnosygnu
12c78cf89f Personal_wikis: Add page delete; refactor category updates 2017-02-15 11:44:30 -05:00
gnosygnu
faebc72c4f Gui: Fix Keyboard binding screen 2017-02-15 04:55:45 -05:00