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

813 Commits

Author SHA1 Message Date
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
gnosygnu
78e8db95b9 Dev: Log page url not page ttl when missing wikidata doc [#351] 2019-02-10 09:05:31 -05:00
gnosygnu
e80dfc6adc Dev: Add synchronized block when loading lang [#330] 2019-02-10 08:33:58 -05:00
gnosygnu
571f0a2388 Dev: Release bry_bfr in Tag_html_wkr_basic [#351] 2019-02-05 22:37:45 -05:00
gnosygnu
ba40cf6c69 Htxt: Add comments for htxt [#320] 2019-02-04 23:32:12 -05:00
gnosygnu
cde0163ae7 Xtn.Cldr: Fix missing lang returning Cldr_name_file.Empty instead of null [#349] 2019-02-04 23:25:38 -05:00
gnosygnu
ebfd7a8352 Scribunto: Add 'dotted' form of file path [#353] 2019-02-04 22:11:45 -05:00
gnosygnu
cd56234e28 HTML Databases: Show redlinks for htxt [#320] 2019-02-03 23:48:23 -05:00
gnosygnu
4c47bb8793 HTML Databases: Allow Hzip_none for saving / loading images [#320] 2019-02-02 09:35:12 -05:00
gnosygnu
739d302850 Scribunto: Return ['en'] not [] if unknown language [#340] 2019-02-01 23:12:24 -05:00
gnosygnu
5daf74516a Dev: Convert file-names with underscores to keys; EX: En_gb -> en-gb [#349] 2019-02-01 22:51:04 -05:00
gnosygnu
c32a4ae253 Xtn.Popups: Update page title on Scrib_core when generating popup [#338] 2019-02-01 22:05:42 -05:00
gnosygnu
8b13930d30 Dev: Add comment to explain Id_xowa_wikidata [#348] 2019-01-31 23:46:14 -05:00
gnosygnu
46ec06986e Dev: Remove previous items with 'rm -rf' [#345] 2019-01-31 23:18:36 -05:00
gnosygnu
560e3c9685 Dev: Extend lock scope over Get_by_exact_id_or_null [#347] 2019-01-29 23:58:30 -05:00
gnosygnu
5fa8c20561 Scribunto: Change fetchForLanguages to return a key of languageCode, not integer-id [#331] 2019-01-27 21:25:30 -05:00
gnosygnu
4626203f16 Scribunto: Handle anypos flag [#337] 2019-01-27 21:18:20 -05:00
gnosygnu
0ecb31575f Wikidata: Exit early if invalid title [#333] 2019-01-21 00:38:16 -05:00
gnosygnu
aaa402119b Wikidata: Add 'P' to property link [#332] 2019-01-21 00:27:52 -05:00
gnosygnu
5d8a139903 Scribunto: Change default for fetchLanguageName from 'mw' to null [#331] 2019-01-21 00:16:23 -05:00
gnosygnu
f1c8fb3404 Scribunto: Allow strings and other primitive values for jsonEncode / jsonDecode [#329] 2019-01-13 17:33:35 -05:00
gnosygnu
8412119902 File: Suppress mismatch_exts for opus file_type [#295] 2019-01-10 23:26:37 -05:00
gnosygnu
8cd39534a6 Html: Change message from 'was last modified' to 'was last edited' [#321] 2019-01-10 23:12:09 -05:00
gnosygnu
85478ad7e7 Dev: Do not log 'inserting cat_link row' [#322] 2019-01-10 21:53:41 -05:00
gnosygnu
42d15b726c HTML Databases: Make plain-text parser thread-safe; Simplify code; Fix gallery not working [#320] 2019-01-06 21:27:33 -05:00
gnosygnu
2b4320b302 HTML Databases: Fix loading of plain-text pages; Normalize some behavior in page-sync code [#320] 2019-01-05 11:50:11 -05:00
gnosygnu
9e5a13f54f Category: Pass count into category msg [#316] 2019-01-01 18:18:07 -05:00
gnosygnu
e250331e97 HTTP Server: Retain new-line when processing form-data [#315] 2018-12-31 07:09:36 -05:00
gnosygnu
cc502c872f TemplateStyles: Add templatestyles to html.head [#314] 2018-12-30 23:25:29 -05:00
gnosygnu
e65d9268d6 Html: Change div_view_fmtr to be sitename aware [#313] 2018-12-29 10:12:28 -05:00
gnosygnu
b86228d6f2 Minor refactorings 2018-12-29 09:36:32 -05:00
gnosygnu
87cb6b5a01 Html: Do not hzip anchors with invalid href [#311] 2018-12-27 09:41:00 -05:00
gnosygnu
1f2b73699b Html: Standardize spacing between subpage entries [#308] 2018-12-27 08:46:53 -05:00
gnosygnu
1d54b8a756 Parser: Fix inconsistent html-encoding of {{#tag}} calls [#312] 2018-12-25 12:30:21 -05:00
gnosygnu
54ad1d697d Html: Replace underscores with spaces in subpages [#308] 2018-12-23 21:49:57 -05:00
gnosygnu
43ec6a8163 Css: Trim whitespace from start and end of css-related urls [#307] 2018-12-23 21:24:36 -05:00
gnosygnu
64cd27e9fe Search: Remove duplicate line in link_score builder [#305] 2018-12-20 23:40:40 -05:00
gnosygnu
166963d767 Parser: Treat empty class / alt keys as caption [#303] 2018-12-16 22:13:08 -05:00
gnosygnu
089661a0bc HTTP Server: Change url parsing logic to support slashes [#301] 2018-12-16 21:39:48 -05:00