Change log

From XOWA: the free, open-source, offline wiki application

Categories

High-level categories

Change log items are divided into the following high-level categories:

  • Wiki: New Wikis to be downloaded from archive.org
  • PC: Changes related to the XOWA application on Windows, Linux, and Mac OS X personal computers.
  • Android: Changes related to the XOWA Android app on Android OS phones, tablets, and related devices
  • Server: Changes related to the XOWA HTTP Server on Windows, Linux, Mac OS X, and Raspberry PI machines
  • Doc: Documentation changes in home wiki and http://xowa.org
  • Dev: Code-related changes.

Note that PC changes will probably also affect Andriod and Server. All three apps share the same code-base.

Sub-categories

For PC, Android, and Server, change log items are further divided into the following sub-categories:

  • major: Major change, fix or addition. Likely noticeable.
  • significant: Significant change, fix or addition. Probably noticeable.
  • minor: Minor change, fix or addition. Possibly noticeable.
  • trivial: Trivial change, fix or addition. Probably unnoticeable.
  • dev: Developer change, fix or addition. Unnoticeable unless dev.

The most important category to review is major. The other categories may be skipped due to lower importance (if they were more important, they would be bumped up to major).

v4.6.5.1911 (2019-09-25)

PC

major

  • HTTP Server: Fix NullPointerException when restarting HTTP_Server and going directly to search suggest. {contributed by desb42}
Issue: https://github.com/gnosygnu/xowa/issues/537
  • Category: Fix 'A table in the database is locked' when importing en.d. {detected by anonymous}
Issue: https://github.com/gnosygnu/xowa/issues/543

significant

  • Wikibase: Fix 'Module:Infobox/Cycliste:218 attempt to call nil' on many fr.w pages. {detected by desb42}
Issue: https://github.com/gnosygnu/xowa/issues/551
  • Wikibase: Fix 'Module:Cycling race:4290 attempt to concatenate nil and string' on some dozen fr.w pages. {detected by desb42}
Resolved by: Return label and language, not just label.
Links: https://fr.wikipedia.org/wiki/Boels_Ladies_Tour_2016
Issue: https://github.com/gnosygnu/xowa/issues/407
  • Wikibase: Fix 'Module:Location map:414 No value was provided for longitude' on several dozen en.w pages. {contributed by desb42}
Resolved by: Show 'unknown value' / 'no value' instead of 'somevalue' / 'no value'.
Links: https://en.wikipedia.org/wiki/Wild_Goose_Pass_Tree
Issue: https://github.com/gnosygnu/xowa/issues/529
  • Wikibase: Fix 'method not implemented' when calling mw.wikibase.getSetting. {detected by desb42}
Resolved by: Add namespacing to Scribunto libraries.
Issue: https://github.com/gnosygnu/xowa/issues/551
  • Wikibase: Fix missing references on many fr.w pages. {detected by desb42}
Resolved by: Serialize 'references'.
Links: https://fr.wikipedia.org/wiki/VLC_media_player
Issue: https://github.com/gnosygnu/xowa/issues/587
  • Wikibase: Work-around 'Module:PropertyLink:167 attempt to call nil' on many he.w pages. {detected by desb42}
Resolved by: Redirect formatValue and formatValues to renderSnak and renderSnakValues.
Links: https://he.wikipedia.org/wiki/יובל_נאמן
Issue: https://github.com/gnosygnu/xowa/issues/593
  • Luaj: Fix Script error '=Module:ru-noun:1254 Too many arguments for argument set' on several dozen en.d Russian pages. {detected by desb42}
Resolved by: Do not treat '_' as a SPACE character.
Links: https://en.wiktionary.org/wiki/бабье_лето
Issue: https://github.com/gnosygnu/xowa/issues/582
  • Luaj: Fix '=Module:Fallback/sandbox:108 bad argument: string expected, got nil' on several dozen common pages. {detected by desb42}
Resolved by: Return NIL not remove for table.remove and empty table.
Links: https://commons.wikimedia.org/wiki/United_Kingdom
Issue: https://github.com/gnosygnu/xowa/issues/604
  • Luaj: Fix 'Module:Historical populations:60 attempt to perform arithmetic __sub on nil and number' on several dozen en.w pages. {detected by desb42}
Resolved by: Do not treat superscript 1 as a DIGIT character.
Issue: https://github.com/gnosygnu/xowa/issues/617
  • Scribunto: Fix non-translated pages in en.d. {detected by desb42}
Resolved by: Make table accessible from datawrapper in mw.lua.
Links: https://en.wiktionary.org/wiki/Wiktionary:Japanese_transliteration
Issue: https://github.com/gnosygnu/xowa/issues/586
  • Scribunto: Fix 'Erreur de script: =Module:String:737 attempt to call nil' on many fr.s Author pages. {detected by desb42}
Resolved by: Synchronize latest ustring.lua.
Links: https://fr.wikisource.org/wiki/Auteur:Victor_Hugo
Issue: https://github.com/gnosygnu/xowa/issues/609
  • Scribunto: Improve load-time of Chinese pages on en.d. {detected by desb42}
Resolved by: Cache results of title.exists.
Issue: https://github.com/gnosygnu/xowa/issues/597
  • Scribunto: Fix 'Module:Wd:162 attempt to call nil' on many en.w pages. {detected by desb42}
