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

851 Commits

Author SHA1 Message Date
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 '&#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
gnosygnu
fbe158537e Fix build failing due to mis-named _fxt class [#476] 2019-06-02 11:32:57 -04:00
gnosygnu
17da6dc17f Fix build failing due to mis-named _fxt class [#476] 2019-06-02 10:07:40 -04:00
gnosygnu
b48b6def4e Xtn.Translate: Add #translation function with no implementation [#445] 2019-05-26 09:18:11 -04:00
gnosygnu
ee03d79536 Scribunto: Set frame title for pages when invoking Scribunto code [#476] 2019-05-25 17:19:47 -04:00
gnosygnu
cca043dff6 Do not wipe table upon initialization, else will lose data after xomp_resume [#456] 2019-05-24 19:31:11 -04:00
gnosygnu
05e8c11338 Scribunto: Apply namespace argument only if in main namespace [#473] 2019-05-22 22:36:15 -04:00
gnosygnu
b74ca77786 ParserFunctions: Increase precedence of E over ln and other operations [#397] 2019-05-19 11:08:08 -04:00
gnosygnu
42dbaff1d2 Scribunto: Encode key / val in GetUrl [#465] 2019-05-18 17:22:42 -04:00
gnosygnu
648cd4944a Remove unused invk branch; Update tests [#460] 2019-05-12 23:42:42 -04:00
gnosygnu
c07e6e25b5 Parser: Change encoding of html id to encode fewer characters [#462] 2019-05-12 23:31:48 -04:00
gnosygnu
ba35901865 Parser: Parse html in internal link captions [#460] 2019-05-12 20:09:51 -04:00
gnosygnu
4d9072830c HTTP Server: Parse links with trailing slash [#459] 2019-05-11 23:45:51 -04:00
gnosygnu
c94090cd09 Parser: Add test for djvu [#440] 2019-05-11 11:00:08 -04:00
gnosygnu
31c6576b50 Parser: Handle UTF-8 characters in attribute keys / values [#457] 2019-05-11 10:55:37 -04:00
gnosygnu
3a748eea32 Add comment to clarify that NULL content should return NULL [#450] 2019-05-08 06:40:52 -04:00
gnosygnu
cf94f252e9 Make: Add xomp_stats to track time per page (and other attributes) [#456] 2019-05-08 06:35:10 -04:00
gnosygnu
4e920af183 Fix broken gmatch test; Fix broken maven build 2019-04-28 18:29:57 -04:00
gnosygnu
0f75a625db Update build files for new baselib [#413] 2019-04-28 18:06:57 -04:00
gnosygnu
f860edf064 Scribunto: Use Luaj for pattern-matching (instead of Java Regex) [#413] 2019-04-28 17:31:33 -04:00
gnosygnu
4a1b2e25c0 Parser: Comment|Terminate comment if new-line found [#437] 2019-04-27 09:00:30 -04:00
gnosygnu
f895259be6 Wikibase: Add entity-type for lexeme so that 2019-04 wikidata jsons don't fail 2019-04-26 22:27:36 -04:00
gnosygnu
42953aaa0f MassParse: Fix multi-threaded issues b/c wbase caches aren't locked 2019-04-26 22:26:54 -04:00
gnosygnu
74b63d5f08 Test: Add utility core.Page_url for easier logging; also do not run cfg during tests 2019-04-26 22:26:00 -04:00
gnosygnu
1cde843264 Project: Rename test classes for xowa_maven script 2019-04-26 22:24:44 -04:00
gnosygnu
4909799a67 Refactor: Rename *_test.java files to *_mock.java files [#427] 2019-04-07 21:26:54 -04:00
gnosygnu
f22a0cca43 Refactor: Remove unnecessary junit import [#427] 2019-04-07 21:14:13 -04:00
gnosygnu
09d9f93d20 Parser.Wikibase: Retrieve by label if pid is not present; also, return pid, not label [#354] 2019-04-07 12:27:50 -04:00
gnosygnu
623c7a129e Fix broken Luaj jar [#419] 2019-04-03 00:19:01 -04:00
gnosygnu
cc8b9810a7 Parser.Tidy: Add vnu as additional tidy engine [#417] 2019-04-01 23:50:26 -04:00
gnosygnu
31c7604f03 Scribunto: Add initial support for LuaJ StringLib as replacement for Regex [#413] 2019-04-01 22:34:45 -04:00
gnosygnu
2fc03f6211 Parser.TemplateStyles: Check if title is null [#416] 2019-04-01 00:13:30 -04:00
gnosygnu
581aa5123c Parser.Wikibase: Return null instead of empty string if invalid title passed to getEntityId [#415] 2019-04-01 00:00:05 -04:00
gnosygnu
8c1f30039b Css: Change css jump-to class from 'mw-navigation' to 'mw-head' [#394] 2019-03-30 10:08:20 -04:00
gnosygnu
61cc5e89a7 Release: v4.6.1.1903 [#404] 2019-03-26 22:52:55 -04:00
gnosygnu
7bcbdabbfc Htxt: Extract img.src data [#404] 2019-03-26 22:26:26 -04:00
gnosygnu
04c7326b1d Release: v4.6.0.1903 [#403] 2019-03-24 18:13:15 -04:00
gnosygnu
2dfa751958 Parser.Lnki: Treat keywords as caption if not File namespace or if keyless [#303] 2019-03-24 10:26:58 -04:00
gnosygnu
ef0300dfeb Make: Rewrite pagelink builder [#396] 2019-03-24 07:54:33 -04:00
gnosygnu
14d978e2af Html: Reformat HTML for jump-to div [#394] 2019-03-20 22:46:14 -04:00
gnosygnu
9b5d585750 Scribunto: Pull 0th argument if %1 is specified and 0 groups [#393] 2019-03-20 21:41:54 -04:00
gnosygnu
71232e4402 Gui: Fix Read / Edit / HTML not working by keyboard shortcuts / in personal wikis [#392] 2019-03-20 08:33:30 -04:00
gnosygnu
ab4cbbd3c1 Htxt: Do not redlink interwiki links [#391] 2019-03-20 02:58:37 -04:00
gnosygnu
ca8c4ce5a4 Htxt: Show Table of Contents [#390] 2019-03-20 02:42:45 -04:00
gnosygnu
82bee2e877 Html: Write full page url to log file, not just page title [#387] 2019-03-20 01:44:22 -04:00
gnosygnu
4f22548121 Transpiler: Misc whitespace changes 2019-03-20 01:15:42 -04:00
gnosygnu
ad317bd90e Html_dump: Lock calls to cat_core Select [#389] 2019-03-20 01:12:47 -04:00
gnosygnu
a94a9f0c7f Cite: Change Cite to follow MediaWiki behavior for super-scripting [#382] 2019-03-18 23:11:26 -04:00
gnosygnu
41deb3c0c1 Language: Update language list [#384] 2019-03-17 19:02:12 -04:00
gnosygnu
8ef5854eb7 Scribunto: Iterate regx by codepoint not by bytes [#383] 2019-03-16 23:50:26 -04:00
gnosygnu
7d747b6d28 Htxt: Register gallery images [#370] 2019-03-10 20:30:23 -04:00
gnosygnu
91a100f154 Parser: Fix anchorencode for trailing lnki [#373] 2019-03-10 10:09:08 -04:00
gnosygnu
dd750c6c4e Add classpath for upgraded icu47 [#237] 2019-03-10 10:00:01 -04:00
gnosygnu
992cde7e71 Update comments [#377] 2019-03-09 23:25:01 -05:00
gnosygnu
f40f227454 Htxt: Set src_bgn at start of block, not after video element [#369] 2019-03-07 07:14:26 -05:00
gnosygnu
790e82ac9e Scribunto: Classify 3 byte UTF-8 sequences as 1 Java char, not 2 Java chars [#377] 2019-03-04 23:16:43 -05:00
gnosygnu
beab14117e Parser.Lnke: Escape ampersand in external links [#371] 2019-03-03 21:20:34 -05:00
gnosygnu
a70131254f Math: Increment math uid [#375] 2019-03-03 16:39:47 -05:00
gnosygnu
5c724dc93d Timeline: Fix many minor timeline bugs [#368] 2019-03-03 15:33:04 -05:00
gnosygnu
3488084eca Scribunto: Use PHP.empty for noCommafy [#372] 2019-03-02 09:00:02 -05:00
gnosygnu
3fd759b020 Scribunto: Do not fail in ustring.find if negative bgn is large [#366] 2019-02-24 16:14:34 -05:00
gnosygnu
91cbb34fa5 Lang: Update comments for fallbacks [#330] 2019-02-17 20:14:16 -05:00
gnosygnu
c383f2a231 Language: Check if lang exists in fallback hash before adding it [#330] 2019-02-17 19:22:26 -05:00
gnosygnu
81ea765714 Dev: Downgrade 'no cldrName file exists for lang' to session.txt [#351] 2019-02-12 23:04:58 -05:00
gnosygnu
b822997638 Dev: Downgrade 'lang does not have a cldrName file' to session.txt [#351] 2019-02-12 22:52:02 -05:00
gnosygnu
be4d2fdfb4 Lang: Add more error message detail to track 'counts do not match' [#330] 2019-02-12 22:46:15 -05:00
gnosygnu
a5f8b6e482 Wikidata: Trim whitespace from start and end of qid in GetEntity [#363] 2019-02-12 22:19:52 -05:00
gnosygnu
21309d66be Wikidata: Trim whitespace from start and end of property keys [#361] 2019-02-11 22:36:28 -05:00
gnosygnu
298c83a806 Dev: Log page for messages of form 'wbase:could not find datatype for pid' [#351] 2019-02-10 14:13:17 -05:00
gnosygnu
2fa5d9bc03 Dev: Downgrade missing-cldrName-file message to session.txt [#351] 2019-02-10 09:10:55 -05:00