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

688 Commits

Author SHA1 Message Date
gnosygnu
0765beb04a Table_of_contents: Ignore NOTOC commands at template level 2017-06-17 10:44:08 -04:00
gnosygnu
e2e68342e0 Table_of_contents: Ignore NOTOC commands at template level 2017-06-17 10:34:29 -04:00
gnosygnu
a439f53c1a ParserFunctions: Fix broken test for {#tag} and apos 2017-06-07 22:05:48 -04:00
gnosygnu
c2dca930f3 Embeddable: Handler null pointer exceptions for <gallery> when no de.wikipedia.org-file-core.xowa file is available 2017-06-06 22:05:28 -04:00
gnosygnu
e687f23586 ParserFunctions: Fix broken navboxes on many fr.v pages 2017-06-01 23:15:35 -04:00
gnosygnu
d521299987 Embeddable: Handle redirects 2017-05-29 14:43:13 -04:00
gnosygnu
f129344506 Scribunto: Fix 'gplx.Err: bad argument: nil: idx=0 len=0' on a few dozen fr.u pages 2017-05-28 09:28:30 -04:00
gnosygnu
c4a2bbcd95 Parser.Xml: Do not print <meta> and <link> tags 2017-05-28 09:13:49 -04:00
gnosygnu
633fb2979f Threading: Add 'redirectTarget' to Scrib_lib_title 2017-05-27 21:53:21 -04:00
gnosygnu
2776790369 Threading: Fix rare multi-thread error for Hiero parser 2017-05-26 06:09:10 -04:00
gnosygnu
3b4a3a5af5 Parser: Show page name for [[Media:]] links without caption (XOWA-122) 2017-05-20 09:11:41 -04:00
gnosygnu
ffe4c0d094 Scribunto: Fix script error 'NullPointerException' on 1 en.w page 2017-05-11 22:08:42 -04:00
gnosygnu
bee71c22fe Page_sync: Sync recently-created pages 2017-05-07 11:47:53 -04:00
gnosygnu
af2d0c51db Release: Release v4.5.2.1704 2017-04-27 19:25:04 -04:00
gnosygnu
b43ec6d2e2 Parser.Date: Parse times with format of 'm/d/yyyy' where d == 13 2017-04-25 07:29:38 -04:00
gnosygnu
efae8aff51 Search: Include pages with scores of 10,000 or less 2017-04-24 21:23:00 -04:00
gnosygnu
ea3cb238fd Scribunto.Regex: Reinstate codepoint calculations for ustring.find 2017-04-24 21:16:20 -04:00
gnosygnu
0e3af23c87 Scribunto.Regex: Do not exit early if regx_proc fails match 2017-04-24 07:08:08 -04:00
gnosygnu
4a1546b9a2 Scribunto.Regex: Add only first match for mw.ustring.match, not all of them 2017-04-23 17:31:20 -04:00
gnosygnu
1d6b3779a0 Scribunto: Fix script error '=Module:zh-glyph:120 attempt to concatenate nil and string' on a few hundred en.d pages for Chinese chars 2017-04-23 09:47:58 -04:00
gnosygnu
eaa83db644 Mass_parse: Embed score in full-text search index 2017-04-22 09:40:15 -04:00
gnosygnu
53c3400366 Scribunto.Regex: If gsub_replace lua proc returns nothing, do not replace with empty string 2017-04-22 08:35:53 -04:00
gnosygnu
fb934457f9 Xomw: Add commafy 2017-04-18 21:38:55 -04:00
gnosygnu
80f572a06c Parser.Xml: Fix script error 'Unable to convert section' on 1 en.w page 2017-04-10 21:32:56 -04:00
gnosygnu
d9377b5162 Parser.Xnde: Add better warning message for dangling extensions ('<ref>a</ref') 2017-04-10 21:20:40 -04:00
gnosygnu
60d752723b Download_central: Comment support for wikitext downloads 2017-04-09 22:13:57 -04:00
gnosygnu
aaa8ebadd7 Download_central: Add support for wikitext downloads 2017-04-09 22:08:54 -04:00
gnosygnu
00318ce8cf Scribunto.Common: Fix script error 'Country data' on many en.w game pages 2017-04-09 09:42:51 -04:00
gnosygnu
be0d09aaff Xomw: Add minor changes to XomwMessage / XomwLanguage 2017-04-09 08:43:51 -04:00
gnosygnu
ea46354cf8 Parser.Table: Close previous paragraph when starting table 2017-04-08 20:56:12 -04:00
gnosygnu
680e6b88d6 Mass_parse: Do not fail when generating full-text search indexes 2017-04-08 08:14:21 -04:00
gnosygnu
5fef0af3a5 Personal_wikis: Create personal wikis with latest search database schema 2017-04-06 22:37:30 -04:00
gnosygnu
0d1b478aa2 Xomw: Add paramVal methods to XomwMessage 2017-04-05 07:07:27 -04:00
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