Resolved by: Synchronize latest mw.wikibase.entity.lua.
Issue: https://github.com/gnosygnu/xowa/issues/614
  • Scribunto: Add HashLibrary. {contributed by desb42}
Links: https://de.wikipedia.org/wiki/NetBSD
Issue: https://github.com/gnosygnu/xowa/issues/589
  • ParserFunctions: Fix '=Module:Pg:51 attempt to index ?' on several commonswiki pages. {detected by desb42}
Resolved by: Add ParserFunction for PageLanguage.
Links: https://commons.wikimedia.org/wiki/Commons:Structured_data
Issue: https://github.com/gnosygnu/xowa/issues/595
  • Html_dump: Fix redlinks on many pages. {contributed by desb42}
Resolved by: Include namespace+title in redlink ttl, not just title.
Issue: https://github.com/gnosygnu/xowa/issues/568
  • Html_dump: Show images for files with url-encoded characters (space, symbols, non-ascii).
Issue: https://github.com/gnosygnu/xowa/issues/547
  • Pagebanner: Do not repeat table of contents on wikivoyage pages.
Resolved by: Disable toc if pagebanner html exists; also, sync PageBanner css.
Issue: https://github.com/gnosygnu/xowa/issues/610
  • Pagebanner: Fix showing only enlarged top-right corner for some en.v pagebanners.
Resolved by: Add extra space after hasPosition or some pageBanners will omit wpb-banner-image.
Issue: https://github.com/gnosygnu/xowa/issues/618
  • Template_styles: Fix single-word paragraphs at the start of many en.v pages.
Resolved by: Close block opened by template-styles.
Issue: https://github.com/gnosygnu/xowa/issues/616
  • Category: Fix failed 2019-10 hewiki import.
Resolved by: Add basic enums for 'numeric' and 'identity'.
Issue: https://github.com/gnosygnu/xowa/issues/597
  • Search: Fix no search results for en.d. {detected by desb42}
Issue: https://github.com/gnosygnu/xowa/issues/606
  • References: Fix duplicated text on many en.s Page pages. {detected by desb42}
Resolved by: Ignore follow items when writing primary reference.
Links: https://en.wikisource.org/wiki/Page:Writings_of_Saint_Patrick,_Apostle_of_Ireland.djvu/154
Issue: https://github.com/gnosygnu/xowa/issues/555
  • Setup.PI: Add instructions for fixing 'Could not load SWT library. Reasons: no swt-pi-gtk-3833 in java.library.path' on Raspberry PI 3+ devices to readme.txt. {detected by anonymous}
Links: readme.txt
Issue: https://github.com/gnosygnu/xowa/issues/535

minor

  • Html_dump: Add missing file for showing configuration to show WIKITEXT / HTML indicators in top-right. {detected by desb42}
Issue: https://github.com/gnosygnu/xowa/issues/525
  • Parser: Fix repeated header on a few en.w pages. {detected by desb42}
Resolved by: Do not reuse byte array when trimming bfr.
Links: https://en.wikipedia.org/wiki/Towson_University_buildings_and_structures
Issue: https://github.com/gnosygnu/xowa/issues/562
  • Parser: Fix 'bad argument: table expected, got nil' on some it.w pages. {contributed by desb42}
Resolved by: Trim url-encoded space from the end of a title.
Example: A .
Links: https://it.wikipedia.org/wiki/Italo_Toni
Issue: https://github.com/gnosygnu/xowa/issues/567
  • Parser: Do not reset attributes when tag has more than 16 attributes. {contributed by desb42}
Issue: https://github.com/gnosygnu/xowa/issues/579
  • Parser: Show missing references on a few en.d pages. {detected by desb42}
Resolved by: Auto-inline dangling references tag.
Links: https://en.wiktionary.org/wiki/tepilli
Issue: https://github.com/gnosygnu/xowa/issues/583
  • Parser: Fix failed jawiki import and error 'mid failed: bgn=19 end=13'. {contributed by desb42}
Resolved by: Do not assume that Name_ui_w_colon matches Name.
Links: https://ja.wikipedia.org/wiki/Template:Stub
Issue: https://github.com/gnosygnu/xowa/issues/594
  • Wikibase: Combine same references from Wikidata. {contributed by desb42}
Links: https://fr.wikipedia.org/wiki/VLC_media_player
Issue: https://github.com/gnosygnu/xowa/issues/596
  • Luaj: Fix 'ArrayIndexOutOfBoundsException' on some en.w pages. {detected by desb42}
Resolved by: Handle % at end of replacement string.
Issue: https://github.com/gnosygnu/xowa/issues/571
  • Xtn.Dpl: Limit number of pages shown to 200 instead of total number of pages in category. {contributed by desb42}
Resolved by: Change dynamicPageList to always get categories from cache.
Links: https://en.wiktionary.org/wiki/Category:English_conjunctions
Issue: https://github.com/gnosygnu/xowa/issues/556
  • Xtn.Dpl: Improve performance of Dpl for large categories. {detected by desb42}
Links: https://en.wiktionary.org/wiki/Category:English_lemmas
Issue: https://github.com/gnosygnu/xowa/issues/556
  • Search: Do not fail with error when searching in wikidata / commons. {suggested by desb42}
Issue: https://github.com/gnosygnu/xowa/issues/539
  • Category: Show table of contents on many en.d Category pages. {contributed by desb42}
