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

771 Commits

Author SHA1 Message Date
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
gnosygnu
af19381e3c Scribunto: Fix broken test for fetchLanguageNames 2018-12-09 22:00:07 -05:00
gnosygnu
3935d10b45 Gui: Fix Ctrl+E | Ctrl+E not activating debug expansion 2018-12-09 17:09:43 -05:00
gnosygnu
f151d7babf ParserFunctions: Do not add '/wiki/' for non-WMF wikis [#298] 2018-12-09 09:35:03 -05:00
gnosygnu
225959160c Wikibase: Fix getBestStatements to return normal if no preferred [#297] 2018-12-09 03:42:26 -05:00
gnosygnu
51e42d65ad File: Add opus file type [#295] 2018-12-05 23:31:00 -05:00
gnosygnu
333c507720 HTTP Server: Preliminary push of Search code to fix compile error [#289] 2018-11-27 07:07:35 -05:00
gnosygnu
8abb2cd0ee HTTP Server: Fix broken read tab; fix preview not working [#264] 2018-11-25 22:05:05 -05:00
gnosygnu
38bdc95acf HTTP Server: Support popups [#264] 2018-11-25 10:17:03 -05:00
gnosygnu
2e5994788f ParserFunctions: Support next / previous for day of week [#262] 2018-11-18 23:04:59 -05:00
gnosygnu
50d1fbfed1 Category: Add comment and change casting order [#269] 2018-11-14 23:28:26 -05:00
gnosygnu
41773e586b Parser: Change ttl.Page_db() to ttl.Full_db() [#277] 2018-11-14 22:57:34 -05:00
gnosygnu
dca2357067 HTTP Server: Support 'action=edit' / 'action=html' [#264]
Also:
* Change XOWA GUI to use 'action' query args, instead of xowa-cmd
* Remove nginx http_variables due to compiler warnings
2018-11-03 11:04:03 -04:00
gnosygnu
6e361414f5 HTTP Server: Use url-encoded article link [#254] 2018-11-03 01:19:33 -04:00
gnosygnu
5137eda4fb HTTP Server: Ignore nginx http headers [#255] 2018-11-02 20:58:51 -04:00
gnosygnu
a672fd8340 Cfg: Escape textarea content [#250] 2018-11-01 23:27:19 -04:00
gnosygnu
0f89d3aa3a TemplateStyles: Handle empty files 2018-10-21 22:25:11 -04:00
gnosygnu
4cadd6b89b Wikibase: Support bcp in language node 2018-10-21 21:50:17 -04:00
gnosygnu
62f41ebbd3 CldrNames: Handle case-sensitive file systems 2018-10-14 11:13:37 -04:00
gnosygnu
a8f6fd0fb0 Template_styles: Add support for template styles 2018-10-12 23:16:31 -04:00
gnosygnu
e78382a8ac Cldr: Add initial support for cldr 2018-08-05 21:21:40 -04:00
gnosygnu
be3979c5af General: Remove text database support 2018-07-11 07:53:27 -04:00
gnosygnu
fe0d1abde5 Wikibase: Add datatype for lexeme 2018-07-08 09:27:29 -04:00
gnosygnu
d35adffa31 Wikibase: Fix import failing due to NPE on wbase_db 2018-07-08 09:26:23 -04:00
gnosygnu
d98639c18a Scribunto: Handle fake capturing groups from balanced regex 2018-07-08 07:51:43 -04:00
gnosygnu
f85cf8ad77 ParserFunctions: Cache ifexist result of common wiki in current wiki 2018-07-03 08:42:02 -04:00
gnosygnu
eb9cca66ed Wikibase: Fix regex for balanced pairs 2018-07-02 22:56:26 -04:00
gnosygnu
070eb3c53a Wikibase: Check for null in getEntityId when title is invalid 2018-07-01 08:45:49 -04:00
gnosygnu
372cd3958d Wikibase: Fix script error 'libraryUtil.lua:13 bad argument #1 to message.newRawMessage' on sever dozen military pages 2018-07-01 07:55:55 -04:00
gnosygnu
10c39e4c76 Wikibase: Add basic support for getSetting 2018-07-01 07:15:13 -04:00
gnosygnu
341d2e13a4 Wikibase: Add getReferencedEntityId; refactor some wikibase code 2018-06-24 08:36:34 -04:00
gnosygnu
6348aa6177 Wikibase: Add entityExists 2018-06-23 11:07:35 -04:00
gnosygnu
29a8fb7824 Wikibase: Add isValidEntityId 2018-06-23 10:52:47 -04:00
gnosygnu
fbe19f4614 Wikibase: Do not fail to run util.site_meta if wikimedia api returns nothing 2018-04-17 17:27:28 -04:00
gnosygnu
24aefd43e4 Html_dump: Fix repeating links on many de.w pages 2018-04-17 07:19:37 -04:00
gnosygnu
3923df5e19 HTTP Server: Fix random deadlocks when serving multiple concurrent requests (writing json) 2018-03-13 22:10:39 -04:00
gnosygnu
5e668b96c7 HTTP Server: Fix random deadlocks when serving multiple concurrent requests 2018-03-11 21:28:29 -04:00
gnosygnu
93bac15244 Graph: Support version 2 graphs 2018-03-03 08:52:14 -05:00
gnosygnu
54d74b0acd JsonConfig: Add Localize function for tabular data 2018-02-18 08:16:43 -05:00
gnosygnu
8967ca810a Wikibase: Revert script error '=Module:Cycling race:3070 attempt to index ? (a nil value)' on 1 de.w page (test) 2017-12-31 07:49:07 -05:00
gnosygnu
af3e8aef00 Wikibase: Fix script error '=Module:Cycling race:3070 attempt to index ? (a nil value)' on 1 de.w page 2017-12-30 09:50:18 -05:00
gnosygnu
2550a87a60 JsonConfig: Fix script error '=Module:Data:8 attempt to index ? (a nil value)' on a dozen de.w pages 2017-12-28 08:22:53 -05:00
gnosygnu
f999febe6d Parser: Fix doubling up of images 2017-12-20 06:31:31 -05:00