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

305 Commits

Author SHA1 Message Date
gnosygnu
d64136ab9d Release: v3.12.1.1 2016-12-04 20:56:13 -05:00
gnosygnu
585ef1c2ce Cfg: Add more implementation for cfg_cache and pub / sub 2016-12-04 11:40:47 -05:00
gnosygnu
f7558a6761 Wbase: Add lock to pid_mgr else multi-threaded issues 2016-12-03 23:15:42 -05:00
gnosygnu
265388a889 Cfg: Add Xocfg_mgr 2016-12-03 23:14:27 -05:00
gnosygnu
364e72e869 Wbase: Do not fail if null quantity.lbound or quantity.ubound 2016-12-03 17:52:41 -05:00
gnosygnu
9fd328ac8f Wbase: Load prop datatype table as P123 instead of p123 2016-12-03 13:59:31 -05:00
gnosygnu
496068e9aa Section_edit: Add parse / intermediate html form 2016-12-03 10:49:33 -05:00
gnosygnu
5eaaae0749 Cfg: Remove nde_tid; convert checkbox yes to bool 2016-12-02 14:44:31 -05:00
gnosygnu
26ad5db8e9 Section_edit: Add initial groundwork for generating html 2016-12-02 11:32:23 -05:00
gnosygnu
1e28aa6e79 Xtn.Math: Swap out math tags with UNIQ 2016-12-01 19:55:43 -05:00
gnosygnu
2a0b5769ad Wikibase: Uniquefy items in wbase_prop table 2016-12-01 14:35:47 -05:00
gnosygnu
da18f05d9f Wikibase: Infer datatype from cached table not from JSON doc 2016-12-01 11:07:33 -05:00
gnosygnu
b3566def7e Wikibase: Add wbase_prop table for datatype 2016-11-29 16:03:56 -05:00
gnosygnu
b1ad1411e4 Wikibase: Fix Wikibase json-entities loader not working 2016-11-28 11:52:21 -05:00
gnosygnu
83cf992f48 Core: Refactor base classes 2016-11-28 08:28:00 -05:00
gnosygnu
12459429b4 Import: Expand index on temp category table to include cl_type 2016-11-27 19:13:12 -05:00
gnosygnu
9e1bbe0235 App_update: Move constants to config 2016-11-26 10:03:36 -05:00
gnosygnu
cea5072c2a Import: Add index to cl_from 2016-11-25 23:16:51 -05:00
gnosygnu
73872cf5ff Gui.Url_bar: Set page url to actual chars, not url-decoded chars 2016-11-25 15:54:21 -05:00
gnosygnu
720668ad63 App_update: Add more implementation for standalone update app 2016-11-25 13:32:45 -05:00
gnosygnu
e0ee9a952d Parser.Lnke: Handle xwiki links to history pages 2016-11-24 22:16:39 -05:00
gnosygnu
468b9b6ed5 Wikibase: Convert globecoordinate's precision of '0' to precision of '1' 2016-11-24 21:39:40 -05:00
gnosygnu
dd8cff9838 Embeddable: Fix if_exists test 2016-11-24 19:26:35 -05:00
gnosygnu
81dc7ea4ea Embeddable: Fix if_exists (restore) 2016-11-24 08:58:55 -05:00
gnosygnu
fcbdf8bbd8 Embeddable: Fix if_exists 2016-11-24 08:53:07 -05:00
gnosygnu
dae3be97ec App_update: Add standalone updater 2016-11-24 08:52:12 -05:00
gnosygnu
910b5d66d3 Embeddable: Add Free_memory method 2016-11-23 14:29:34 -05:00
gnosygnu
a6540d6200 Scribunto: Do not convert zero padded numbers to integer 2016-11-23 13:47:24 -05:00
gnosygnu
eb5173b3a0 Scribunto: Use local language's namespace name not canonical 2016-11-23 12:18:20 -05:00
gnosygnu
6e39f9979d Wikibase: Return 'property' not 'item' if wikidata page is Property: 2016-11-23 11:25:59 -05:00
gnosygnu
fc55d0e2f9 App_update: Add replace worker; add db auto-update 2016-11-23 09:35:26 -05:00
gnosygnu
103d005e62 App_update: Add download and unzip workers 2016-11-22 11:54:03 -05:00
gnosygnu
1c37d4e599 Table_of_contents: Ignore TOC magic word on transcluded pages (comment) 2016-11-21 10:50:44 -05:00
gnosygnu
2382c4a535 Table_of_contents: Ignore TOC magic word on transcluded pages 2016-11-21 10:43:14 -05:00
gnosygnu
8f1c368ffe App_update: Add version_id and version_url; also add json_bridge 2016-11-21 09:45:56 -05:00
gnosygnu
55b81d4a60 ParserFunctions: Fix missing headers from several dozen ru.s Slavik pages 2016-11-21 08:29:36 -05:00
gnosygnu
82ade50f5e App_update: Add more changes for special page 2016-11-20 12:57:03 -05:00
gnosygnu
c9748a6f44 Embeddable: Load modules from load_worker 2016-11-19 13:58:04 -05:00
gnosygnu
42dfdcdac2 Import: Convert null category sortkeys to empty array 2016-11-19 13:41:12 -05:00
gnosygnu
7ea0b39553 App_update: Add db table and object 2016-11-19 10:55:49 -05:00
gnosygnu
6459d990a5 App_update: Add addon and special page 2016-11-18 09:10:16 -05:00
gnosygnu
c233214e42 Page_sync: Allow 'always sync' by setting sync interval to '0' 2016-11-17 23:06:51 -05:00
gnosygnu
fb7c675117 Import.offline: Do not re-download category dump files when importing wiki (redux) 2016-11-17 18:13:39 -05:00
gnosygnu
9aa3902265 Page_sync: Fix page_sync failing when (a) page has math and (b) math has '~{' 2016-11-17 16:10:24 -05:00
gnosygnu
a38c0e834e Page_sync: Implement 'Pages to sync' filter 2016-11-17 10:02:54 -05:00
gnosygnu
d216562fba Cfg: Save items when changed 2016-11-16 09:51:47 -05:00
gnosygnu
ab209ef91e Page_sync: Do not fail if page doesn't exist 2016-11-15 15:00:41 -05:00
gnosygnu
cba205baf3 Cfg: Add more implementation for show items 2016-11-15 14:59:14 -05:00
gnosygnu
bc04443812 Cfg: Show items 2016-11-15 12:13:27 -05:00
gnosygnu
21102d846f Image: Call 'cmd /c start' correctly by forcibly including quotes 2016-11-14 15:48:27 -05:00
gnosygnu
bca989898e Image: Handle image paths with spaces and other URL-encoding 2016-11-14 15:25:31 -05:00
gnosygnu
419367ad9f Test: Do not print warnings during test 2016-11-14 10:17:32 -05:00
gnosygnu
40ee795c29 Cfg: Add create / edit screen 2016-11-14 10:11:25 -05:00
gnosygnu
7f31d49848 Release: v3.11.2.1 2016-11-13 21:39:46 -05:00
gnosygnu
69c97838ea Image: Show mockup of commons.wikimedia.org page when clicking on image 2016-11-13 13:47:26 -05:00
gnosygnu
306001f311 Cfg: Add initial implementation for special 2016-11-13 10:59:51 -05:00
gnosygnu
d8dca8f9c2 Cfg: Add more implementation to loader 2016-11-13 10:14:08 -05:00
gnosygnu
dd9f65f14f Import.offline: Fix incorrect detection of offline category dump files (.sql.gz2) 2016-11-12 16:15:22 -05:00
gnosygnu
68b51fbad1 Cfg: Add initial implementation to load items 2016-11-12 12:48:34 -05:00
gnosygnu
08d6cc3eb9 Embeddable: Add page loader 2016-11-10 15:41:24 -05:00
gnosygnu
9c95e2d470 Wikibase: Do not automatically convert dates to julian 2016-11-10 12:27:46 -05:00
gnosygnu
d2d58f2b7e Wikibase: Do not escape and repeat calendar data 2016-11-10 12:00:45 -05:00
gnosygnu
0f8d0257c9 Wikibase: Consolidate quantity output formatting in Wdata_prop_val_visitor and Wdata_visitor__html_wtr 2016-11-10 10:43:54 -05:00
gnosygnu
130aacc4d7 Wikibase: Add olo.wikipedia.org to list of known wikis 2016-11-10 09:29:09 -05:00
gnosygnu
bc10e474c2 Wikibase: Show {{#property}} geo-coordinates in degrees, not raw numbers 2016-11-09 16:10:14 -05:00
gnosygnu
653c36895f Lang.Variants: Add initialization assertion to variant rule parser 2016-11-09 15:18:20 -05:00
gnosygnu
88332f68a2 ParserFunctions: Change {{NUMBEROFPAGES}} to read from site_stats.ss_total_pages and {{NUMBEROFARTICLES}} to read from site_stats.ss_good_articles 2016-11-09 15:10:47 -05:00
gnosygnu
7e5af96548 Wikibase: Do not output quantity.unit if it is not a wikidata url 2016-11-08 11:00:02 -05:00
gnosygnu
21e90cd479 Wikibase: Parse numbers with fractions correctly; do not convert to zero 2016-11-08 10:23:23 -05:00
gnosygnu
85a1c123b4 Cfg: Add gui type enum 2016-11-08 09:28:18 -05:00
gnosygnu
323aba310c Cfg: Add more implementation for create grp / itm 2016-11-07 09:20:05 -05:00
gnosygnu
fd712c16f3 Release: v3.10.4.6 2016-11-06 22:33:55 -05:00
gnosygnu
a056a5b2e6 Embeddable: Add basic parse wikitext function 2016-11-06 14:09:00 -05:00
gnosygnu
f04cb73679 Cfg: Add get and set functions 2016-11-06 09:39:52 -05:00
gnosygnu
887724b536 Http_server: Ignore Accept-charset header 2016-11-05 08:42:26 -04:00
gnosygnu
5ff9b8d08a Page_history: Add option to log all page visits to a separate file 2016-11-05 07:33:37 -04:00
gnosygnu
e346afeea1 App_cfg: Add db layer 2016-11-05 06:40:02 -04:00
gnosygnu
25918b139b Html_dump: Always reload page when going back / forward on wikinews (use new_wiki, not cur_wiki) 2016-11-04 13:32:41 -04:00
gnosygnu
03a428ec4b DownloadCentral.Package: Add option to manually specify wiki date for new packages 2016-11-04 09:58:16 -04:00
gnosygnu
6ad12f4df9 Html_dump: Always reload page when going back / forward on wikinews (do not use cached html) 2016-11-04 09:57:57 -04:00
gnosygnu
578ede9b1c Html_dump: If {{#pagebanner}} and __TOC__ are on same page, do not have __TOC__ overwrite {{#pagebanner}} 2016-11-03 19:49:01 -04:00
gnosygnu
6d92c3cfbf User_wiki: Add list of user wikis page 2016-11-03 10:03:41 -04:00
gnosygnu
0fb6fea11a DownloadCentral: Hide outdated wikis in Imported table 2016-11-03 09:03:23 -04:00
gnosygnu
a5bdc07406 User_wiki: Add delete wiki 2016-11-02 09:57:17 -04:00
gnosygnu
ff869ecfc3 User_wiki: Change input from file to folder 2016-11-02 09:09:42 -04:00
gnosygnu
6d327749fc User_wiki: Differentiate Edit versus Create 2016-10-31 10:23:30 -04:00
gnosygnu
8016846cd9 User_wiki: Simplify creation of wiki database file and tables 2016-10-31 12:16:25 -04:00
gnosygnu
ae0fb89745 DownloadCentral: Move list of languages from UI to DB 2016-10-30 09:29:20 -04:00
gnosygnu
2c023c2c54 User_wiki: Add dirty implementation for creating user wiki 2016-10-29 10:20:11 -04:00
gnosygnu
2abefa1ab9 Hzip: Use canonical name, not local name, for images linking to namespaces in other wikis 2016-10-28 12:09:04 -04:00
gnosygnu
02a289dc80 Table_of_contents: Handle unknown tags: dl 2016-10-28 09:29:44 -04:00
gnosygnu
4e3df30cc0 Wikibase: Return timezone as integer, not string 2016-10-28 09:24:28 -04:00
gnosygnu
e10aace5f9 User_wikis: Add edit capability 2016-10-27 11:45:08 -04:00
gnosygnu
169f972019 User_wikis: Refactor xo js includes 2016-10-26 17:08:07 -04:00
gnosygnu
76e2750b5c Bookmarks: Fix Bookmarks not loading (more) 2016-10-26 11:06:29 -04:00
gnosygnu
c8e9a3d60f Bookmarks: Fix Bookmarks not loading 2016-10-26 11:05:47 -04:00
gnosygnu
69f9f3b048 User_wikis: Add special page for editing user wiki 2016-10-26 10:13:29 -04:00
gnosygnu
1711d52985 User_wikis: Add dirty implementation to load existing user wiki 2016-10-25 12:48:21 -04:00
gnosygnu
1f7a54c1e6 User_wikis: Add database table 2016-10-25 10:46:56 -04:00
gnosygnu
b4e89a47c2 Release: v3.10.4.1 2016-10-24 22:24:04 -04:00
gnosygnu
89473d795f Mass_parse: Fix compile error 2016-10-24 10:00:30 -04:00
gnosygnu
9f2863c953 Mass_parse: Do not return null if MACHINENAME / HOSTNAME is not available 2016-10-24 09:36:30 -04:00
gnosygnu
69b5678350 DownloadCentral: Preserve lang / type choices next time page is opened 2016-10-24 09:16:24 -04:00
gnosygnu
2720fdae1e Import.offline: Change message to warn that some data may not be imported 2016-10-22 17:30:40 -04:00
gnosygnu
c44b1ae658 Html_dump: Fix 'Refresh' not working for html_dumps 2016-10-22 17:24:59 -04:00
gnosygnu
9fba6afe6e Import.offline: Do not fail if category files are not available 2016-10-22 17:24:59 -04:00
gnosygnu
749d355545 Import: Use the directory of offline dump files for category files 2016-10-22 17:24:58 -04:00
gnosygnu
568060e820 Import: Do not fail at category for non-WMF wikis (Wikia) 2016-10-22 17:24:58 -04:00
gnosygnu
ac2b4a4038 Category: Change 'category not found' errors to log, not warn 2016-10-22 17:24:47 -04:00
gnosygnu
985c87efbf Table_of_contents: Handle unknown tags: ruby, rb, rp, rt 2016-10-22 08:58:40 -04:00
gnosygnu
df45117d43 Import: Do not assume same database schema for all Wikimedia wikis 2016-10-21 21:30:23 -04:00
gnosygnu
50a063c8de DownloadCentral: Do not pack text files in html package 2016-10-21 18:46:16 -04:00
gnosygnu
bd6576b716 DownloadCentral: Cleanup filter_by_lang 2016-10-21 10:00:14 -04:00
gnosygnu
55ea1fa39a Kartographer: Hide markup from mapframe / maplink tags 2016-10-20 21:29:59 -04:00
gnosygnu
3971182fff DownloadCentral: Add basic implementation for filter_by_lang 2016-10-20 16:45:00 -04:00
gnosygnu
059e49b1bc DownloadCentral: Do not show outdated wikis 2016-10-20 15:40:57 -04:00
gnosygnu
c1100c6d66 Wikibase: Refactor wbase prop_writer to static functions 2016-10-20 14:45:11 -04:00
gnosygnu
6748463711 Wikibase: Centralize rendering of claim values ({{#property}} and JSON vs renderSnak and Keyval) 2016-10-20 10:06:14 -04:00
gnosygnu
c598d1a218 Mass_parse: Fix some pages being detected incorrectly as redirects 2016-10-19 21:47:22 -04:00
gnosygnu
64328be25c Dansguardian: Delete search_links from search_link database, not search_core database 2016-10-19 17:40:13 -04:00
gnosygnu
74e84fd758 DownloadCentral: Fix archive.org url and task name for wikidata 2016-10-19 16:22:30 -04:00
gnosygnu
e55e3971d9 DownloadCentral: Add option to generate text packages (for wikidata) 2016-10-19 15:19:03 -04:00
gnosygnu
37a72e6ad4 Add option to include patch files 2016-10-19 12:44:24 -04:00
gnosygnu
af8306ae9b Add option to make_cmd to not delete all html databases 2016-10-19 09:56:11 -04:00
gnosygnu
9165ceef79 Ignore assessment function tag 2016-10-19 09:37:15 -04:00
gnosygnu
06c877f36c Fix thread-safe issues with Hash_of_ints 2016-10-19 00:00:25 -04:00
gnosygnu
8fc07752e9 Switch img_src and img_trg when loading from imglnk_reg 2016-10-18 23:50:17 -04:00
gnosygnu
d983a32397 Reuse quantity.unit code for renderSnake 2016-10-18 16:29:22 -04:00
gnosygnu
f17aadfcba Implement entity for renderSnak 2016-10-18 14:32:59 -04:00
gnosygnu
83fc18ad03 Do not write page banner img.src else hzip_diff will complain for every page 2016-10-18 12:06:58 -04:00
gnosygnu
1f10cb2155 Cache category link pages 2016-10-18 11:24:40 -04:00
gnosygnu
7f4549d27a Skip invalid category titles; do not treat them as empty category titles 2016-10-18 11:16:11 -04:00
gnosygnu
2565cb9821 Do not show null ref error in log when invalid category is used 2016-10-18 09:44:28 -04:00
gnosygnu
c032eba49c Add page title to log message when category does not exist in page (dynamicPageList) 2016-10-18 09:29:51 -04:00
gnosygnu
01e45caa5a Fix build error for English Wikibooks 2016-10-17 20:37:50 -04:00
gnosygnu
62ff87350b If multiple caption arguments, take last, not all of them 2016-10-17 18:18:48 -04:00
gnosygnu
7fc776aee9 v3.10.3.1 2016-10-16 23:03:56 -04:00
gnosygnu
d07b3e1493 Clean up luaj scripting engine; allow multiple lua library files 2016-10-16 13:00:37 -04:00
gnosygnu
c1d84249e1 Simplify scripting api; add support for multiple extensions; support lua extensions 2016-10-15 18:21:46 -04:00
gnosygnu
7ccea7ac7a Clean up custom javascript injection code; add helper method Add_tag 2016-10-14 10:53:55 -04:00
gnosygnu
48cb88f655 Evaluate optional args of missing templates 2016-10-13 14:30:45 -04:00
gnosygnu
d6aeb2e177 Evaluate template args for missing templates else en.w flags will sometimes be large 2016-10-13 14:14:50 -04:00
gnosygnu
c98404a8fe Add dirty implementation of custom javascript scripting 2016-10-13 12:09:43 -04:00
gnosygnu
b7f089a3ab Add builder command to create customized deletion_db for dansguardian wikis 2016-10-12 22:12:00 -04:00
gnosygnu
3e21b4e4db if option is set to use wikitext, but no wikitext is available, and html is available, just use html 2016-10-12 20:01:51 -04:00
gnosygnu
18e8f475ff add test / comment for 'index out of range error' for 0-argument parser functions 2016-10-12 19:15:39 -04:00
gnosygnu
d6e055de30 fix test for 'Next' / 'Previous' not working on Search 2016-10-12 17:21:11 -04:00
gnosygnu
2bbdff3ca6 fix 'Next' / 'Previous' not working on Search 2016-10-12 17:16:55 -04:00
gnosygnu
c1c7829d02 fix unique constraint error when generating html databases for few / lot wikis 2016-10-12 15:55:30 -04:00
gnosygnu
ab3bedcc9f if catpage link is missing, output page_id not ~{itm_text} 2016-10-12 15:47:47 -04:00