Resolved by: Replace spaces with underscores in category name.
Issue: https://github.com/gnosygnu/xowa/issues/557
  • Html: Add 'lang=page_lang' to html and div tag. {contributed by desb42}
Issue: https://github.com/gnosygnu/xowa/issues/576
  • Score: Fix NullPointerException on a few dozen en.w Portal pages. {contributed by desb42}
Resolved by: Check for missing src for score generated images.
Issue: https://github.com/gnosygnu/xowa/issues/577
  • HTTP Server: Generalize file:///root logic even more. {contributed by desb42}
Issue: https://github.com/gnosygnu/xowa/issues/524
  • HTTP Server: Redirect xwiki urls to different wikis. {detected by desb42}
Links: https://en.wikipedia.org/wiki/it:Roma
Issue: https://github.com/gnosygnu/xowa/issues/600
  • HTTP Server: Show error page when navigating to wikis which are not installed. {detected by desb42}
Issue: https://github.com/gnosygnu/xowa/issues/613
  • Performance: Improve performance of Bry_fmtr. {contributed by desb42}
Resolved by: Disable dirty flag after formatter is compiled.
Issue: https://github.com/gnosygnu/xowa/issues/575

trivial

  • Gui: Fix NPE when reloading a MISSING_PAGE at start-up. {detected by desb42}
Issue: https://github.com/gnosygnu/xowa/issues/608
  • Html_dump: Fix 'gplx.Err: counts do not match' during fr.w build. {contributed by desb42}
Resolved by: Synchronize Xol_name_mgr.
Issue: https://github.com/gnosygnu/xowa/issues/549
  • Html_dump: Try to reduce memory pressure from Xow_defn_cache. {suggested by desb42}
Resolved by: Count 0 byte entries as 1 byte.
Issue: https://github.com/gnosygnu/xowa/issues/561
  • Mac OS X: Add homebrew instructions for installing ImageMagick / Inkscape. {contributed by anonymous}
Issue: https://github.com/gnosygnu/xowa/issues/574

v4.6.4.1908 (2019-08-11)

PC

major

  • Sqlite: Fix faster wiki loading for read-only devices not working for Read-only files. {detected by Ope30}
Issue: https://github.com/gnosygnu/xowa/issues/534

significant

  • Luaj: Fix '=Module:Bases:148 ' on many fr.w. {detected by desb42}
Resolved by: Add deprecated foreach / foreachi.
Issue: https://github.com/gnosygnu/xowa/issues/531

minor

  • Cfg: Fix 'Show search' and 'Show toolbar' not working. {detected by desb42}
Links: home/wiki/Special:XowaCfg?grp=xowa.gui.general
Issue: https://github.com/gnosygnu/xowa/issues/532
  • Html_dump: Add configuration to show WIKITEXT / HTML indicators in top-right. {contributed by desb42}
Links: home/wiki/Special:XowaCfg?grp=xowa.wiki.hdumps
Issue: https://github.com/gnosygnu/xowa/issues/525
  • Search.Suggest: Fix wrong highlighting of search suggest term when removing characters from search-word. {detected by desb42}
Resolved by: Move highlighting code out of cache pathway to js_wtr.
Example: kyle -> kyl (kyle still highlighted).
Issue: https://github.com/gnosygnu/xowa/issues/538
  • User.Cfg: Fix page not loading if duplicate keys in user cache. {detected by Ope30}
Resolved by: Ignore duplicate keys in user cache.
Issue: https://github.com/gnosygnu/xowa/issues/534

trivial

  • HTTP Server: Generalize file:///.*/file/.* logic. {contributed by desb42}
Issue: https://github.com/gnosygnu/xowa/issues/524
  • HTTP Server: Fix NullPointerException when restarting HTTP_Server and going directly to search suggest. {contributed by desb42}
Issue: https://github.com/gnosygnu/xowa/issues/537

v4.6.3.1908 (2019-08-04)

PC

major

  • HTTP Server: Fix links and images not working for 2019-05 enwiki HTML databases. {detected by ctd}
Resolved by: Swap out /wiki/ and fix broken /fsys/.
Issue: https://github.com/gnosygnu/xowa/issues/524
  • HTTP Server: Fix XowaSearch not working. {detected by ktry}
Resolved by: Append url_args to page.
Issue: https://github.com/gnosygnu/xowa/issues/489
  • HTTP Server: Add search-suggest.
Issue: https://github.com/gnosygnu/xowa/issues/489
  • Scribunto: Fix Script error 'Module:convert:328 attempt to compare nil with number'. {detected by desb42}
Resolved by: Use m_offset when doing string.substring.
Issue: https://github.com/gnosygnu/xowa/issues/520

trivial

  • Make: Update wiki domains for 2019-06 Wikidata.
Issue: https://github.com/gnosygnu/xowa/issues/528

v4.6.2.1907 (2019-07-24)

Wiki

  • Package: Publish 2019-05 English Wikipedia.
Links: Wiki_setup/English_wikis

PC

major

  • Category: Fix Category not working for en.w. {detected by desb42}
Resolved by: Replace UNION with sequential loading from each catlink db.
Issue: https://github.com/gnosygnu/xowa/issues/268
  • Scribunto: Fix infinite loop on some en.w pages when finding on ucs-2 chars. {detected by desb42}
Resolved by: Adjust index position correctly for ucs-2 strings.
Example: {{WP7a|got|Gothic}}.
Links: https://en.wikipedia.org/wiki/List_of_Wikipedias
Issue: https://github.com/gnosygnu/xowa/issues/506
  • Luaj: Fix infinite loop on some en.w pages when matching Unicode Alphabetic chars. {detected by desb42}
