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

1018 Commits

Author SHA1 Message Date
gnosygnu
891cf53228 Dev: Rename 'Pxd_itm_tz_abbr .java' to 'Pxd_itm_tz_abbr.java' (remove trailing space) [#676] 2020-03-04 08:00:51 -05:00
gnosygnu
f73164d55e Wikibase: Add extra-case to RenderSnaks for key=pid,val=snaks [#666] 2020-03-01 18:48:08 -05:00
gnosygnu
3355d03c44 Wikibase: Use 2nd argument to GetSiteLinkPageName for wiki name [#665] 2020-02-19 08:39:43 -05:00
gnosygnu
bae9ba9e7a Parser: Return length of 0 for empty arrays [#668] 2020-02-17 08:47:34 -05:00
gnosygnu
a5cbc4ede9 ParserFunctions: Add constructor for future use [#661] 2020-02-17 08:42:25 -05:00
gnosygnu
da87b17902 ParserFunctions: Comment out unused variables [#661] 2020-02-17 08:34:29 -05:00
gnosygnu
bfce37f0ba ParserFunctions: Add PHP implementation of strtotime [#661] 2020-02-08 21:58:12 -05:00
gnosygnu
3e9bc6d93a Category: Parse year as yyyy not YYYY [#664] 2020-02-05 08:15:19 -05:00
gnosygnu
775bff3bac Wikibase: Do not fail for FormatStatements and getPropertyOrder [#658] 2020-02-02 21:02:11 -05:00
gnosygnu
bc2beba148 Pages: Do not escape <pages> if invalid attributes [#656] 2020-01-19 14:28:22 -05:00
gnosygnu
af337493af Pages: Forward unknown args to header template [#635] 2020-01-19 13:49:24 -05:00
gnosygnu
ca8afe657e Pages: Treat empty-string as non-null for from / to [#657] 2020-01-19 10:44:38 -05:00
gnosygnu
57ad8e459a ParserFunctions: Fix some comments for meridian [#648] 2020-01-18 16:47:13 -05:00
gnosygnu
763c7b52b7 ParserFunctions: Support timezone / meridian formats [#648] 2020-01-18 16:39:16 -05:00
gnosygnu
9cb60f2540 Redirect: Add span for 'mw-redirected' [#642] 2020-01-14 06:31:23 -05:00
gnosygnu
c6bca54d90 Hdump: Try to eliminate dupes by updating Html_uid for lnki [#643] 2020-01-12 11:00:11 -05:00
gnosygnu
374de22699 ParserFunctions: Set day to last day of month if only Year-Feb passed [#644] 2020-01-12 09:50:01 -05:00
gnosygnu
2dee585fc1 Pages: Treat empty-string as null for fromsection and tosection [#650] 2020-01-11 21:41:37 -05:00
gnosygnu
898701131d Css: Skip comments when importing CSS [#652] 2020-01-11 09:40:34 -05:00
gnosygnu
278d55cd62 Gallery: Apply Math.Ceil to packed gallery [#640] 2020-01-08 22:53:37 -05:00
gnosygnu
5e2ce08abb Xomw: Standardize static classes [#633] 2020-01-05 08:52:37 -05:00
gnosygnu
5aec368f8d Lang: Support explicit plural indexes and rules in other languages [#633] 2020-01-04 04:14:36 -05:00
gnosygnu
5f1d9c6f15 Category: Group category members under same upper-cased letter [#637] 2019-12-14 19:35:13 -05:00
gnosygnu
e0de779e1d Gallery: Enable packed-hover for galleries [#631] 2019-12-08 08:50:07 -05:00
gnosygnu
bc5947507f XomwTemplateParser: Start porting over newChild [#632] 2019-12-08 08:30:28 -05:00
gnosygnu
7e2f832c33 Refactor: Rename Xoa_ttl.Full_txt_w_ttl_case to Full_txt [#626] 2019-12-08 08:24:47 -05:00
gnosygnu
357c725798 Add missing segments to subtitle_caption; also, do not url-encode caption [#626] 2019-12-07 17:18:48 -05:00
gnosygnu
694c3bb133 XomwTemplateParser: Initial port of PPFrame_Hash [#632] 2019-12-07 08:13:52 -05:00
gnosygnu
3285a3c87d Xtn.Pages: Do not show missing pages in subpages bread-crumb trail (also, proper-case titles) [#626] 2019-12-01 11:43:33 -05:00
gnosygnu
520a73537f Xtn.Pages: Do not escape XML in header previous / current / next links [#624] 2019-11-30 17:15:23 -05:00
gnosygnu
9d8ab5d206 Xtn.Pages: Treat header=0 as false [#622] 2019-11-28 09:16:16 -05:00
gnosygnu
605038d8c6 Release: v4.6.5.1911 [#619] 2019-11-25 20:24:12 -05:00
gnosygnu
ae484a8234 Pagebanner: Add extra space after hasPosition or some pageBanners will omit wpb-banner-image [#618] 2019-11-25 16:43:11 -05:00
gnosygnu
cb3b78895c Html_dump: Add no-op related commits [#547] 2019-11-25 16:31:45 -05:00
gnosygnu
38f670649b Html_dump: Show images with plus symbol [#547] 2019-11-25 16:31:02 -05:00
gnosygnu
9e97a7ea9f Html_dump: Show images for files with url-encoded characters (space, symbols, non-ascii) [#547] 2019-11-25 05:26:39 -05:00
gnosygnu
59985227fb Wikibase: Change siteGlobalID to wiki-specific abbreviation, not wikidatawiki [#614] 2019-11-23 17:32:18 -05:00
gnosygnu
c307946bd2 Scribunto: Synchronize latest of mw.wikibase.entity.lua [#614] 2019-11-23 05:30:44 -05:00
gnosygnu
b2864f8c6a Scribunto: Cache results of title.exists [#597] 2019-11-18 06:25:57 -05:00
gnosygnu
41a521850b TemplateStyles: Add unit test for single-word paragraph bug [#616] 2019-11-18 05:25:22 -05:00
gnosygnu
20c1e32ff2 PageBanner: Fix NullPointer Exception [#610] 2019-11-17 21:02:41 -05:00
gnosygnu
90363fb9fa Template_styles: Close block opened by template-styles [#616] 2019-11-17 20:59:18 -05:00
gnosygnu
46aab7944d Pagebanner: Fix TOC not working from header; also, hide TOC always, not just on 2nd+ load [#610] 2019-11-17 20:14:44 -05:00
gnosygnu
5ddf50d5b5 Search: Wait for page to load before displaying search results [#606] 2019-11-17 15:57:35 -05:00
gnosygnu
e2aa551feb Search: Fix no search results for en.d [#606] 2019-11-17 14:30:49 -05:00
gnosygnu
11810c4fff HTTP_Server: Fix broken test by adding manual override for wiki.Installed [#613] 2019-11-17 14:28:37 -05:00
gnosygnu
e9024e057f HTTP Server: Show error page when navigating to wikis which are not installed [#613] 2019-11-13 08:43:34 -05:00
gnosygnu
9483b56121 Pagebanner: Disable toc if pagebanner html exists; also, sync PageBanner css [#610] 2019-11-11 06:27:49 -05:00
gnosygnu
8653e665cc HTTP_Server: Add 2 line breaks to redirect response for proxy servers [#600] 2019-11-05 06:04:19 -05:00
gnosygnu
dbdc558ed5 Gui: Remove unused serialization code for history items [#608] 2019-11-03 19:49:54 -05:00
gnosygnu
af9d6c3a92 Gui: Fix NPE when reloading a MISSING_PAGE at start-up [#608] 2019-11-03 17:45:30 -05:00
gnosygnu
de1b9a3991 Pagebanner: Update css classes for 'wpb-banner-image-panorama' [#610] 2019-11-03 17:40:50 -05:00
gnosygnu
d908d4f8b5 HTTP Server: Redirect xwiki urls to different wikis [#600] 2019-11-03 11:43:09 -05:00
gnosygnu
79bdab7946 HTTP Server: Redirect xwiki urls to different wikis [#600] 2019-11-03 11:42:28 -05:00
gnosygnu
cb3f915cb2 Wikibase: Redirect formatValue and formatValues to renderSnak and renderSnakValues [#593] 2019-10-20 13:25:19 -04:00
gnosygnu
a453ebd4cb Wikibase: Reorganize Wikibase classes; add some basic support for formatters [#593] 2019-10-20 09:28:28 -04:00
gnosygnu
7971f71dc3 Category: Add basic enums for 'numeric' and 'identity' [#601] 2019-10-15 05:15:50 -04:00
gnosygnu
f8bbdb1727 Wikibase: Combine same references from Wikidata [#596] 2019-10-15 04:30:14 -04:00
gnosygnu
bc976ac300 ParserFunctions: Add ParserFunction for PageLanguage [#595] 2019-10-13 16:52:32 -04:00
gnosygnu
c67970b5b9 Parser: Do not assume that Name_ui_w_colon matches Name [#594] 2019-10-13 11:30:40 -04:00
gnosygnu
866debd51d Scribunto: Add HashLibrary [#589] 2019-10-12 15:07:21 -04:00
gnosygnu
9f0cfc27bb Parser: Auto-inline dangling references tag [#583] 2019-10-06 08:40:26 -04:00
gnosygnu
a10c2cd1dc Parser: Auto-close dangling references tag [#583] 2019-10-05 12:41:48 -04:00
gnosygnu
4955748f6d Wikibase: Serialize 'references' [#587] 2019-10-03 06:34:11 -04:00
gnosygnu
73eb42c0ba Score: Clean-up test [#577] 2019-10-03 06:30:22 -04:00
gnosygnu
fca507568f Score: Check for missing src for score generated images [#577] 2019-10-02 05:51:21 -04:00
gnosygnu
1bffdadbaf Scribunto: Make table accessible from datawrapper in mw.lua [#586] 2019-09-29 23:21:08 -04:00
gnosygnu
bb86b026fe Html_dump: Include namespace+title in redlink ttl, not just title [#568] 2019-09-29 08:35:50 -04:00
gnosygnu
88e0398696 Html: Add 'lang=page_lang' to html and div tag [#576] 2019-09-28 16:39:59 -04:00
gnosygnu
597c138b56 Parser: Do not reset attributes when tag has more than 16 attributes (comment) [#579] 2019-09-27 21:09:55 -04:00
gnosygnu
fdd05c99a9 Parser: Do not reset attributes when tag has more than 16 attributes [#579] 2019-09-27 20:39:09 -04:00
gnosygnu
742e61b718 Hdump: Add missing Xoh_hdump_wkr [#584] 2019-09-27 20:24:32 -04:00
gnosygnu
1caeea5705 Xtn.Graph: Do not dump build-path for graph [#553] 2019-09-25 23:38:02 -04:00
gnosygnu
24ea3793a2 Xtn.Imap: Do not dump build-path for imap [#553] 2019-09-25 23:37:59 -04:00
gnosygnu
ec9b3ee442 Xtn.Hiero: Do not dump build-path for hiero [#553] 2019-09-25 23:37:55 -04:00
gnosygnu
ea28172885 Parser: Add hdump wkrs [#553] 2019-09-25 23:37:52 -04:00
gnosygnu
d362597d8f Parser: Do not dump build-path for imgs [#553] 2019-09-25 23:37:49 -04:00
gnosygnu
924b5fd17b Parser: Add parser-related test methods [#553] 2019-09-25 23:37:45 -04:00
gnosygnu
b980351989 Parser: Add Bfr to hdoc_wkr [#553] 2019-09-25 23:37:42 -04:00
gnosygnu
518605ece1 Parser: Rename Hzip types to Hdb_htxt and Hdb_hzip [#553] 2019-09-25 23:37:39 -04:00
gnosygnu
115ae8139e Parser:Add extra method overload to Log_file [#553] 2019-09-25 23:37:35 -04:00
gnosygnu
b17cb05edf Parser: Move alt attribute earlier in tag [#553] 2019-09-25 23:37:32 -04:00
gnosygnu
a082e3cf5d Parser: Add Init_once for wiki [#553] 2019-09-25 23:37:29 -04:00
gnosygnu
5b2db5badf Parser: Add To_str for Html_init [#553] 2019-09-25 23:37:24 -04:00
gnosygnu
32cb332b18 Wikidata: Remove unnecessary novalue / somevalue [#553] 2019-09-25 23:37:21 -04:00
gnosygnu
23cbefdeb8 Xtn.Dpl: Move Dpl_page_sorter to separate file [#553] 2019-09-25 23:37:18 -04:00
gnosygnu
9e302b19b5 Parser: Trim url-encoded space from the end of a title [#567] 2019-09-07 08:23:46 -04:00
gnosygnu
ce5fd232d8 Html_dump: Count 0 byte entries as 1 byte [#561] 2019-09-04 20:33:27 -04:00
gnosygnu
cda21d987f Parser: Do not reuse byte array when trimming bfr [#562] 2019-09-02 22:30:08 -04:00
gnosygnu
8f029f479b Wikibase: Show 'unknown value' / 'no value' instead of 'somevalue' / 'no value' [#529] 2019-09-02 15:33:48 -04:00
gnosygnu
d61fd33a87 References: Ignore follow items when writing primary reference [#555] 2019-09-01 10:29:55 -04:00
gnosygnu
1873c7c5f8 Wikibase: Fix typo on 'addSiteLinksUsage' and disable fineGrainedLuaTracking [#551] 2019-08-31 15:57:40 -04:00
gnosygnu
88dfc857bd Wikibase: Return label and language, not just label [#407] 2019-08-31 08:57:25 -04:00
gnosygnu
9bc0c2c75d Wikibase: Add namespacing to Scribunto libraries [#551] 2019-08-28 22:56:11 -04:00
gnosygnu
2598dee844 Xtn.Dpl: Change dynamicPageList to always get categories from cache [#556] 2019-08-25 21:39:21 -04:00
gnosygnu
42842f0bcc Category: Replace spaces with underscores in category name [#557] 2019-08-22 07:07:15 -04:00
gnosygnu
a7029f8cf1 Search: Do not fail with error when searching in wikidata / commons [#539] 2019-08-21 21:43:44 -04:00
gnosygnu
8c55d2406a Wikibase: Fix 'Module:Infobox/Cycliste:218 attempt to call nil' on many fr.w pages [#551] 2019-08-19 22:21:22 -04:00
gnosygnu
0295d816fd HTTP Server: Handle both 'file:///cur_root' and 'file:///bad_root/' [#524] 2019-08-16 02:30:10 -04:00
gnosygnu
80f4a0fbf5 Category: Fix 'A table in the database is locked' when importing en.d [#543] 2019-08-14 22:58:46 -04:00
gnosygnu
7f3ab5f381 HTTP_Server: Ignore other request headers (Chrome incognito related) [#524] 2019-08-14 21:52:25 -04:00
gnosygnu
5ac949e8c0 HTTP Server: Generalize file:///root logic even more [#524] 2019-08-14 21:51:50 -04:00
gnosygnu
1e254caa79 Html_dump: Synchronize Xol_name_mgr [#549] 2019-08-14 08:03:20 -04:00
gnosygnu
41e9fc1287 Release: v4.6.4.1908 2019-08-14 08:01:00 -04:00
gnosygnu
be5c65c24c User.Cfg: Ignore duplicate keys in user cache [#534] 2019-08-11 14:28:51 -04:00
gnosygnu
e213d123f8 Search.Suggest: Move highlighting code out of cache pathway to js_wtr [#538] 2019-08-11 08:33:17 -04:00
gnosygnu
dee491a684 HTTP Server: Remove trailing new line else POST log messages will show up with extra blank line [#537] 2019-08-11 08:02:10 -04:00
gnosygnu
2ef6211e87 HTTP Server: Fix NullPointerException when restarting HTTP_Server and going directly to search suggest [#537] 2019-08-11 08:00:49 -04:00
gnosygnu
6449368800 HTTP_Server: Move call to fsys_hack for mild performance improvement [#524] 2019-08-10 17:35:45 -04:00
gnosygnu
06afe7a7b1 Html_dump: Add configuration to show WIKITEXT / HTML indicators in top-right [#525] 2019-08-10 17:17:50 -04:00
gnosygnu
a421703fb1 HTTP_Server: Generalize file:///.*/file/.* logic [#524] 2019-08-10 08:17:39 -04:00
gnosygnu
19c50b94be Release: v4.6.3.1908 2019-08-04 23:35:48 -04:00
gnosygnu
b350d95206 HTTP Server: Add search-suggest [#489] 2019-08-04 21:25:04 -04:00
gnosygnu
f5abfa11da HTTP Server: Append url_args to page [#489] 2019-08-03 17:33:04 -04:00
gnosygnu
66039fc9b3 HTTP_Server: Temporary fix to handle broken links and images in 2019-05 enwiki [#524] 2019-08-03 10:04:11 -04:00
gnosygnu
a1da02a99f HTTP_Server: Add initial implementation for post-processing HTML to change to /fsys/ etc [#524] 2019-08-03 10:00:40 -04:00
gnosygnu
a51906bf4b Make: Update wiki domains for 2019-06 Wikidata [#528] 2019-07-31 23:31:20 -04:00
gnosygnu
f38930b63a Xomw.Preprocessor: Remove deleted classes [#508] 2019-07-29 21:41:58 -04:00
gnosygnu
0854cf9ba1 Xomw.Preprocessor: Integrate rest of Preprocessor_Hash tests [#508] 2019-07-28 10:42:02 -04:00
gnosygnu
9dcc571fc5 Release: 4.6.2.1907 2019-07-25 21:51:41 -04:00
gnosygnu
dea0556df5 Xomw.Preprocessor: Add XomwPPDStackElement [#508] 2019-07-24 22:17:21 -04:00
gnosygnu
5c8b70fd76 Mass_parse: Use page_cache hashCode, not wiki hashCode [#514] 2019-07-22 22:38:17 -04:00
gnosygnu
4547fa541f Dev: Move XomwEnv.NewTest to XomwEnv_fxt.NewTest [#512] 2019-07-22 21:57:47 -04:00
gnosygnu
9bc2bd400c Dev: Rename test files to use '_tst' and '_fxt' convention [#512] 2019-07-22 21:51:24 -04:00
gnosygnu
0181a42d3d Xomw.Preprocessor: Add initial unit tests for DOM [#508] 2019-07-21 22:09:21 -04:00
gnosygnu
989ccde83a Sqlite: Add option for read-only detection [#509] 2019-07-19 07:14:24 -04:00
gnosygnu
7f76d8128d Xomw.Preprocessor: Start integrating Preprocessor_Hash [#508] 2019-07-11 23:17:06 -04:00
gnosygnu
b65fda764f Luaj: Support PCRE character definitions for Luaj Regex [#502] 2019-07-01 14:09:31 -04:00
gnosygnu
5055f82d21 Scribunto: Print dbg arguments to console [#506] 2019-06-30 14:36:40 -04:00
gnosygnu
e3dce04680 Scribunto: Adjust index position correctly for ucs-2 strings [#506] 2019-06-30 14:28:46 -04:00
gnosygnu
0bfacb2ea5 Scribunto: Add frame_ttl to all Xot_invk_tkn [#503] 2019-06-29 22:29:15 -04:00
gnosygnu
9da8b4dde8 Add gplx.xowa.mediawiki source to gplx.xowa [#508] 2019-06-29 10:18:43 -04:00
gnosygnu
5d886501e8 Language: Escape left-to-right / right-to-left marks in names.json ('\xE2\x80\x8E' to '\u200E') [#501] 2019-06-23 21:35:21 -04:00
gnosygnu
d4a28d3ffe Wikibase: Add qualifiers-order to GetEntityStatements [#374] 2019-06-22 21:53:07 -04:00
gnosygnu
2526b677fa Scribunto: Format date correctly for years with less than 4 digits (EX: +0065 -> 65 x> 2065) [#500] 2019-06-22 17:19:58 -04:00
gnosygnu
334bb0a6d0 Xtn.SyntaxHighlight: Add 'class=pretty-print lang-{lang_name}' if 'lang' is passed [#498] 2019-06-22 08:43:13 -04:00
gnosygnu
cbae5d55bb Xtn.SyntaxHighlight: Highlight lines if 'highlight' is passed but 'line' is not [#498] 2019-06-22 08:17:11 -04:00
gnosygnu
a01e7409eb Mass_parse: Change page_cache to LRU cache [#483] 2019-06-21 23:02:49 -04:00
gnosygnu
0cfb0b19ad Parser: Do not parse '&amp;#x;' as byte 0 [#494] 2019-06-16 15:38:56 -04:00
gnosygnu
d812b21dec Add comment for /LocalNames/ support [#388] 2019-06-11 07:10:29 -04:00
gnosygnu
70d845f438 Xtn.Cldr: Check CldrNames for IsKnownLanguageTag [#388] 2019-06-11 06:49:06 -04:00
gnosygnu
8ab9bc5444 Category: Replace UNION with sequential loading from each catlink db [#268] 2019-06-09 06:58:16 -04:00
gnosygnu
c459454da3 Allow hxtn command to be run multiple times during xomp_resume [#482] 2019-06-07 21:50:18 -04:00
gnosygnu
c7f54287af Html: Change self-link pages from <b> to <a class='mw-selflink selflink'> [#478] 2019-06-02 21:11:51 -04:00
gnosygnu
3852d4762b HttpServer: Navigate to an error page for invalid titles like Earth] [#480] 2019-06-02 18:10:48 -04:00
gnosygnu
43cc4b15e8 Json: Parse surrogate-pairs correctly in unicode-escaped strings [#487] 2019-06-02 16:43:39 -04:00
gnosygnu
641a17621f Json: Skip forward by 5 characters, not 4 for unicode sequences [#486] 2019-06-02 14:31:04 -04:00
gnosygnu
a6ce48fffa Remove trailing whitespace [#482] 2019-06-02 13:05:13 -04:00
gnosygnu
491d1905c9 Scribunto: Ignore snak if novalue [#481] 2019-06-02 13:04:49 -04:00
gnosygnu
3d9491e2de Xtns.TemplateStyles: Cache TemplateStyles for HTML databases [#482] 2019-06-02 12:50:56 -04:00