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

922 Commits

Author SHA1 Message Date
gnosygnu
0854cf9ba1 Xomw.Preprocessor: Integrate rest of Preprocessor_Hash tests [#508] 2019-07-28 10:42:02 -04:00
gnosygnu
0280254e8a Scribunto: Use m_offset when doing string.substring [#520] 2019-07-25 23:34:34 -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
436f219477 Mass_parse: Add thread-locking to LRU cache [#518] 2019-07-23 22:47:22 -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
877b305136 Luaj: Fix invalid url-encoding for non-ASCII characters like 'æ' [#504] 2019-07-22 21:01:30 -04:00
gnosygnu
0181a42d3d Xomw.Preprocessor: Add initial unit tests for DOM [#508] 2019-07-21 22:09:21 -04:00
gnosygnu
3b5a1f8ffc Xtn.Popups: Disable popups by default for en.wiktionary.org [#511] 2019-07-20 15:43:17 -04:00
gnosygnu
34dcfdde7d User.Logs: Delete log folders if logs are disabled [#510] 2019-07-20 09:40:26 -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
9b51a7c660 Scribunto: Synchronize mw.uri.lua file with changes for uri.encode(s, 'WIKI') [#504] 2019-06-29 17:55:32 -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
3b6efe4274 Scribunto: Fix 'Module:Exception:2 attempt to index ? (a nil value)' on some en.u pages [#475] 2019-06-02 21:44:47 -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