Resolved by: Support PCRE character definitions for Luaj Regex.
Issue: https://github.com/gnosygnu/xowa/issues/502

significant

  • Parser.Tidy: Add vnu as additional tidy engine. {contributed by desb42}
Issue: https://github.com/gnosygnu/xowa/issues/417
  • Xtns.TemplateStyles: Cache TemplateStyles for HTML databases.
Issue: https://github.com/gnosygnu/xowa/issues/482
  • Scribunto: Use Luaj for pattern-matching (instead of Java Regex).
Issue: https://github.com/gnosygnu/xowa/issues/413
  • Wikibase: Add qualifiers-order to GetEntityStatements. {contributed by desb42}
Issue: https://github.com/gnosygnu/xowa/issues/374
  • Parser.Wikibase: Fix 'qid not found' errors in session.txt. {contributed by desb42}
Resolved by: Retrieve by label if pid is not present; also, return pid, not label.
Issue: https://github.com/gnosygnu/xowa/issues/354
  • Css: Show external-link icon and other css effects. {contributed by desb42}
Resolved by: Add 'mw-parser-output' to main div.
Links: https://en.wikipedia.org/wiki/Earth
Issue: https://github.com/gnosygnu/xowa/issues/274
  • Sqlite: Allow faster wiki loading for read-only devices. {requested by ZebraFromPluto}
Resolved by: Add option for read-only detection.
Links: home/wiki/Special:XowaCfg?grp=xowa.app.dbs
Issue: https://github.com/gnosygnu/xowa/issues/509
  • Xtn.Popups: Disable popups by default for en.wiktionary.org. {suggested by ZebraFromPluto}
Links: home/wiki/Special:XowaCfg?grp=xowa.addon.popups
Issue: https://github.com/gnosygnu/xowa/issues/511
  • HTTP Server: Fix links not working in left nav bar. {detected by anonymous}
Resolved by: Parse links with trailing slash.
Issue: https://github.com/gnosygnu/xowa/issues/459

minor

  • Xtn.Translate: Fix 'callParserFunction: function was not found: function=#translation' on many commons pages. {assisted by desb42}
