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

795 Commits

Author SHA1 Message Date
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
gnosygnu
8332509b60 Wikibase: Add preliminary classes for getLabelByLanguage 2017-12-05 05:12:51 -05:00
gnosygnu
4182c18b1d Parser: Parse image.link args with with xwiki, namespace, but no title 2017-12-02 10:19:02 -05:00
gnosygnu
e30828a270 Scribunto: Fix script error 'NullPointerException' on a few en.w pages 2017-11-29 23:10:44 -05:00
gnosygnu
539a6fad6a Wikibase: Support hiwikivoyage 2017-11-29 06:17:58 -05:00
gnosygnu
698ee7451d Wikibase: Support tabular-data 2017-11-29 06:12:30 -05:00
gnosygnu
3126b46faf Wikibase: Add getBestStatements / getEntityUrl; ParserFunctions: Improve support for relative month 2017-11-29 06:04:23 -05:00
gnosygnu
66877212bf Embeddable: Create core dbs in proper subdirectory 2017-10-23 20:50:50 -04:00
gnosygnu
1336d44f34 Embeddable: Create core dbs in proper subdirectory 2017-10-23 20:50:22 -04:00
gnosygnu
dc22c15895 Embeddable: Download interwiki map 2017-10-23 17:44:33 -04:00
gnosygnu
ecc27daec8 Scribunto: Trim whitespace for keys 2017-10-23 08:18:23 -04:00
gnosygnu
3157551d1d Refactor: Clean up Int_ classes 2017-10-22 08:07:00 -04:00
gnosygnu
d270cce881 Refactor: Clean up Type_ classes 2017-10-08 18:24:59 -04:00
gnosygnu
209601744e Graph: Add stripComments and removeTrailingCommas 2017-09-24 17:02:32 -04:00
gnosygnu
e9381c9b38 Embeddable: Append categories to HTML 2017-09-18 21:43:02 -04:00
gnosygnu
ea3f0ffbcc App: Release v4.5.15.1709 2017-09-17 22:39:30 -04:00
gnosygnu
4ca98f7333 App: Release v4.5.15.1709 2017-09-17 22:38:44 -04:00
gnosygnu
131c2f696c Scribunto: Return null if integer key is not found 2017-09-16 21:36:50 -04:00
gnosygnu
5e7263ec5c Wikibase: Add dinwiki and hiwikiversity 2017-09-10 08:22:00 -04:00
gnosygnu
a50031b261 Wikibase: Add id to wikibase data table 2017-09-04 11:38:10 -04:00
gnosygnu
4705592259 Hzip: Compress and decompress recent xowa_alt_text 2017-09-04 10:05:54 -04:00
gnosygnu
b101b356ad Scribunto: Evaluate template-args when expanding template, not separately afterwards 2017-09-04 08:30:33 -04:00
gnosygnu
9f6ef68bfa Http_server: Ignore all special pages if empty-string is passed to --http_server.special_pages_safelist 2017-08-04 22:02:21 -04:00
gnosygnu
7c2e3f7295 Http_server: Do not fail if Search has invalid title characters 2017-07-24 21:03:07 -04:00
gnosygnu
1db737405f Html: Add option to hide xowa-alt in html db 2017-07-23 10:23:46 -04:00
gnosygnu
1dbe526051 Http_server: Add special_pages_safelist 2017-07-22 08:25:08 -04:00
gnosygnu
c1e66a7e7d Html: Fix last_modified_msg not updating 2017-07-11 21:11:34 -04:00
gnosygnu
df63a6ff6b Html: Add customizable footer 2017-07-08 17:02:17 -04:00
gnosygnu
807c911cdf Http_server: Do not override command-line port with config port 2017-07-07 20:17:49 -04:00
gnosygnu
0eabb64abc Http_server: Fix full-text search not working 2017-07-05 06:55:36 -04:00
gnosygnu
f1da174c5c Night-mode: Allow global user-overrides for night-mode css / logo 2017-06-25 15:47:30 -04:00
gnosygnu
67fc90d43f Night-mode: Allow custom night-mode logos per wiki 2017-06-25 09:19:29 -04:00
gnosygnu
31bc573a29 Table_of_contents: Deprecate id='toctitle' in favor of class='toctitle' 2017-06-17 19:18:39 -04:00
gnosygnu
abe79be6cb Categories: Add colon to Categories if page_grouping is disabled 2017-06-17 11:02:22 -04:00
gnosygnu
0765beb04a Table_of_contents: Ignore NOTOC commands at template level 2017-06-17 10:44:08 -04:00
gnosygnu
e2e68342e0 Table_of_contents: Ignore NOTOC commands at template level 2017-06-17 10:34:29 -04:00
gnosygnu
a439f53c1a ParserFunctions: Fix broken test for {#tag} and apos 2017-06-07 22:05:48 -04:00
gnosygnu
c2dca930f3 Embeddable: Handler null pointer exceptions for <gallery> when no de.wikipedia.org-file-core.xowa file is available 2017-06-06 22:05:28 -04:00
gnosygnu
e687f23586 ParserFunctions: Fix broken navboxes on many fr.v pages 2017-06-01 23:15:35 -04:00
gnosygnu
d521299987 Embeddable: Handle redirects 2017-05-29 14:43:13 -04:00
gnosygnu
f129344506 Scribunto: Fix 'gplx.Err: bad argument: nil: idx=0 len=0' on a few dozen fr.u pages 2017-05-28 09:28:30 -04:00
gnosygnu
c4a2bbcd95 Parser.Xml: Do not print <meta> and <link> tags 2017-05-28 09:13:49 -04:00
gnosygnu
633fb2979f Threading: Add 'redirectTarget' to Scrib_lib_title 2017-05-27 21:53:21 -04:00
gnosygnu
2776790369 Threading: Fix rare multi-thread error for Hiero parser 2017-05-26 06:09:10 -04:00
gnosygnu
3b4a3a5af5 Parser: Show page name for [[Media:]] links without caption (XOWA-122) 2017-05-20 09:11:41 -04:00
gnosygnu
ffe4c0d094 Scribunto: Fix script error 'NullPointerException' on 1 en.w page 2017-05-11 22:08:42 -04:00
gnosygnu
bee71c22fe Page_sync: Sync recently-created pages 2017-05-07 11:47:53 -04:00
gnosygnu
af2d0c51db Release: Release v4.5.2.1704 2017-04-27 19:25:04 -04:00
gnosygnu
b43ec6d2e2 Parser.Date: Parse times with format of 'm/d/yyyy' where d == 13 2017-04-25 07:29:38 -04:00
gnosygnu
efae8aff51 Search: Include pages with scores of 10,000 or less 2017-04-24 21:23:00 -04:00
gnosygnu
ea3cb238fd Scribunto.Regex: Reinstate codepoint calculations for ustring.find 2017-04-24 21:16:20 -04:00
gnosygnu
0e3af23c87 Scribunto.Regex: Do not exit early if regx_proc fails match 2017-04-24 07:08:08 -04:00
gnosygnu
4a1546b9a2 Scribunto.Regex: Add only first match for mw.ustring.match, not all of them 2017-04-23 17:31:20 -04:00
gnosygnu
1d6b3779a0 Scribunto: Fix script error '=Module:zh-glyph:120 attempt to concatenate nil and string' on a few hundred en.d pages for Chinese chars 2017-04-23 09:47:58 -04:00
gnosygnu
eaa83db644 Mass_parse: Embed score in full-text search index 2017-04-22 09:40:15 -04:00
gnosygnu
53c3400366 Scribunto.Regex: If gsub_replace lua proc returns nothing, do not replace with empty string 2017-04-22 08:35:53 -04:00
gnosygnu
fb934457f9 Xomw: Add commafy 2017-04-18 21:38:55 -04:00
gnosygnu
80f572a06c Parser.Xml: Fix script error 'Unable to convert section' on 1 en.w page 2017-04-10 21:32:56 -04:00
gnosygnu
d9377b5162 Parser.Xnde: Add better warning message for dangling extensions ('<ref>a</ref') 2017-04-10 21:20:40 -04:00
gnosygnu
60d752723b Download_central: Comment support for wikitext downloads 2017-04-09 22:13:57 -04:00
gnosygnu
aaa8ebadd7 Download_central: Add support for wikitext downloads 2017-04-09 22:08:54 -04:00
gnosygnu
00318ce8cf Scribunto.Common: Fix script error 'Country data' on many en.w game pages 2017-04-09 09:42:51 -04:00
gnosygnu
be0d09aaff Xomw: Add minor changes to XomwMessage / XomwLanguage 2017-04-09 08:43:51 -04:00
gnosygnu
ea46354cf8 Parser.Table: Close previous paragraph when starting table 2017-04-08 20:56:12 -04:00
gnosygnu
680e6b88d6 Mass_parse: Do not fail when generating full-text search indexes 2017-04-08 08:14:21 -04:00
gnosygnu
5fef0af3a5 Personal_wikis: Create personal wikis with latest search database schema 2017-04-06 22:37:30 -04:00
gnosygnu
0d1b478aa2 Xomw: Add paramVal methods to XomwMessage 2017-04-05 07:07:27 -04:00
gnosygnu
1ba6f094e3 Wikibase.Scribunto: Support #statements keyword 2017-04-04 06:02:51 -04:00
gnosygnu
26a56950cd Wikibase.Coordinate: Reverse NS / EW direction for geocoordinates; also, standardize spacing / symbols for wikibase 2017-04-02 08:46:12 -04:00
gnosygnu
8501ec6fd8 Parser.Time: Ignore multiple years / multiple days when parsing date for #time function 2017-04-01 17:06:41 -04:00
gnosygnu
3674dcf8de Scribunto.Site: Use fully-qualified url for url property, not domain 2017-04-01 09:38:20 -04:00
gnosygnu
8cda46bef9 Scribunto.Lang: Return 1st three letters of unknown language codes, not blank 2017-04-01 08:13:49 -04:00
gnosygnu
83c40c8771 Parser: Add more support for UNIQ substitutions with extension tags 2017-03-31 19:17:47 -04:00
gnosygnu
f57fd74e13 Parser.Ref: Change UNIQ prefix / suffix 2017-03-31 08:04:08 -04:00
gnosygnu
3441135fad Parser.Ref: Add commented fix for ref tag in template 2017-03-30 22:11:00 -04:00
gnosygnu
67787c720a Gui: Change back-color of Options.Shortcut.Bindings window from gray to white 2017-03-29 18:31:19 -04:00
gnosygnu
ff3b65c438 Personal_wikis: Fix perpetual 'Do you want to upgrade your search databases' when using Search field for personal wikis 2017-03-29 18:22:00 -04:00