Resolved by: Add #translation function with no implementation.
Example: {{#translation}}.
Issue: https://github.com/gnosygnu/xowa/issues/445
  • Parser.Wikibase: Fix 'Module:ResolveEntityId:31 attempt to index ?' on several dozen en.w biology pages.
Resolved by: Return null instead of empty string if invalid title passed to getEntityId.
Links: https://en.wikipedia.org/wiki/Nicoletella
Issue: https://github.com/gnosygnu/xowa/issues/415
  • Parser.TemplateStyles: Fix NullPointerException on a few dozen en.w Portal pages.
Resolved by: Check if title is null.
Links: https://en.wikipedia.org/wiki/Portal:Switzerland
Issue: https://github.com/gnosygnu/xowa/issues/416
  • ParserFunctions: Fix "Expression error: Missing operand for =" on some en.w pages. {detected by desb42}
Resolved by: Increase precedence of "E" over "ln" and other operations.
Example: {{#expr:ln2E+3}}.
Issue: https://github.com/gnosygnu/xowa/issues/397
  • Scribunto: Fix '@libraryUtil.lua:13 bad argument #1 to gmatch (string expected, got nil)' on a few en.w pages.
Resolved by: Set frame title for pages when invoking Scribunto code.
Links: https://en.wikipedia.org/wiki/Wikipedia:Categories_for_discussion
Issue: https://github.com/gnosygnu/xowa/issues/476
  • Scribunto: Fix 'invoke failed: ... {{#invoke:Navbar|navbar}}' on some en.w pages. {detected by desb42}
Resolved by: Add frame_ttl to all Xot_invk_tkn.
Links: https://en.wikipedia.org/wik/2003_Tippeligaen
Issue: https://github.com/gnosygnu/xowa/issues/503
  • Scribunto: Fix 'https%3A%2F%2F' showing up in reference links on some en.w pages. {detected by desb42}
Resolved by: Synchronize mw.uri.lua file with changes for uri.encode(s, 'WIKI').
Links: https://en.wikipedia.org/wik/Christmas
Issue: https://github.com/gnosygnu/xowa/issues/504
  • Luaj: Fix invalid url-encoding for non-ASCII characters like 'æ'. {detected by desb42}
Resolved by: Substring by bytes, not string, to handle malformed strings.
Issue: https://github.com/gnosygnu/xowa/issues/504
  • Scribunto: Fix query args showing up on en.w Template pages. {detected by desb42}
Resolved by: Encode key / val in GetUrl.
Issue: https://github.com/gnosygnu/xowa/issues/465
  • Scribunto: Fix 'NullPointerException in Module:Wikidata:622' on some de.w pages. {contributed by desb42}
Resolved by: Ignore snak if novalue.
Issue: https://github.com/gnosygnu/xowa/issues/481
  • Scribunto: Fix 'Module:Exception:2 attempt to index ? (a nil value)' on some en.u pages. {detected by desb42}
Links: https://en.wikiversity.org/wiki/Web_Science/Part2:_Emerging_Web_Properties/Hearding_Behavior/Summary,_Further_readings,_Homework
Issue: https://github.com/gnosygnu/xowa/issues/475
  • Xtn.Cldr: Fix 'Module:wikipedia:49 The Wikimedia language code goh is not valid' on some en.d pages. {detected by desb42}
Resolved by: Check CldrNames for IsKnownLanguageTag.
Issue: https://github.com/gnosygnu/xowa/issues/388
  • Scribunto: Fix 'Template:Template:Page' does not exist. {detected by desb42}
Resolved by: Apply namespace argument only if in main namespace.
Example: =mw.title.new("Template:Test", 'File').
Issue: https://github.com/gnosygnu/xowa/issues/473
  • HttpServer: Navigate to an error page for invalid titles like "Earth]". {detected by desb42}
Issue: https://github.com/gnosygnu/xowa/issues/480
  • Parser.Comment: Fix run-on paragraph if comment is added between blank linkes. {contributed by desb42}
Resolved by: Terminate comment if new-line found.
Links: https://en.wikisource.org/wiki/Three_Villages/2_Shirley
Issue: https://github.com/gnosygnu/xowa/issues/437
  • Xtn.SyntaxHighlight: Highlight lines if 'highlight' is passed but 'line' is not. {contributed by desb42}
Example: <syntaxhighlight lang="text" highlight="4-7">.
Links: https://commons.wikimedia.org/wiki/Template:TemplateBox/doc/example-value
Issue: https://github.com/gnosygnu/xowa/issues/498
  • Scribunto: Format date correctly for years with less than 4 digits (EX: +0065 -> 65 x> 2065). {contributed by desb42}
Example: "+0065-12-01" -> "65-12-01" x> "2065-12-01".
Issue: https://github.com/gnosygnu/xowa/issues/500
  • Language: Escape left-to-right / right-to-left marks in names.json ('\xE2\x80\x8E' to '\u200E'). {detected by desb42}
Issue: https://github.com/gnosygnu/xowa/issues/501
  • Parser: Remove unnecessary html from anchor.encode. {detected by desb42}
Resolved by: Parse html in internal link captions.
Links: [[File:A.png|b]]
Issue: https://github.com/gnosygnu/xowa/issues/460
  • Parser: Handle UTF-8 characters in attribute keys / values. {contributed by desb42}
Issue: https://github.com/gnosygnu/xowa/issues/457
  • Json: Parse surrogate-pairs correctly in unicode-escaped strings. {contributed by desb42}
Example: \ud83c\udf0.
Issue: https://github.com/gnosygnu/xowa/issues/487
  • Parser: Change encoding of html id to encode fewer characters.
Issue: https://github.com/gnosygnu/xowa/issues/462
  • User.Logs: Delete log folders if logs are disabled. {requested by ZebraFromPluto}
Issue: https://github.com/gnosygnu/xowa/issues/510

trivial

  • Html: Change self-link pages from <b> to <a class='mw-selflink selflink'>. {detected by desb42}
Issue: https://github.com/gnosygnu/xowa/issues/478
  • Css: Change css jump-to class from 'mw-navigation' to 'mw-head'. {detected by desb42}
Links: https://phabricator.wikimedia.org/source/Vector/browse/master/includes/templates/index.mustache$20
Issue: https://github.com/gnosygnu/xowa/issues/394
  • Json: Skip forward by 5 characters, not 4 for unicode sequences. {contributed by desb42}
Example: \u0022.
Issue: https://github.com/gnosygnu/xowa/issues/486
  • Parser: Do not parse '&#x;' as byte 0. {detected by desb42}
Issue: https://github.com/gnosygnu/xowa/issues/494


dev

  • Mass_parse: Add xomp_stats to track time per page (and other attributes). {suggested by desb42}
Issue: https://github.com/gnosygnu/xowa/issues/456
  • Mass_parse: Change page_cache to LRU cache.
Issue: https://github.com/gnosygnu/xowa/issues/483
  • Dev: Create Maven artifact. {contributed by t}
Issue: https://github.com/gnosygnu/xowa/issues/427
  • Dev: Rename test files to use '_tst' and '_fxt' convention. {detected by desb42}
Issue: https://github.com/gnosygnu/xowa/issues/512
  • Mass_parse: Fix mass_parse failing due to 'counts do not match; same key is either added twice, or delete failed'. {detected by desb42}
Resolved by: Use page_cache hashCode, not wiki hashCode.
Issue: https://github.com/gnosygnu/xowa/issues/514

v4.6.1.1903 (2019-03-26)

PC

major

  • Htxt: Fix old html databases not loading pages. {detected by Ope30}
Resolved by: Extract img.src data.
Issue: https://github.com/gnosygnu/xowa/issues/404

v4.6.0.1903 (2019-03-23)

Wiki

  • Package: Publish 2019-03 German Wikipedia.
Links: Wiki_setup/German_wikis

PC

major

  • Templatestyles: Fix templatestyles showing on many en.w pages. {detected by anonymous}
Resolved by: Support templatestyles.
Links: https://en.wikipedia.org/wiki/Henry_David_Thoreau
Issue: https://github.com/gnosygnu/xowa/issues/
  • TemplateStyles: Fix templatestyles not showing in css.
Resolved by: Add templatestyles to html.head.
Links: https://en.wikiversity.org/wiki/WikiJournal_Preprints/Binary_search_algorithm
Issue: https://github.com/gnosygnu/xowa/issues/314
  • Html: Hide 'Jump to: navigation, search' appearing on multiple pages.
Resolved by: Reformat HTML for jump-to div.
Issue: https://github.com/gnosygnu/xowa/issues/394
  • HTML Databases: Deprecate hzip in favor of plain-text format.
Issue: https://github.com/gnosygnu/xowa/issues/320

significant

  • Luaj: Fix infinite loop on some en.w pages. {detected by desb42}
Resolved by: Do not auto-case strings to ints in LuaTable.set.
Example: tbl.k = "2.";.
Issue: https://github.com/gnosygnu/xowa/issues/360
  • Scribunto: Fix script errors 'INTERNAL... IllegalArgumentException Argument is not an array' for many dozen en.w Template pages. {detected by desb42}
Resolved by: Allow strings and other primitive values for jsonEncode / jsonDecode.
Issue: https://github.com/gnosygnu/xowa/issues/329
  • Scribunto: Fix script errors 'Lua error in Module:Language at line 193: No name for the language' on several en.w pages. {contributed by desb42}
Resolved by: Change default for fetchLanguageName from 'mw' to null.
Issue: https://github.com/gnosygnu/xowa/issues/331
  • Scribunto: Fix script error '@package.lua:81 module `luabit.hex' not found stack traceback:' on several en.w pages. {contributed by desb42}
Resolved by: Add 'dotted' form of file path.
Example: a/b/c -> a.b.c.
Links: https://en.wikipedia.org/wiki/St._Peter's_Lutheran_Church_(Ottawa)
Issue: https://github.com/gnosygnu/xowa/issues/353
  • Scribunto: Fix script errors 'attempt to compare string with number' on many en.d pages. {detected by desb42}
Resolved by: Handle anypos flag.
Issue: https://github.com/gnosygnu/xowa/issues/337
  • Scribunto: Fix 'invalid regx' on many en.d pages. {detected by desb42}
Resolved by: Iterate regx by codepoint not by bytes.
Issue: https://github.com/gnosygnu/xowa/issues/383
  • Scribunto: Fix literal '%1' on some en.d pages. {detected by desb42}
Resolved by: Pull 0th argument if %1 is specified and 0 groups.
Links: https://en.wiktionary.org/wiki/Wiktionary:Scripts
Issue: https://github.com/gnosygnu/xowa/issues/393
  • Scribunto: Fix 'invoke failed: Portal:Germany {{#invoke:Excerpt slideshow|listItemExcerpt}}' on some de.w pages. {detected by desb42}
Resolved by: Do not fail in ustring.find if negative bgn is large.
Example: mw.ustring.find('abc', "c", -999).
Issue: https://github.com/gnosygnu/xowa/issues/366
  • Scribunto: Fix 'gplx.Err: type mismatch: expdType=boolean actlType=java.lang.String actlObj=y' on some commonswiki pages. {detected by desb42}
Resolved by: Use PHP.empty for noCommafy .
Example: language.formatNum(1234, {noCommafy='y'}).
Issue: https://github.com/gnosygnu/xowa/issues/372
  • Scribunto: Fix script error '=Module:Wikidata label:65 bad argument: table expected, got nil' on some wd pages. {detected by desb42}
Resolved by: Scribunto|Return ['en'] not [] if unknown language.
Issue: https://github.com/gnosygnu/xowa/issues/340
  • Wikibase: Fix blank "Authority Control" sections. {detected by desb42}
Resolved by: Fix getBestStatements to return normal if no preferred.
Links: https://en.wikipedia.org/wiki/James_Monroe
Issue: https://github.com/gnosygnu/xowa/issues/297
  • Wikidata: Fix 'unknown key for property' on many de.w pages. {detected by desb42}
Resolved by: Trim whitespace from start and end of property keys.
Example: {{#property:P17 | from = Q2 }}.
Issue: https://github.com/gnosygnu/xowa/issues/361
  • Wikidata: Fix 'wbase:could not find datatype for pid; pid=5\n'.
Resolved by: Trim whitespace from start and end of qid in GetEntity.
Example: mw.wikibase.getEntity(' Q2\n').
Issue: https://github.com/gnosygnu/xowa/issues/363
  • Wikidata: Fix broken property links on wikidata claims. {contributed by desb42}
Resolved by: Add 'P' to property link.
Issue: https://github.com/gnosygnu/xowa/issues/332
  • Category: Fix "Next 200" not working on en.w category pages. {contributed by desb42}
Resolved by: Upgrade to icu4j-57_1.jar.
Issue: https://github.com/gnosygnu/xowa/issues/237

minor

  • Timeline: Fix many minor timeline bugs. {contributed by desb42}
Links: https://en.wikipedia.org/wiki/Template:Timeline_WWII_-_Pacific_Theater https://en.wikipedia.org/wiki/1910_Atlantic_hurricane_season https://en.wikipedia.org/wiki/42-01 https://en.wikipedia.org/wiki/The_Beach_Boys#Members https://en.wikipedia.org/wiki/Solar_power_in_Alaska https://en.wikipedia.org/wiki/South_Eastern_Collegiate_Hockey_Conference https://en.wikipedia.org/wiki/19th-century_National_League_teams https://en.wikipedia.org/wiki/Browser_engine https://en.wikipedia.org/wiki/Mount_Hood_climbing_accidents https://en.wikipedia.org/wiki/Kicking_Sunrise#Members https://en.wikipedia.org/wiki/Lifespan_Timeline_of_Prime_Ministers_of_Romania https://en.wikipedia.org/wiki/Classical_antiquity https://en.wikipedia.org/wiki/Disneyland_Paris#Attendance https://en.wikipedia.org/wiki/Canada–United_States_relations https://en.wikipedia.org/wiki/Template:NASA_Planetary_Missions_Program https://en.wikipedia.org/wiki/Template:Space_station_crew_timeline https://en.wikipedia.org/wiki/Template:NASA_Planetary_Missions_Program https://en.wikipedia.org/wiki/History_of_Islam https://en.wikipedia.org/wiki/Tromborn https://en.wikipedia.org/wiki/Timeline_of_political_parties_in_the_United_Kingdom https://en.wikipedia.org/wiki/Hindu_units_of_time
Issue: https://github.com/gnosygnu/xowa/issues/368
  • Cite: Show lower-roman, lower-alpha and other superscripts. {detected by desb42}
Resolved by: Change Cite to follow MediaWiki behavior for super-scripting.
Example: lower-roman -> "i" x> "lower-roman 1".
Issue: https://github.com/gnosygnu/xowa/issues/382
  • Parser: Fix non-italicized titles in Template namespace and others. {detected by desb42}
Resolved by: Change ttl.Page_db() to ttl.Full_db().
Issue: https://github.com/gnosygnu/xowa/issues/277
  • ParserFunctions: Fix 'Invalid errors' date for next Sunday. {contributed by desb42}
Resolved by: Support next / previous for day of week.
Issue: https://github.com/gnosygnu/xowa/issues/262
  • Css: Fix missing images on en.v pages. {contributed by desb42}
Resolved by: Trim whitespace from start and end of css-related urls.
Issue: https://github.com/gnosygnu/xowa/issues/307
  • Html: Fix subpages showing underscores instead of spaces. {contributed by desb42}
Resolved by: Replace underscores with spaces in subpages.
Links: https://en.wikiversity.org/wiki/Computer-aided_design/Software
Issue: https://github.com/gnosygnu/xowa/issues/308
  • Html: Standardize spacing between subpage entries. {contributed by desb42}
Links: https://en.wikiversity.org/wiki/Computer-aided_design/Software
Issue: https://github.com/gnosygnu/xowa/issues/308
  • Html: Fix broken pages when invalid characters in href. {detected by desb42}
Resolved by: Do not hzip anchors with invalid href.
Links: https://en.wikiversity.org/wiki/Research_in_programming_Wikidata/Banks
Issue: https://github.com/gnosygnu/xowa/issues/311
  • Html: Change message from 'was last modified' to 'was last edited'. {contributed by desb42}
Issue: https://github.com/gnosygnu/xowa/issues/321
  • Category: Pluralize "Category" label only if more than one item. {contributed by desb42}
Resolved by: Pass count into category msg .
Links: https://en.wikiversity.org/wiki/WikiJournal_Preprints/Binary_search_algorithm
Issue: https://github.com/gnosygnu/xowa/issues/316
  • HTTP Server: Support popups. {contributed by desb42}
Issue: https://github.com/gnosygnu/xowa/issues/264
  • HTTP Server: Fix Edit / View HTML links not working. {contributed by desb42}
Resolved by: Support 'action=edit' / 'action=html'.
Issue: https://github.com/gnosygnu/xowa/issues/264
  • HTTP Server: Fix inaccessible pages when names starts with slash. {contributed by desb42}
Resolved by: Change url parsing logic to support slashes.
Links: https://en.wikipedia.org/wiki//dev/full
Issue: https://github.com/gnosygnu/xowa/issues/301
  • HTTP Server: Fix Article link not working when title has spaces. {detected by desb42}
Resolved by: Use url-encoded article link.
Issue: https://github.com/gnosygnu/xowa/issues/254
  • HTTP Server: Fix Article link not working b/c not pointing to current wiki. {detected by desb42}
Resolved by: Reorder href attribute so that it follows a tag.
Example: <a id=a href=b> -> <a href=b id=a>.
Issue: https://github.com/gnosygnu/xowa/issues/252
  • HTTP Server: Show xowa shortcut icon in edit / view html. {detected by desb42}
Resolved by: Update href for 'shortcut icon'.
Issue: https://github.com/gnosygnu/xowa/issues/285
  • HTTP Server: Fix exceptions when using nginx. {contributed by desb42}
Resolved by: Ignore nginx http headers.
Issue: https://github.com/gnosygnu/xowa/issues/255
  • HTTP Server: Retain new-line when processing form-data. {contributed by desb42}
Issue: https://github.com/gnosygnu/xowa/issues/315
  • Xtn.Popups: Fix 'The template/module can only be used on pages in the Category namespace'. {detected by desb42}
Resolved by: Update page title on Scrib_core when generating popup.
Issue: https://github.com/gnosygnu/xowa/issues/338
  • Xtn.Popups: Do not show category pages from popup. {detected by desb42}
Issue: https://github.com/gnosygnu/xowa/issues/339

trivial

  • Parser.Lnki: Fix links with a literal caption of 'class' or 'alt' showing page name instead of 'class' or 'alt'. {detected by desb42}
Resolved by: Treat keywords as caption if not File namespace or if keyless.
Links: https://en.wikibooks.org/wiki/C_Sharp_Programming
Issue: https://github.com/gnosygnu/xowa/issues/303
  • Parser: Fix inconsistent html-encoding of {{#tag}} calls.
Links: https://fr.wikivoyage.org/wiki/France https://en.wikipedia.org/wiki/Henry_David_Thoreau
Issue: https://github.com/gnosygnu/xowa/issues/310
  • ParserFunctions: Fix invalid url for tools.wmflabs.org. {contributed by desb42}
Resolved by: Do not add '/wiki/' for non-WMF wikis.
Links: https://en.wikipedia.org/wiki/Scafell_Pike
Issue: https://github.com/gnosygnu/xowa/issues/298
  • Html: Show wikiname in search-bar's placeholder text. {contributed by desb42}
Resolved by: Change div_view_fmtr to be sitename aware.
Links: https://en.wikiversity.org
Issue: https://github.com/gnosygnu/xowa/issues/313
  • Html: Fix textarea content being mislocated outside of textarea tags. {detected by desb42}
Resolved by: Escape textarea content.
Example: <pre> -> <pre>.
Issue: https://github.com/gnosygnu/xowa/issues/250
  • Parser: Fix blank div id on en.w pages. {detected by desb42}
Resolved by: Fix anchorencode for trailing lnki.
Example: [[A]]b.
Issue: https://github.com/gnosygnu/xowa/issues/373
  • Parser.Lnke: Escape ampersand in external links. {contributed by desb42}
Issue: https://github.com/gnosygnu/xowa/issues/371
  • Htxt: Fix broken html on de.w pages with video tags.
Resolved by: Set src_bgn at start of block, not after video element.
Links: https://de.wikipedia.org/wiki/München
Issue: https://github.com/gnosygnu/xowa/issues/369

dev - make

  • Make: Fix OutOfMemory error when building dewiki. {detected by desb42}
Resolved by: Release bry_bfr in Tag_html_wkr_basic.
Issue: https://github.com/gnosygnu/xowa/issues/351
  • Make: Fix 'core dump' during pagelink.
Resolved by: Rewrite pagelink builder.
Issue: https://github.com/gnosygnu/xowa/issues/396
  • Make: Fix 'Failed to render extension' when building en.d across multiple threads. {detected by desb42}
Resolved by: Lock calls to cat_core Select.
Issue: https://github.com/gnosygnu/xowa/issues/389
  • Make: Fix 'counts do not match' when building en.s. {contributed by desb42}
Resolved by: Extend lock scope over Get_by_exact_id_or_null.
Issue: https://github.com/gnosygnu/xowa/issues/347
  • Language: Update language list.
Issue: https://github.com/gnosygnu/xowa/issues/384
  • File: Add opus file type. {detected by desb42}
Issue: https://github.com/gnosygnu/xowa/issues/295
  • Wikibase: Register new wikis: als.wikibooks.org; als.wikiquote.org; als.wiktionary.org; bn.wikivoyage.org; mo.wiktionary.org; pms.wikisource.org; ps.wikivoyage.org; sah.wikiquote.org; sat.wikipedia.org; zh.wikiversity.org.
Issue: https://github.com/gnosygnu/xowa/issues/
  • Wikibase: Fix 'unknown json parser key' during site.util_meta command.
Resolved by: Support bcp in language node.
Example: unknown json parser key: path=www.wikidata.org.language.bcp47.
Issue: https://github.com/gnosygnu/xowa/issues/
  • Wiki: Fix 'unknown key: key=siteinfo' during site.util_meta command.
Resolved by: Change 'wikimediafoundation.org' to 'foundation.wikimedia.org'.
Issue: https://github.com/gnosygnu/xowa/issues/

dev - log

  • Math: Remove tidy warnings on redundant math id. {detected by desb42}
Resolved by: Increment math uid.
Links: https://en.wikiversity.org/wiki/Electric_Circuit_Analysis/Passive_Sign_Convention
Issue: https://github.com/gnosygnu/xowa/issues/375
  • Xtn.Cldr: Fix 'no cldrName file exists for lang; lang=~{lang}'. {detected by desb42}
Resolved by: Print correct lang_name if cldrFile name doesn't exist.
Issue: https://github.com/gnosygnu/xowa/issues/349
  • Make: Fix 'counts do not match: hash=3 list=4' when building dewiki. {detected by desb42}
Resolved by: Add synchronized block when loading lang.
Issue: https://github.com/gnosygnu/xowa/issues/330
  • Make: Write full page url to log file, not just page title. {detected by desb42}
Issue: https://github.com/gnosygnu/xowa/issues/387
  • Category: Do not log 'inserting cat_link row'. {suggested by desb42}
Issue: https://github.com/gnosygnu/xowa/issues/322

dev - code

  • Source: Allow 'xowa_get_and_make.sh' to be run multiple times. {contributed by desb42}
Resolved by: Remove previous items with 'rm -rf' .
Issue: https://github.com/gnosygnu/xowa/issues/345
  • Category: Clarify cast to RuleBasedCollator. {requested by desb42}
Resolved by: Add comment and change casting order.
Issue: https://github.com/gnosygnu/xowa/issues/269
  • Search: Remove duplicate code line in link_score builder. {detected by desb42}
Issue: https://github.com/gnosygnu/xowa/issues/305
  • Wiki: Add comment to explain Id_xowa_wikidata. {detected by desb42}
Issue: https://github.com/gnosygnu/xowa/issues/348

Archives

Namespaces

XOWA

Getting started

Android

Help

Blog

Donate