Change log/2016

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

Contents

v3.12.2.1 (2016-12-11)

Android

minor

  • Html: Hide navigation boxes by default. {requested by anonymous}
  • Html: Add option to show navigation boxes. {requested by anonymous}

v3.12.1.1 (2016-12-04)

Wikis

  • Package: Publish 2016-11 Dutch Wikis.
Links: Wiki_setup/Dutch_wikis
  • Package: Publish 2016-11 German Wikipedia.
Links: Wiki_setup/German_wikis
  • Package: Publish 2016-11 Russian wikis.
Links: Wiki_setup/Russian_wikis

PC

minor

  • Import: Fix category not building on non-SSD drives. {detected by khanhhung2512 }
Resolved by: Add index to cl_from.
  • Import: Fix Russian Wikisource build failure.
Resolved by: Convert null category sortkeys to empty array.
  • Import.offline: Do not re-download category dump files when importing wiki (redux). {detected by khanhhung2512 }
  • Xtn.Math: Do not try to translate math in variant wikis. {detected by anonymous}
Resolved by: Swap out math tags with UNIQ.
Example: <math>x-{1+2}-1</math> -> x-{1+2}-1 x> x1+21.
Links: https://github.com/gnosygnu/xowa/issues/107
  • Table_of_contents: Fix missing table of contents on some de.w television series pages. {detected by Ope30}
Resolved by: Ignore TOC magic word on transcluded pages.
Links: https://de.wikipedia.org/wiki/Game_of_Thrones https://de.wikipedia.org/wiki/The_Walking_Dead_(Fernsehserie)
  • Parser.Lnke: Fix page not loading on a dozen ru.w pages.
Resolved by: Handle xwiki links to history pages.
Example: [http://ru.wikipedia.org/w/index.php?title&diff=19103464&oldid=18910980 извещен].
Links: https://ru.wikipedia.org/wiki/Project:Заявки_на_снятие_флагов/Архив/Патрулирующие/2009
  • ParserFunctions: Fix missing headers from several dozen ru.s Slavik pages.
Resolved by: Implement {{ROOTPAGENAME}}.
Links: https://ru.wikisource.org/wiki/ТСД/Аврора/ДО
  • Scribunto: Fix script error "Module:Navbox:91 attempt to concatenate nil and string" on many ru.w pages.
Message: =Module:Navbox:91 attempt to concatenate nil and string
Resolved by: Use local language's namespace name not canonical.
Example: Russian "Шаблон" not English "Template".
Links: https://ru.wikipedia.org/wiki/Королевство_Нидерландов
  • Scribunto: Fix script error 'expandTemplate: template "Россия Москва" does not exist' on many ru.w pages.
Message: expandTemplate: template "Россия Москва" does not exist
Resolved by: Do not convert zero padded numbers to integer.
Example: "01" -> "01" x> 1.
Links: https://ru.wikipedia.org/wiki/Красноказарменный_проезд
  • Wikibase: Fix missing infobox images on many ru.w pages.
Resolved by: Infer datatype from cached table not from JSON doc.
Example: datatype="commonsMedia".
Links: https://ru.wikipedia.org/wiki/Италия https://lists.wikimedia.org/pipermail/wikidata/2016-November/010023.html
  • Wikibase: Do not fail if null quantity.lbound or quantity.ubound.
Links: https://www.wikidata.org/wiki/Q183
  • Wikibase: Fix script error "Module:WD:455" on a dozen ru.s pages.
Message: Ошибка скрипта: =Module:WD:455 свойство P1343 не найдено
Resolved by: Return 'property' not 'item' if wikidata page is "Property:".
Links: https://ru.wikisource.org/wiki/Викитека:Проект:Викиданные
  • Wikibase: Fix script error 'java.lang.ArithmeticException: Division by zero' on a few dozen ru.w pages.
Resolved by: Convert globecoordinate's precision of '0' to precision of '1'.
Links: https://ru.wikipedia.org/wiki/Лысково_(Калужская_область)
  • Image: Open image when clicking on 'full resolution' links.
Message: could not find anchor with href in html {detected by khanhhung2512 }
Resolved by: Handle image paths with spaces and other URL-encoding.
Links: https://simple.wikipedia.org/wiki/File:Volcán_Chimborazo,_"El_Taita_Chimborazo".jpg https://simple.wikipedia.org/wiki/File:Elizabeth_II_greets_NASA_GSFC_employees,_May_8,_2007_edit.jpg
  • Gui.Url_bar: Show title in actual chars, not url-decoded chars.
Resolved by: Set page url to actual chars, not url-decoded chars.
  • Page_sync: Do not fail with null ref exception when trying to auto-sync a non-existant file. {detected by khanhhung2512 }
Links: https://en.wikipedia.org/wiki/File:MimiRogersApr09.jpg
  • Page_sync: Fix page_sync failing when (a) page has math and (b) math has '~{'.
Message: page_load fail: page=Web crawler err=[err 0] idx mode not closed {detected by khanhhung2512 }
Links: https://en.wikipedia.org/wiki/Earth
  • Page_sync: Allow 'always sync' by setting sync interval to '0'. {requested by khanhhung2512 }
Links: Options/Page_sync
  • Page_sync: Implement 'Pages to sync' filter. {detected by khanhhung2512 }
Links: Options/Page_sync
  • Embeddable: Load modules from load_worker. {detected by Rüdiger Gleim}
  • Embeddable: Add Free_memory method. {detected by Rüdiger Gleim}
  • Embeddable: Change if_exist to call Page_cache. {detected by Rüdiger Gleim}

trivial

  • Wikibase: Fix Wikibase json-entities loader not working.

v3.11.2.1 (2016-11-13)

Wikis

  • Package: Publish 2016-10 French wikis (Wiktionary, Wikisource, Wikivoyage, Wikiquote, Wikibooks, Wikiversity, Wikinews).
Links: Wiki_setup/French_wikis
  • Package: Publish 2016-10 Polish wikis.
Links: Wiki_setup/Polish_wikis
  • Package: Publish 2016-10 Swedish wikis.
Links: Wiki_setup/Swedish_wikis
  • Package: Publish 2016-10 Spanish wikis.
Links: Wiki_setup/Spanish_wikis
  • Package: Publish 2016-11 English Wikipedia.
Links: Wiki_setup/English_wikis

PC

minor

  • Bookmarks: Fix Bookmarks not loading.
Links: Special:XowaBookmarks
  • Wikibase: Fix "Moduł:Wikidane/format/prolepticGregorianCalendar:43" error on many pl.w software pages.
Message: =Moduł:Wikidane/format/prolepticGregorianCalendar:43 attempt to compare number with string expected, got number
Resolved by: Return timezone as integer, not string.
Links: https://pl.wikipedia.org/wiki/Emacs https://pl.wikipedia.org/wiki/Konqueror https://pl.wikipedia.org/wiki/PostgreSQL
  • Wikibase: Fix script error "Division by zero" error on 90 en.w pages.
Message: =Module:Decimals:10 Unable to convert "<strong class="error">Division by zero.</strong>" to a number
Resolved by: Parse numbers with fractions correctly; do not convert to zero.
Links: https://en.wikipedia.org/wiki/Carmen,_Agusan_del_Norte https://en.wikipedia.org/wiki/Malinao,_Aklan https://en.wikipedia.org/wiki/Kalibo https://en.wikipedia.org/wiki/Santo_Domingo,_Albay
  • Wikibase: Fix script error "Formatting error: invalid input when rounding%" error on 90 en.w pages.
Message: Formatting error: invalid input when rounding%
Resolved by: Do not output quantity.unit if it is not a wikidata url.
Example: unit:1 -> "" x> " 1".
Links: https://en.wikipedia.org/wiki/Carmen,_Agusan_del_Norte https://en.wikipedia.org/wiki/Malinao,_Aklan https://en.wikipedia.org/wiki/Kalibo https://en.wikipedia.org/wiki/Santo_Domingo,_Albay
  • Wikibase: Show {{#property}} geo-coordinates in degrees, not raw numbers.
Links: https://en.wikipedia.org/wiki/Carmen,_Agusan_del_Norte https://en.wikipedia.org/wiki/Malinao,_Aklan https://en.wikipedia.org/wiki/Kalibo https://en.wikipedia.org/wiki/Santo_Domingo,_Albay
  • Wikibase: Fix wrong Inception for Earth as well as wrong dates for Julian Calendar entries.
Resolved by: Do not automatically convert dates to julian.
Links: https://www.wikidata.org/wiki/Q2 https://www.wikidata.org/wiki/Q266309
  • Luaj: Fix "Module:Xlat:86" on a few dozen pl.w pages.
Message: =Module:xlat:86 bad argument: number expected, got nil
Resolved by: Handle nil arguments for table.unpack.
Example: table.unpack(nil, nil).
Links: https://pl.wikipedia.org/wiki/Janina_(miasto) https://pl.wikipedia.org/wiki/Exo https://pl.wikipedia.org/wiki/F-ve_Dolls
  • ParserFunctions: Fix wrong number of total pages shown on Main_Page. {detected by anonymous}
Resolved by: Change {{NUMBEROFPAGES}} to read from site_stats.ss_total_pages and {{NUMBEROFARTICLES}} to read from site_stats.ss_good_articles.
Links: https://en.wikipedia.org/wiki/Main_Page
  • Lang.Variants: Fix variants not working in Chinese and other wikis. {detected by anonymous}
Resolved by: Add initialization assertion to variant rule parser.
Links: http://zh.wikipedia.org/wiki/地球
  • Html_dump: Fix wide images on some en.v pages.
Resolved by: If {{#pagebanner}} and __TOC__ are on same page, do not have __TOC__ overwrite {{#pagebanner}}.
Links: https://en.wikivoyage.org/wiki/UNESCO_World_Heritage_List
  • Html_dump: Fix images not showing when going back / forward on wikinews. {detected by Ope30}
Resolved by: Always reload page when going back / forward on wikinews (do not use cached html).
Links: https://en.wikinews.org/wiki
  • Image: Show mockup of commons.wikimedia.org page when clicking on image. {detected by khanhhung2512 }
  • Import.offline: Fix incorrect detection of offline category dump files (.sql.gz2).
  • Import.offline: Clarify 'category' rebuild options.
Links: Dashboard/Import/Offline
  • Import.offline: Do not re-download category dump files when importing wiki. {detected by khanhhung2512 }
  • Import.offline: Use any available category dump, not just those marked "latest". {detected by anonymous}
  • DownloadCentral: Hide outdated wikis in "Imported" table.
  • Embeddable: Add ability to parse wikitext by api. {requested by Rüdiger Gleim}
Links: Dev/Parser/Embeddable
  • Page_history: Add option to log all page visits to a separate file. {requested by anonymous}
Links: Options/Dev

trivial

  • Wikibase: Add olo.wikipedia.org to list of known wikis.
  • Wikibase: Do not escape and repeat calendar data.
Example: "<sup>jul</sup>" x> "&lt;sup>jul&lt;/sup>&lt;sup>jul&lt;/sup>".
Links: https://www.wikidata.org/wiki/Q2
  • DownloadCentral: Move list of languages from UI to DB.
  • DownloadCentral.Package: Generate 2016-10 date when wiki is 2016-09-30.
Resolved by: Add option to manually specify wiki date for new packages.
  • Table_of_contents: Handle unknown tags: dl.
Links: https://pl.wikipedia.org/wiki/Wojska_Lądowe
  • Hzip: Reduce hzip diff log entries for image links in non-English wikis.
Resolved by: Use canonical name, not local name, for images linking to namespaces in other wikis.
Links: https://pl.wikipedia.org/wiki/Terytoria_Północno-Zachodnie

doc

  • Doc: Update list of image databases. {detected by anonymous}
Links: Dashboard/Image_databases

v3.10.4.1 (2016-10-24)

Wikis

  • Package: Publish 2016-10 English Wikis.
Links: Wiki_setup/English_wikis
  • Package: Publish 2016-10 German Wikis.
Links: Wiki_setup/German_wikis

PC

major

  • Import: Fix import error for dewikiquote.
Resolved by: Do not assume same database schema for all Wikimedia wikis.
  • Wikibase: Fix script error "not implemented" on many en.v pages.
Resolved by: Implement entity for renderSnak.
Links: https://en.wikivoyage.org/wiki/Montenegro https://en.wikivoyage.org/wiki/Mongolia
  • Kartographer: Hide random text in many en.v pages.
Resolved by: Hide markup from mapframe / maplink tags.
Links: https://en.wikivoyage.org/wiki/London https://en.wikivoyage.org/wiki/Paris
  • Luaj: Fix script error "bad argument: string expected, got nil" in pronunciation section on many en.d Chinese pages.
Resolved by: Remove nil element from table when nil is 1st member.
Links: https://en.wiktionary.org/wiki/仚 https://en.wiktionary.org/wiki/仛Diagnostics/Scribunto/Luaj
  • DownloadCentral: Add filter by language, type.
  • DownloadCentral: Do not show outdated wikis.

minor

  • Html_dump: Fix 'Refresh' not working for html dumps. {detected by Ope30}
  • Wikibase: Show electricity units in quickbar for many en.v pages.
Resolved by: Reuse quantity.unit code for renderSnake.
Links: https://en.wikivoyage.org/wiki/Mongolia
  • Assessment: Hide [[:Template:#assessment:country]] at bottom of many en.v pages.
Resolved by: Ignore assessment function tag.
Links: https://en.wikivoyage.org/wiki/Mongolia
  • DynamicPageList: Skip invalid category titles; do not treat them as empty category titles.
Example: category={{{2}}}.
Links: https://en.wikinews.org/wiki/Egypt
  • DynamicPageList: Cache category link pages.
Links: https://en.wikinews.org/wiki/Egypt
  • Gallery: If multiple caption arguments, take last, not all of them.
Example: "File:A.png|a|b" -> "b" x> "a|b".
Links: https://fr.wikipedia.org/wiki/Belgique https://github.com/wikimedia/mediawiki/commit/63aeabeff1e098e872cc46f3698c61457e44ba15
  • Import.offline: Do not fail if category files are not available.
  • Import.offline: Do not fail at category for non-WMF wikis (Wikia).
  • Import.offline: Fix import failing if offline dump files are not in '/xowa/wiki/wiki_name'.
Resolved by: Use the directory of offline dump files for category files.
  • Image: Fix hzip diff message for redirected images from one extension (.gif) to another (.png).
Resolved by: Switch img_src and img_trg when loading from imglnk_reg.
Example: Armenica_Ani_map.gif/250px.png.
Links: https://en.wikivoyage.org/wiki/Ani
  • Mass_parse: Fix mass_parse failing on some machines. {detected by Matthias Polag}
Resolved by: Do not return null if MACHINENAME / HOSTNAME is not available.

trivial

  • DownloadCentral: Add option to include patch files.
  • DynamicPageList: Show page title in log message when category is missing.
Links: https://en.wikibooks.org/wiki/Algorithms
  • DynamicPageList: Do not show null ref error in log when invalid category is used.
Links: https://en.wikinews.org/wiki/Egypt https://en.wikinews.org/wiki/Template:Topic_cat/latest
  • Dansguardian: Fix fatal error deleting entries from text table when importing any wiki besides Wikipedia.
Resolved by: Do not consider core database as having 'text' table when running 'text.delete_page'.
  • Dansguardian: Delete search_links from search_link database, not search_core database.
  • Html_dump: Fix thread-safe issues when converting gfs messages.
  • Html_dump: Fix thread-safe issues with Hash_of_ints.
  • Mass_parse: Add option to make_cmd to not delete all html databases.
  • PageBanner: Do not write page banner img.src else hzip_diff will complain for every page.
  • Category: Change 'category not found' errors to log, not warn.
  • Table_of_contents: Handle unknown tags: ruby, rb, rp, rt.

Dev

  • Wikibase: Centralize rendering of claim values ({{#property}} and JSON vs renderSnak and Keyval).

Android

  • DownloadCentral: Add filter by language, type.
  • DownloadCentral: Do not show outdated wikis.

v3.10.3.2 (2016-10-17)

PC

  • DownloadCentral: Show 2016-10 entries for English / German Wikipedia in Download Central. {detected by Ope30}
Resolved by: Include latest download central database.
Links: Wiki_setup/English_wikis Wiki_setup/German_wikis

v3.10.3.1 (2016-10-16)

Wiki

  • Package: Publish 2016-10 English Wikipedia.
Links: Wiki_setup/English_wikis
  • Package: Publish 2016-10 German Wikipedia.
Links: Wiki_setup/German_wikis

PC

major

  • Category: Improve performance for Category pages on non-SSD drives. {detected by Ope30}
Resolved by: Denormalize sortkey from cat_sort table to cat_link table and add explicit index for it.
Links: https://en.wikipedia.org/wiki/Category:Earth https://en.wikipedia.org/wiki/Category:2001_albums https://en.wikipedia.org/wiki/Category:Unprintworthy_redirects
  • Category: Add UCA support for category sorting. {detected by Ope30}
  • Category: Support "uca-default", "uca-*", "uppercase" collations in different wikis.
Example: bin/any/xowa/cfg/wiki.
  • Category: Load catpage wikitext from precompiled HTML and merge with catpage link data.
Links: https://simple.wikipedia.org/wiki/Category:Living_people
  • Scribunto: Fix script error "index is out of bounds" on many en.w geography pages.
Message: Script error: @C:/xowa/bin/any/xowa/xtns/Scribunto/engines/Luaj/MWServer.lua:59 vm error: gplx.Err: index is out of bounds: idx=0 len=0
Resolved by: Handle parser functions with 0 arguments, like {{#coordinates}}.
Links: https://en.wikipedia.org/wiki/New_York_City https://en.wikipedia.org/wiki/Paris
  • Scribunto: Show flags as correct small size not extremely large size.
Resolved by: Evaluate optional args of missing templates.
Example: "size={{{size|}}}" -> "size=" x> "size={{{size|}}}".
Links: https://en.wikipedia.org/wiki/Europe https://en.wikipedia.org/wiki/Template:Country_data_Guernsey
  • Scripting: Add scripting support through standalone js / lua files. {requested by anonymous}
Links: App/Xtn/Scripting


minor

  • Category: Show categories in User / Talk namespace as MISSING.
Links: https://en.wikipedia.org/wiki/Category:2001_albums?pageuntil=WALK%2BON%2BTHE%2BWIRED%2BSIDE,%2BA#mw-pages
  • Category: Fix Category bookmarks not working if bookmarking something past first page.
Resolved by: Write anchor after query args, not before.
Example: Category:2001_albums&pagefrom=Beautiful+View#mw-pages x> Category:2001_albums#mw-pages?pagefrom=Beautiful%2BView.
Links: https://en.wikipedia.org/wiki/Category:2001_albums?pagefrom=Beautiful%2BView#mw-pages
  • Category: Fix "Next 200" not working on category pages when "Next 200" link refers to page with "#". {detected by Ope30}
Resolved by: Do not automatically url-decode query arguments.
Links: https://de.wikipedia.org/wiki/Kategorie:Begriffsklärung
  • Category: Fix rare skipping of one page when pressing "Next 200".
Resolved by: Do not automatically url-decode query arguments.
Example: Category:2001_albums&pagefrom=Nightclubbing+%28Blank+and+Jones+album%29%0ANightclubbing+%28Blank+%26+Jones+album%29#mw-pages.
Links: https://en.wikipedia.org/w/index.php?title=Category:2001_albums&pagefrom=Loving%20Every%20Minute%20(album)#mw-pages
  • Category: Sort headings numerically under 0-9.
Links: https://en.wikipedia.org/wiki/Category:2001_albums
  • Category: Hide "hidden categories" group for wikitext databases (already hidden for HTML databases).
  • Search: Fix "Next" / "Previous" not working on full text search.
Links: https://en.wikipedia.org/wiki/Special:Search/earth?fulltext=y&xowa_page_index=0
  • Options: Fix Shortcuts not saving. {detected by Ope30}
Links: Options/Shortcuts
  • Scribunto: Fix hidden script error on a few dozen en.w observatory pages.
Resolved by: If unit is a wikidata url, show label for that wikidata article, not the wikidata url.
Example: "305±2 meter" x> "305±2 http://www.wikidata.org/entity/Q11573".
Links: https://en.wikipedia.org/wiki/Arecibo_Observatory
  • Setup: Add setup instruction pages to list URLs for specific wikis.
Links: Wiki_setup/Listing
  • File: Add deletion database for 2016-09 English Wikipedia.
Links: Dashboard/Files/Deletion https://archive.org/download/Xowa_enwiki_latest/en.wikipedia.org-file-deletion-2016.09.xowa
  • Html_dump: If option is set to use wikitext, but no wikitext is available, and html is available, just use html.


trivial

  • Setup: Add icu4j library.
Example: bin/any/java/icu4j/icu4j-4_8.jar.
  • Setup: Add xz library (not officially supported).
Example: bin/any/java/xz/xz-1.5.jar .
  • Luaj: Cast string, int, long, double and bool args in method reflection.
  • Luaj: Handle varargs in method reflection.
  • Make.Images: Add builder command to create customized deletion_db for dansguardian wikis.


dev

  • Dev: Refactor Io_stream_rdr.
  • Dev: Refactor Gfo_url_parser.


Android

minor

  • Launch: Ignore application directory which are no longer accessible (removed SD card).

v3.9.4.2 (2016-09-26)

PC

  • Category: Fix categories not showing for pages with more than one word in the page title. {detected by Ope30}
Links: https://en.wikipedia.org/wiki/Leonardo_DiCaprio https://en.wikipedia.org/wiki/Solar_System


v3.9.4.1 (2016-09-25)

Wiki

  • Wiki: Publish 2016-09 French Wikipedia HTML and images.
Links: https://archive.org/details/Xowa_frwiki_latest
  • Wiki: Publish 2016-09 English Wikipedia HTML and images.
Links: https://archive.org/details/Xowa_enwiki_latest
  • Wiki: Publish 2016-09 German Wikipedia HTML and images.
Links: https://archive.org/details/Xowa_dewiki_latest


PC

major

  • Category: Fix category not showing more than 200 items in a category. [broken since: 3.9.2.1]
Links: https://en.wikipedia.org/wiki/Category:Native_American_leaders https://en.wikipedia.org/wiki/Category:Cities_in_Florida https://en.wikipedia.org/wiki/Category:Poisonous_plants
  • Category: Fix dynamic page list not working for DynamicPageList. [broken since: 3.9.2.1]
Links: https://en.wikibooks.org/wiki/Subject:XML https://en.wikibooks.org/wiki/Subject:Religion
  • Category: Fix category not working for www.wikidata.org. [broken since: 3.9.2.1] {detected by Rüdiger Gleim; Ope30}
Links: https://www.wikidata.org/wiki/Category:Help

minor

  • Category: Disable Previous / Next 200 if at start / end of category range.
Links: https://de.wikibooks.org/wiki/Category:Mann
  • Page_sync: Show math images after sync.
Links: https://en.wikipedia.org/wiki/Earth https://en.wikipedia.org/wiki/Pythagorean_theorem
  • Page_sync: Show video images after sync.
Links: https://en.wikipedia.org/wiki/Lepidoptera
  • Page_sync: Show pdf images after sync.
Links: https://en.wikipedia.org/wiki/Apollo_11
  • DownloadCentral: Do not retry endlessly if wrong size downloaded.
  • Scribunto: Fix NullPointerReference script error in geobox coord on 4 en.w pages.
Message: Script error: @C:/xowa/bin/any/xowa/xtns/Scribunto/engines/Luaj/MWServer.lua:59 vm error: java.lang.NullPointerException
Resolved by: Handle gaps in Scribunto argument keys.
Links: https://en.wikipedia.org/wiki/Shalkar_District https://en.wikipedia.org/wiki/Alta_Italia https://en.wikipedia.org/wiki/Maran,_Syria https://en.wikipedia.org/wiki/Château_de_Boisgibault
  • Luaj: Fix script error at head of page for many fr.w pages.
Message: Erreur : le thème « littérature française » du modèle Template:Ébauche n’est pas défini.
Resolved by: Fix regex pattern for matching end of string.
Links: https://fr.wikipedia.org/wiki/Rimbaud_le_fils Diagnostics/Scribunto/Luaj
  • UI: Show pages in MediaWiki namespace.
Links: https://en.wikipedia.org/wiki/MediaWiki:Edittools https://en.wikipedia.org/wiki/MediaWiki:Spam-whitelist
  • Parser: Fix several dozen MediaWiki pages failing to load.
Resolved by: Handle standalone dollar signs and backslashes.
Example: "$ "; "\ ".
Links: https://en.wikipedia.org/wiki/MediaWiki:Edittools https://en.wikipedia.org/wiki/MediaWiki:Spam-whitelist
  • Html_dump: Generate html dump databases by namespace.
Example: en.wikipedia.org-html.002.xowa -> en.wikipedia.org-html-ns.000-db.002.xowa.
  • Html_dump: Add images to specific-ns database not main-ns database.
Example: Portal:Earth -> en.wikipedia.org-file-ns.100-db.001.xowa x> en.wikipedia.org-file-ns.000-db.065.xowa.
  • Options: Do not save options if file is marked read-only. {suggested by malakov1}
Example: C:\xowa\user\anonymous\app\data\cfg\xowa_user_cfg.gfs.
  • Raspberry Pi: Run XOWA GUI on Raspberry Pi. {requested by nstents}
Resolved by: Switch default SWT browser from Mozilla to WebKit.
Example: bin\arm\xowa\cfg\xowa_cfg_os_default.gfs.
  • Raspberry Pi: Use official sqlite-jdbc jar.

Android

minor

  • DownloadCentral: Do not retry endlessly if wrong size downloaded.

Dev

  • Dev: Refactor Xoctg_catpage_url_parser.

v3.9.2.1 (2016-09-11)

PC

major

  • Category: Fix Category pages showing wrong categories. [broken since: v3.8.5.1]
Resolved by: Reset page_id object.
Links: https://en.wikipedia.org/wiki/Category:Earth
  • Html_dump: Show categories for 2016-09 dumps. {requested by Ope30}
Resolved by: Rewrite category system.
  • Html_dump: Add left-hand sidebar for 2016-09 dumps. {detected by Ope30}
Resolved by: Dump MediaWiki namespace (8).
  • Page_sync: Add basic option to synchronize pages. {requested by Mde186}
Links: App/Xtn/Page_sync Options/Page_sync
  • DownloadCentral: Retry for one minute if connection is dropped. {detected by markusmaresch}
  • Scribunto: Show Protection banner boxes for pages.
Resolved by: Fix title.cascadingProtections to return back empty array instead of false.
Links: https://en.wikipedia.org/wiki/Jerk

minor

  • DownloadCentral: Fix Download Central "hanging" on Mac OS X. {detected by markusmaresch}
Resolved by: Set timeout explicitly to 5 seconds.
  • Lang: Fix "Portál [[:Šablona:GRAMMAR]]" in sidebar of cs.q.
Resolved by: Use noop grammar for cs lang.
Links: https://cs.wikiquote.org
  • Cite: Fix stack overflow error on 1 cs.w page.
Links: https://cs.wikisource.org/wiki/Page:Hejčl,_Jan_-_Pentateuch.pdf/128
  • Parser: Ignore stack overflow when parsing badly formatted pages.
Links: https://cs.wikisource.org/wiki/Page:Hejčl,_Jan_-_Pentateuch.pdf/128
  • DownloadCentral: Fix torrent links for non-Wikipedia wikis. {detected by malakov1}
Example: -> Xowa_enwiki_latest_archive.torrent x> Xowa_enwiktionary_latest_archive.torrent.
Links: Special:XowaDownloadCentralInfo?task id=6
  • Database: Fix slow performance when SQLite files are read-only. {detected by Ope30}
Resolved by: Open database connection in "read-only" mode if marked readonly.
Example: properties.setProperty("open_mode", "1").
  • Luaj: Fix random "invalid utf8 byte" errors.
Resolved by: Do not use temporary static variable for decoding UTF-8 strings.
  • Scribunto: Do not show "Wikipedia pages with incorrect protection templates" for protected-pages.
Resolved by: Change titleLib.GetProtectionLevels to return semi-protected instead of null.
Links: https://en.wikipedia.org/wiki/Earth

trivial

  • File_dump: Fix multi-threaded parser issues in orig link.
Resolved by: Extend lock scope over entirety of database lookup.
  • Wikibase: Fix multi-threaded parser issues in Wbase property.
Resolved by: Extend lock scope over entirety of Wbase doc parser.
  • Wikibase: Remove many log entries when opening qid from 2016-08-28 wikidata.
Resolved by: Ignore "id" under entity.value node.
  • Wikibase: Add "tcywiki" to list of known wikis.
  • Parser.Template: Suppress multiple "template is blank" messages in log for de.d.
Resolved by: Ignore templates with blank arguments.
Example: {{K|Politik}} -> {{{{{spr|}}}|nolink=ja}} -> {{|nolink=ja}}.
Links: https://de.wiktionary.org/wiki/país
  • Category: Remove old category builder commands.
  • Builder: Remove old copy, search commands for text databases.

Doc

  • Doc: Add new dependency for imagelinks dump in command-line build. {detected by Rüdiger Gleim}
Links: Dev/Command-line/Dumps
  • Doc: Add new page explaining difference between Wikitext and HTML databases.
Links: App/Databases/Overview

Dev

  • Scribunto: Add traceback for errors.
  • Wikibase: Add Wbase_enum_hash to reuse various enum methods.
  • HTML: Refactor sidebar classes.
  • Category: Refactor Category Pagebox classes.

v3.8.5.1 (2016-08-22)

Wiki

  • Wiki: Publish 2016-08 English Wikipedia HTML and images.
  • Wiki: Publish 2016-08 German Wikipedia HTML and images.

PC

major

  • Html_dump: Show "about this info" button for image maps.
Links: https://en.wikipedia.org/wiki/Philippines
  • Html_dump: Show "packed galleries" with proper spacing.
Links: https://en.wikipedia.org/wiki/Mexico https://en.wikipedia.org/wiki/Austria https://en.wikipedia.org/wiki/National_Gallery_of_Art
  • Html_dump: Show video thumbnails when underlying video is actually an .ogg file.
Example: [[File:A.ogg|thumb|123px]].
Links: https://en.wikipedia.org/wiki/Lepidoptera
  • Lst: Support lsth to transclude sections on other pages.
Example: {{#lsth:page_1|header_1}}.
Links: https://pl.wikivoyage.org/wiki/Wielka_Brytania https://en.wikipedia.org/wiki/10s_BC https://en.wikipedia.org/wiki/Germany_national_football_team

minor

  • DownloadCentral: Add md5 and size. {suggested by malakov1}
Links: Special:XowaDownloadCentralInfo?task id=96
  • DownloadCentral: Add verbose log. {detected by markusmaresch}
Example: xowa.api.addon.bldr.central.log_verbose = 'y';.
Links: Options/Config_script
  • Table_of_contents: Tidy malformed HTML in headers.
Links: https://en.wikipedia.org/wiki/List_of_U-boats_never_deployed
  • Wikibase: Fix script error "Module:Cycling race:1756 attempt to index ?" on a dozen fr.w pages.
Message: Script error: =Module:Cycling race:1756 attempt to index ? (a nil value)
Resolved by: Add redirect support for wikibase pages.
Links: https://fr.wikipedia.org/wiki/Tour_du_Táchira_2016
  • Parser.Xml: Fix broken infobox images inside a few dozen en.w pages.
Resolved by: Do not pop table stack if <tr> prematurely inside lnki.
Example: [[A|t_0<tr><td>t_1</td></tr>]].
Links: https://en.wikipedia.org/wiki/Aargau


trivial

  • Options: Add options for database layout and html / file databases.
Links: Options/Import
  • Parser.Lnki: Fix non-working link on 1 en.w page.
Resolved by: Get wiki's Main_Page for colon-only links.
Example: [[File:A.png|link=w:]].
Links: https://en.wikipedia.org/wiki/Wikipedia:Main_Page_alternative_(CSS_Update)
  • Html: Write target title for redirected images.
Example: [[File:A.png]] is redirected to B.png; -> 'href="B.png"' x> 'href="A.png"'.
Links: https://en.wikipedia.org/wiki/Switzerland
  • Html_dump: Do not output class="thumbimage" for image maps.
Links: https://en.wikipedia.org/wiki/Philippines
  • Wikibase: Do not warn if {{#property}} uses id arg.
Example: {{#property:P277|id=Q1322933}}.
Links: https://en.wikipedia.org/wiki/Symfony

Dev

  • Dev: Refactor lst parser functions.

v3.8.3.1 (2016-08-14)

Android

  • Android: Fix random "Unable to start activity ComponentInfo" when starting XOWA.

v3.8.2.1 (2016-08-07)

Wiki

  • Wiki: Publish 2016-07 Polish Wikipedia, Wiktionary, Wikisource, Wikivoyage, Wikiquote, Wikibooks, Wikiversity, and Wikinews.

PC

major

  • Setup: Fix random "SSL peer shut down incorrectly".
Resolved by: Make "your.org" primary backup url.
Links: https://lists.wikimedia.org/pipermail/xmldatadumps-l/2016-August/001325.html
  • Scribunto: Fix script error for "Module:Effective protection expiry" "malformed expiry timestamp" on many en.w pages. {detected by William}
Resolved by: Change "infinite" to "infinity" for {{PROTECTIONEXPIRY}}.
Links: https://en.wikipedia.org/wiki/Earth
  • Parser: Fix broken infobox tables on many pl.w pages. {detected by anonymous}
Resolved by: Ignore % in xml tag names.
Example: <ref% name=abc>def</ref><references/>.
Links: https://pl.wikipedia.org/wiki/Scynk_nadrzewny
  • Scribunto: Fix missing location maps for many pl.w pages.
Resolved by: Return top-level JSON arrays as numbered nodes.
Links: https://pl.wikipedia.org/wiki/Albania https://pl.wikipedia.org/wiki/Alabama https://pl.wikipedia.org/wiki/Oklahoma_City
  • Scribunto: Fix missing "push buttons" for location maps on many pl.w pages.
Resolved by: Return decimal values as double.
  • Scribunto: Fix missing location maps for many pl.w pages wherein location map info is not available.
Resolved by: Specify width / height as non-null in GetFileInfo.
Links: https://pl.wikipedia.org/wiki/Andrespol

minor

  • Html: Fix "could not find" when clicking on wikis in left-sidebar. [broken since: v3.7.4.1] {detected by anonymous}
Resolved by: Use Main_Page of target wiki, not current wiki.

trivial

  • Messages: Fix "<Please-translate>" showing as "<please-translate>" on 1 s.w page.
Resolved by: For missing messages, always use current key, not key of cached item.
Links: https://simple.wikipedia.org/wiki/Wikipedia:Simple_talk/Archive_116

Dev

  • Html_dump: Pre-load all imagelinks to identify .ogg as audio or video.
Links: https://en.wikipedia.org/wiki/Lepidoptera

v3.8.1.1 (2016-08-01)

Wiki

  • Wiki: Publish 2016-07 Arabic Wiktionary, Wikisource, Wikiquote, Wikibooks, Wikiversity, and Wikinews.


PC

major

  • Redirect: Fix redirect link showing "Redirected from [destination-page]" instead of "Redirected from [source-page]". [broken since: v3.7.1.1]
Links: Blog https://en.wikipedia.org/wiki/UK https://en.wikipedia.org/wiki/Special:Random

minor

  • Redirect: Fix redirect link showing "Redirected from [destination-page]" instead of "Redirected from [source-page]". [broken since: v3.7.1.1]
Links: Blog
  • Wikibase: Fix a few dozen script errors for ClassCast on fr.w pages.
Resolved by: Support "renderSnaks".
Example: Erreur de script: @C:/xowa/bin/any/xowa/xtns/Scribunto/engines/Luaj/MWServer.lua:59 vm error: java.lang.ClassCastException: [Lgplx.Keyval; cannot be cast to java.lang.String.
Links: https://fr.wikipedia.org/wiki/Acte_de_Médiation
  • Wikibase: Fix one script error for ClassCast on en.v pages.
Resolved by: Support "renderSnak".
Links: https://en.wikivoyage.org/wiki/Wikivoyage:Travellers'_pub

Android

  • DownloadCentral: Fix random failure when restarting XOWA while downloading wikis. {detected by anonymous}
Resolved by: Assert application is not null when setting callback.


Dev

  • Source: Refactor wikibase enums.
  • Html_dump: Add html_dump comparision.

v3.7.4.1 (2016-07-25)

Wiki

  • Wiki: Publish 2016-07 English Wikipedia

PC

minor

  • Command-line: Fix automatic deletion of pagelinks file. {detected by anonymous}

trivial

  • Gui: Do not show blank page when restoring page with anchor at application startup.
Example: /home/wiki/Main_Page#Links.
  • Options: Immediately update Enabled flag in Options/Scribunto (instead of forcing reboot).
Resolved by: Invalidate all Scribunto engines across all wikis when disabled.
Links: Options/Scribunto
  • Log: Do not fail with OutOfMemoryError when loading Special:XowaSystemData.
Resolved by: Only show last 1 MB of log file in browser.

Android

  • DownloadCentral: Add screen to change wiki location for XOWA app.
  • DownloadCentral: If unzip fails, restart from verify, not unzip.

Dev

  • Source: Fix thread-safe issues with wikibase and html generation.

v3.7.3.1 (2017-07-17)

Wiki

  • Wiki: Publish 2016-07 French Wikipedia, Wiktionary, Wikisource, Wikivoyage, Wikiquote, Wikibooks, Wikiversity, and Wikinews.

PC

major

  • HtmlView: Support redirects.
Links: https://fr.wikibooks.org/wiki/Portrait https://fr.wikiquote.org/wiki/ https://fr.wikiquote.org/wiki/Paul_%C3%89luard
  • HtmlView: Fix Table of contents not working for entries with <br/>.
Resolved by: Rewrite TOC generator.
Example: ==a<br/>b==.
Links: https://fr.wikipedia.org/wiki/Thermokarst https://fr.wikipedia.org/wiki/Conseil_régional_du_Nord-Pas-de-Calais https://fr.wikipedia.org/wiki/Tour_de_ski_2007-2008
  • HtmlView: Fix Table of contents not working for entries with duplicate entries.
Resolved by: Rewrite TOC generator.
Example: ==a== ==a==.
Links: https://fr.wikipedia.org/wiki/Itanium https://fr.wikipedia.org/wiki/10000 https://fr.wikipedia.org/wiki/Liste_des_microprocesseurs_Intel https://fr.wikipedia.org/wiki/Technology_and_Entertainment_Software
  • HtmlView: Fix Table of contents not working for entries with references.
Resolved by: Rewrite TOC generator.
Example: ==a<ref name="b">c==.
Links: https://fr.wikipedia.org/wiki/Dal
  • HtmlView: Support PageBanner.
Links: https://en.wikivoyage.org/wiki/Paris

minor

  • Gui: Add "cancel" button to Edit pages. {detected by WeaverStever}
  • Css: Fix "indicators" showing in top-left corner.
Resolved by: Update failover.css to use recent versions.
Links: https://en.wikipedia.org/wiki/Earth
  • PageHistory: Fix application close failing when page history has dupe.
Resolved by: Ignore duplicate item in page history.

Dev

  • Source: Make html generation code thread safe.

v3.7.2.1 (2017-07-10)

Wiki

  • Wiki: Publish Haitian wikis. {requested by NickRance}

PC

major

  • Import: Fix 2016-07 English Wikipedia import failing.
Resolved by: Search for "PRIMARY KEY" if "UNIQUE KEY" is missing.
  • HtmlView: Support Table Of Contents.
  • Import: Include mwad (MediaWiki API dump) for creating XML dumps for Wikia and other wikis. {contributed by Mattze96}
Links: App/Import/mwad
  • Install: Require Java 1.7, not Java 1.8. [broken since: v3.3.4.1]

minor

  • Wikibase: Fix script error for "Module:Wikidata:500 unknown datavalue type." on many ht.w pages.
Resolved by: Change "wikibase-entityid" to "wikibase-item".
Example: Erreur de script: =Module:Wikidata:500 unknown datavalue type..
Links: https://ht.wikipedia.org/wiki/Srilanka
  • Wikibase: Show specieswiki links in "In Other Languages". [broken since: v3.6.4.1]
Resolved by: Change "specieswiki" abbreviation from ".species" to "species".
  • Special: Enable delete on Special:XowaWikiInfo.
Links: Special:XowaWikiInfo?wiki=simple.wikipedia.org

trivial

  • Wikibase: Add "jamwiki" to list of known wikis.
  • Lang: Add new languages: aeb-arab; aeb-latn; dty; gor; lki; olo.

Server

major

  • HTTP Server: Fix images not showing when using "text" databases. [broken since: v3.6.3.4] {detected by ve3lst}

Android

minor

  • HtmlView: Ignore Table of Content markers.

Dev

  • Php_parser: Parse "[" and "]" as array.
Example: ['a', 'b'] == array('a', 'b').
  • Source: Make parser code thread safe.
  • Source: Change Scrib_core from static to instance.
  • Source: Refactor Xoa_ttl.
  • Source: Consolidate Redirect methods on Page.

v3.7.1.2 (2017-07-03)

  • Search: Do not fail when searching for multiple words. [broken since: v3.6.3.1] {detected by William; Ope30}
Resolved by: Cast double to int to handle HTML dumps from 2016-05 and earlier.

v3.7.1.1 (2017-07-03)

Wiki

  • Wiki: Publish 2016-06 German Wiktionary, Wikisource, Wikivoyage, Wikiquote, Wikibooks, Wikiversity, and Wikinews.

PC

major

  • HtmlView: Support Gallery.
Links: https://en.wikipedia.org/wiki/Édouard_Manet https://en.wikipedia.org/wiki/List_of_tallest_buildings_in_the_world https://en.wikipedia.org/wiki/National_Gallery_of_Art
  • DownloadCentral: Show error message if error during download; also allow resume.

minor

  • UI: Add Ctrl+P as default keyboard shortcut for Print.
  • UI: Automatically save zoom level when using Ctrl+Wheel_Up, Ctrl+Wheel_Down. {detected by Ope30}
  • UI: Restore font size for tab buttons.

trivial

  • Log: Add logging statements for search.
  • Hzip: Skip manual <h2> if <span> does not have id.
Links: https://fr.wikipedia.org/wiki/Portail:Nord-Amérindiens/Image_sélectionnée
  • Hzip: Skip manual <h2> if <h2> has atrs.
Links: https://fr.wikipedia.org/wiki/Wikipédia:LiveRC/ToDo

Android

major

  • Setup: Detect external storage card for certain devices (BLU-STUDIO C 5+5 LTE).
Resolved by: Try "SECONDARY_STORAGE" environment variable if present.

major

  • DownloadCentral: Fix WAKE_LOCK not being acquired / released.
Resolved by: Always release WAKE_LOCK when task is done; remove WAKE_LOCK from internal hash.
  • DownloadCentral: Fix negative progress when restarting after failed task.
Resolved by: Reset progress at cmd level upon failure.
  • Log: Retain only most recent 8 log files.
  • General: Do not crash when opening new tab and English Wikipedia is not installed.
Resolved by: Use 1st installed wiki if English Wikipedia is not available.
  • General: Do not crash when reloading page but SD card has been removed.
Resolved by: Add try / catch to Page__on_load_end.
  • General: Do not crash when opening wiki but wiki has been deleted.
Resolved by: Add try / catch to OfflinePageStrategy.
  • General: Do not crash when reloading tab but page does not exist.

trivial

  • Redlinks: Fix null ref in logs when opening special pages.
Resolved by: Set "en" as language for home wiki.

Dev

  • Source: Fix compilation issues with Eclipse Neon.
Resolved by: Split classes into separate files.
  • Source: Refactor gallery classes.
  • Source: Make Xop_amp_mgr thread safe.

v3.6.4.2 (2016-06-27)

PC

major

  • DownloadCentral: Fix Images failing b/c Articles already creates image databases.
Resolved by: Release fsdb connections after registering new wiki.
  • DownloadCentral: Add new wiki to left-hand sidebar of wikis.
  • DownloadCentral: Sort work tasks by add-order after reloading page.

minor

  • DownloadCentral: Make minor HTML changes to DownloadInfo, including removing ellipsis and adding URL for wiki.
  • HTML: Remove ellipsis from Wiki Info.


v3.6.4.1 (2016-06-25)

Wiki

  • Wiki: Publish 2016-06 English Wiktionary, Wikisource, Wikivoyage, Wikiquote, Wikibooks, Wikiversity, Wikinews and Species Wiki.
Links: Special:XowaDownloadCentral

PC

major

  • DownloadCentral: Fix Download Central failing for multiple tasks.
Resolved by: Do not make Http_download_wkr a singleton.
  • DownloadCentral: Add screen to show info for each task.
Links: Special:XowaDownloadCentralInfo?task id=1
  • DownloadCentral: Fix Mac OS X and Builder Central for vertical-align text / missing bullet points.
Resolved by: Specify -webkit-align-items; Specify display:inline-block.
  • HTML Databases: Show redlinks for missing pages.
Links: https://en.wikipedia.org/wiki/Arthur_Duffey
  • HTML Databases: Show Timelines.
Resolved by: Add timeline.js if timeline is present.
Links: https://en.wikipedia.org/wiki/Solar_System
  • HTML Databases: Show Gallery horizontally instead of vertically.
Resolved by: Include "mediawiki.page.gallery.css" if page has gallery.
Links: https://en.wiktionary.org/wiki/head https://en.wiktionary.org/wiki/A

minor

  • Template: Show more flag images.
Resolved by: Return template_name and template_args if template_name is invalid, not just template_name.
Example: pass: {{ {{{0}}} | arg_1 | arg_2 }}; fail: {{{{{0}}}}}.
Links: https://en.wikipedia.org/wiki/Flag_of_Greenland https://en.wikipedia.org/wiki/List_of_flags_by_number_of_colors
  • Tag: Show missing content for pages with apostrophes.
Resolved by: Handle apostrophes inside quotes for attributes.
Example: key="a'b" x> key="a".
Links: https://en.wikisource.org/wiki/The_formative_period_in_Colby's_history
  • Template: Show links for next / previous letter in a few dozen en.d pages.
Resolved by: Do not add Template: to transcluded missing pages.
Example: {{:missing}} -> [[:missing]] x> [[Template:Missing]].
Links: https://en.wiktionary.org/wiki/a
  • Interwiki: Change abbreviation for "species.wikimedia.org" to "species" not ".species".
  • Lang: Fix script error on 1 en.d page.
Resolved by: Add "kok" lang.
Links: https://en.wiktionary.org/wiki/नेपाळ

trivial

  • Setup: Show XOWA img on 32-bit xowa.exe.
Resolved by: Use 32px ico instead of 512px.
  • HTTP Server: Do not add "#" to end of url when clicking on img links.
Resolved by: Change href='#' to href='javascript:void(0)'.
  • Hzip: Use correct case for html title if video title is lower-case.
Example: [[File:a.ogv]] -> "a.ogv" x> "A.ogv".
Links: https://de.wiktionary.org/wiki/fappieren
  • Hzip: Fix hzip diff message for </p> </div>.
Resolved by: Do not add </p> if gallery caption has <hr>.
Links: https://fr.wikiversity.org/wiki/Forfry
  • Hzip: Fix hzip diff message for "User talk".
Resolved by: Use underscore version of href for custom namespace title.
Example: "User_talk:A" x> "User talk:A".
Links: https://de.wikibooks.org/wiki/Wikibooks:Benutzersperrung/_InselFahrer

Server

major

  • HTTP Server: Add "Download Central".
Resolved by: Add support for long-polling.
Links: http://localhost:8080/home/wiki/Special:XowaDownloadCentral
  • HTTP Server: Show svg and other file types.
Resolved by: Add more mime_types like svg, tif, web, etc.
Links: http://localhost:8080/home/wiki/Special:XowaDownloadCentral

Android

major

  • DownloadCentral: Fix Download Central failing for multiple tasks.
  • DownloadCentral: Add screen to show info for each task.
  • HTML Databases: Show redlinks for missing pages.
Links: https://en.wikipedia.org/wiki/Arthur_Duffey
  • HTML Databases: Show Timelines.
Resolved by: Add timeline.js if timeline is present.
Links: https://en.wikipedia.org/wiki/Solar_System

Dev

  • Source: Change hash classes from Hashtable to HashMap.

v3.6.3.4 (2016-06-22)

Server

  • HTTP Server: Fix blank pages for wikis downloaded from archive.org (fixed for GUI in 3.6.3.3, but not for HTTP Server). {detected by thombles}


v3.6.3.3 (2016-06-21)

PC

major.fix

  • HtmlView: Fix blank pages for wikis downloaded from archive.org. {detected by thombles}
Resolved by: Fallback to wikitext databases if html databases are not present.
  • DownloadCentral: Fix Download Central icons for Mac OS X.

dev

  • Log: Log Download Central progress to troubleshoot failed completions. {detected by William}


v3.6.3.2 (2016-06-20)

PC

major.fix

  • DownloadCentral: Fix Download Central not resuming after app is restarted.

v3.6.3.1 (2016-06-19)

Wiki

  • Wiki: Publish English Wikipedia (2016-06).
Links: Special:XowaDownloadCentral
  • Wiki: Publish Simple Wikipedia (2016-06).
Links: Special:XowaDownloadCentral

PC

major.add

  • Import: Add Download Central for downloading HTML dumps.
Links: Special:XowaDownloadCentral App/Import/Download_Central
  • HtmlView: Support Android HTML databases.
Links: Options/HTML_databases
  • Search: Change search-ranking algorithm to reduce importance of short pages.
Example: search -> search for I -> Integrated Authority File should not be in top 10 search results.
Links: https://en.wikipedia.org/wiki/Special:Search?search=earth&full_text=y&simple_search=y

major.fix

  • ImageMap: Show ImageMap in HTML dumps (for 2016-07 English Wikipedia).
Links: https://en.wikipedia.org/wiki/Kingdom_(biology) https://en.wikipedia.org/wiki/Paris https://en.wikipedia.org/wiki/Mars
  • Gallery: Show Gallery with correct image margins (for 2016-07 English Wikipedia).
Links: https://en.wikipedia.org/wiki/National_Gallery_of_Art

minor.fix

  • Scribunto: Fix 'Module:CountryData' script error on several dozen en.w pages.
Message: Script error: =Module:CountryData:13 bad argument: string expected, got nil
Links: https://en.wikipedia.org/wiki/Flag_of_Greenland https://en.wikipedia.org/wiki/List_of_flags_by_number_of_colors
  • Scribunto: Fix 'could not parse redirect' script error on a dozen en.w pages.
Message: Script error: =Module:Redirect:66 could not parse redirect on page "SRK"
Links: https://en.wikipedia.org/wiki/Shah_Rukh_Khan
  • Search: Fix search not working if word is also in non-main namespace.
Resolved by: Apply min / max only if less than / greater than existing value.
Links: https://en.wikipedia.org/wiki/Special:Search?search=dokuw&fulltext=y&simple_search=y
  • Special: Allow case insensitive titles for Special pages.
Links: https://en.wikipedia.org/wiki/Special:sEARch?search=Earth
  • Special: Allow multiple-word aliases for Special pages.
Links: https://de.wikipedia.org/wiki/Spezial:Zufällige_Seite

minor.change

  • Database: Change small wikis to produce core and text databases.
Example: simple.wikipedia.org-text.xowa -> simple.wikipedia.org-core.xowa; simple.wikipedia.org-text.xowa .

trivial.fix

  • Database: Ignore tables / indexes with unparseable sql.

Android

major.add

  • Import: Add Download Central for downloading HTML dumps.
  • Special: Add page to show wiki info and delete.
  • Special: Add page for logging.
  • Special: Redesign Special pages to have unified look.

minor.change

  • Android: Hide "View in browser", "Last updated", and "CC license" for Special pages.
  • Android: Change page title from Android TextView to HTML div.
  • General: Flattened XOWA icon.

Server

major.add

  • HtmlView: Support Android HTML databases.
Links: Options/HTML_databases

major.fix

  • Search: Fix broken full-search page. {detected by thombles}
Links: http://localhost:8080/en.wikipedia.org/wiki/Special:Search?search=Earth&fulltext=y&simple_search=y

Doc

  • Doc: Add more information on portable JRE / Pale Moon. {assisted by anonymous}
Links: App/Setup/Installation App/Setup/Flash_card App/Xtn/Browser/XOWA_viewer
  • Doc: Clarify decompress dump file vs read from compressed. {requested by anonymous}
Links: Dashboard/Import/Offline
  • Doc: Add more info to Privacy Policy for "Read External Storage", "Wake Lock", and "Logs".
Links: Help/Privacy/Android

Dev

  • Source: Reorganize gfui package.

v3.5.1.1 (2016-05-01)

Windows / Linux / Mac OS X

minor.fix

  • Scribunto: Fix categorytree script error on many en.d pages. Message: Script error: @C:/xowa/bin/any/xowa/xtns/Scribunto/engines/Luaj/MWServer.lua:59 vm error: gplx.Err: callParserFunction: function was not found: function=#categorytree
Resolved by: Implement basic functionality for {{#categorytree}}.
Links: https://en.wiktionary.org/wiki/a-
  • Scribunto: Fix 'parameter "2" is required' script error on several dozen English Wikipedia category pages. Message: Script error: =Module:parameters:175 The parameter "2" is required.
Resolved by: Add entries for null value arguments. Example: [2:'b'] -> [1:null,2:'b'].
Links: https://en.wiktionary.org/wiki/Category:Nouns_by_language
  • Scribunto: Fix cast failed error on several dozen en.d pages. Message: Script error: @/C/xowa/bin/any/xowa/xtns/Scribunto/engines/Luaj/MWServer.lua:59 vm error: gplx.Err: cast failed: type=java.lang.String
Resolved by: Always convert replace-arg to string when gsub uses callback function.
Links: https://en.wiktionary.org/wiki/seven https://en.wiktionary.org/wiki/four https://en.wiktionary.org/wiki/eight
  • Scribunto: Fix format link script error on a few dozen en.d pages. Message: Script error: =Module:template 'Link':367 attempt to call nil
Resolved by: Return correct data structure for interwikiMap.
Links: https://en.wiktionary.org/wiki/Wiktionary:Public_domain_sources https://en.wiktionary.org/wiki/Wiktionary:Quotations/Templates
  • Scribunto: Fix class cast error on a few dozen en.d pages. Message: Script error: @C:/xowa/bin/any/xowa/xtns/Scribunto/engines/Luaj/MWServer.lua:59 vm error: java.lang.ClassCastException: org.luaj.vm2.LuaNil cannot be cast to org.luaj.vm2.LuaTable
Resolved by: Handle UCS chars at end of array.
Links: https://en.wiktionary.org/wiki/one
  • Scribunto: Fix 'number required' script error. Message: Script error: =Module:Roman:119 attempt to call nil
Resolved by: Allow int to be passed to pf.expr.
Links: https://en.wikipedia.org/wiki/531_BC
  • Url: Fix wrong-casing when navigating from home wiki to English Wiktionary.
Resolved by: Use case-sensitivity of url wiki not current wiki.
Links: https://en.wiktionary.org/wiki/one

doc

  • Doc: Correct broken links to missing /Overview pages. {detected by Miles}
Links: Dashboard/Wiki_maintenance

v3.4.4.1 (2016-04-24)

Windows / Linux / Mac OS X

package

  • Package: Release German wikis (2016-04).
Links: https://archive.org/details/Xowa_dewiki_latest

minor.fix

  • Luaj: Fix multiple error log messages for Module:Sort in de.w pages. Message: Skriptfehler: =Module:Sort:93 'for' initial value must be a number
Resolved by: Do not assign character classes to bytes > 128. Example: {{#invoke:AdressenSort|convert|1=, ß}} -> , ß x �.
Links: https://de.wikipedia.org/wiki/Liste_der_Kulturdenkmäler_in_Kaiserslautern
  • Hzip: Serialize media_play link.

trivial.fix

  • Scribunto: Fix ClassCast script error on 3 de.w pages. Message: Skriptfehler: @C:/xowa/bin/any/xowa/xtns/Scribunto/engines/Luaj/MWServer.lua:59 vm error: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
Resolved by: Allow ints to be passed as title. Example: {{#invoke:Pinging|massmessage|#{{PAGEID}}|@=|:=}} .
Links: https://de.wikipedia.org/wiki/Wikipedia:Lua/Modul/Pinging/Test/recipients https://de.wikipedia.org/wiki/Wikipedia:Checkuser/Berechtigte https://de.wikipedia.org/wiki/Wikipedia:Importwünsche/Importeure
  • Scribunto: Fix ClassCast script error on 1 de.v page. Message: Skriptfehler: @C:/xowa/bin/any/xowa/xtns/Scribunto/engines/Luaj/MWServer.lua:59 vm error: gplx.Err: val is not in switch/if: val=java.lang.Double – Breite:
Resolved by: Handle double for replace arg in ustring.gsub.
Links: https://de.wikivoyage.org/wiki/Wikivoyage:Wikidata/Test_Modul:Wikidata2
  • ParserFunctions: Fix IndexOutOfBounds log error on 1 fr.w page.
Resolved by: Allow empty string for Raw argument in PAGESFORCATEGORY. Example: 0.
Links: https://fr.wikipedia.org/wiki/Projet:Venezuela
  • DynamicPageList: Fix IndexOutOfBounds log error on 1 de.n page.
Resolved by: Handle multiple bad keys on one line. Example: \nbad1=a bad2=b\n.
Links: https://de.wikinews.org/wiki/Portal:Brandenburg
  • Hzip: Store title attribute for Wikivoyage sleep, eat, drink, etc. on 20+ de.v pages.
Links: https://de.wikivoyage.org/wiki/Cairns
  • Hzip: Serialize email node for Wikivoyage email on 10+ de.v pages.
Links: https://de.wikivoyage.org/wiki/Bansin

Android

major.fix

  • Android: Do not crash if file-user.xowa is not available.

trivial.fix

  • Android: Use correct css for Special:XowaWikis.
Resolved by: Convert byte[] to string for call to xowa__html__add__head.

v3.4.3.1 (2016-04-17)

Windows / Linux / Mac OS X

major.fix

  • Parser: Fix Random pages not showing in Portal. [broken since: v3.3.4.1]
Resolved by: Serialize long for Luaj.
Links: https://en.wikipedia.org/wiki/Portal:Earth_sciences
  • Html: Fix "Other wikis" not showing in home wiki. [broken since: v3.4.2.1]
Resolved by: Add empty h3 after div logo.
  • Html: Fix {{#DISPLAYTITLE}} not showing. [broken since: v3.1.5.1]
Resolved by: Pass display_title info to new page_banner manager.
Links: http://en.wikipedia.org/wiki/gzip Diagnostics/ParserFunctions/DisplayTitle
  • Parser: Fix broken script error "table expected, got nil" on a few dozen de.w pages. Message: Skriptfehler: @C:/xowa/bin/any/xowa/xtns/Scribunto/engines/LuaCommon/lualib/mwInit.lua:18 bad argument: table expected, got nil
Resolved by: Change server name to "//de.wikipedia.org" not "https://de.wikipedia.org".
Links: https://de.wikipedia.org/wiki/Giro_d’Italia_1996

minor.fix

  • Parser: Fix broken tabs in <tabber> tag.
Resolved by: Split only on first =, not on all of them.
  • Parser: Add parser for <TabView>. {requested by anonymous}
Links: Diagnostics/Xtns/Wikia/All
  • Config: Do not keep downloading from Wikimedia Api if wiki was imported in offline mode.
Resolved by: Ignore fallback entries in site_cfg.

doc

  • Doc: Change domain to http://xowa.org. {assisted by anonymous4}
Links: http://xowa.org
  • Doc: Export all home wiki pages to http://xowa.org.
Links: http://xowa.org/home/wiki/Help/Contents.html


Android

major.add

  • App: Release XOWA Android to Play Store. {assisted by anonymous4}
Links: https://play.google.com/store/apps/details?id=org.xowa
  • App: Support Android KitKat devices. {assisted by anonymous4}
Resolved by: Add multidex support.
  • UI: Add icons for different resolutions.
  • UI: Remove non-XOWA settings from settings screens.
  • UI: Remove "Event logging", "Auto-log crash reports" and other settings.


v3.4.2.1 (2016-04-10)

Windows / Linux / Mac OS X

major.fix

  • Search: Reduce build time for search databases. {detected by William}


major.package

  • Package: Upload consolidated images for English Wikipedia.
Links: https://archive.org/details/Xowa_enwiki_latest


minor.add

  • CSS: Update home CSS files to latest version from English Wikipedia. {detected by William}
  • Parser: Add parser for RandomSelection tag. {requested by anonymous} Example: <choose><option>A</option><option>B</option></choose>.
Links: Diagnostics/Xtns/Wikia/All
  • Parser: Add parser for Tabber tag. {requested by anonymous} Example: <tabber>tab1=A|-|tab2=B</tabber>.
Links: Diagnostics/Xtns/Wikia/All


Android

major.add

  • UI: Add "Import New Wikis" page. {assisted by anonymous4}
  • UI: Add "Wikis" list page.


minor.fix

  • UI: Do not crash when pressing Random in home wiki. {detected by anonymous4}
  • UI: Do not crash when pressing XOWA after History.
  • UI: Remove "Nearby" pages.
  • UI: Remove "Log in to Wikipedia".


v3.4.1.1 (2016-04-04)

Windows / Linux / Mac OS X

major.fix

  • Import: Fix offline import for large wikis. {detected by MacSquirrel-Jedi}
Links: Dashboard/Import/Offline
  • Database: Open old .sqlite3 wikis. {detected by William}
Resolved by: Parse SQL comments in SQL master.
  • Import: Allow upgrade of search for old .sqlite3 wikis. {detected by William}


major.add

  • Files: Add page to delete old unused images.
Links: Dashboard/Files/Deletion


package

  • Package: Release French Wikipedia 2016-03.
Links: https://archive.org/details/Xowa_frwiki_latest

v3.3.4.1 (2016-03-27)

Windows / Linux / Mac OS X

major.add

  • Search: Add autocomplete to url bar.
Links: App/Search/Address_bar
  • Search: Improve performance of searches.
  • Search: Assign numeric score to pages using PageRank.
Links: Options/Search
  • Search: Handle titles with punctuation like "GNU/Linux", "o'clock", "Faster-than-light", "History of U.S.A. Science", "20,000_Leagues_Under_the_Sea" etc..
  • Search: Improve boolean searches.
Links: App/Search
  • Doc: Add search capabilities to the home wiki.
Resolved by: Upgrade home wiki to new search system.


minor.fix

  • Scribunto: Fix script error on English Wikipedia category pages. Message: Script error: =Module:progress box:59 attempt to index ? (a number value)
Resolved by: Support "*" for Scribunto "pagesInCategory".
Links: https://en.wikipedia.org/wiki/Category:Articles_lacking_sources_from_February_2009
  • Wikibase: Add hyperlinks to taxonomy navbar for about a few hundred en.w pages.
Resolved by: Support "from" atribute in "{{#property}}". Example: {{#property:p1|from=p2}}.
Links: https://en.wikipedia.org/wiki/Golden_eagle
  • UI: Allow keybindings for all punctuation symbols.
Resolved by: Assign keycodes based on SWT const values.


minor.add

  • Database: Minor performance improvements.
Resolved by: Upgrade sqlite-jdbc to 3.8.2.
  • Setup: Always list correct version number in windows.exe files. {detected by anonymous}
  • Extension.NewWindowLink: Handle {{#NewWindowLink}} for wikia wikis. {requested by anonymous}


trivial.add

  • Wikibase: Add "adywiki" to list of known wikis.
  • Wiki: Change site_stats from int to long.


Android

major.fix

  • Search: Improve performance and accuracy of searches.
Resolved by: Remove unnecessary level of threading.
  • Javascript: Fix table collapse / expand buttons not working.
Resolved by: Change javascript to call tableFull.setAttribute("style", 'display:none !important');.
  • Search: Allow search for apostrophe words. {detected by anonymous4}
Resolved by: Search using prepared statements, not dynamic SQL. Example: search for "o'clock".
  • Search: Allow search for "and", "or".
Resolved by: Change boolean AND operator to be "+" and OR operator to be ",".


v3.2.1.1 (2016-01-31)

Windows / Linux / Mac OS X

major.fix

  • Search: Fix search not working. [broken since: v3.1.1.1]
Resolved by: Assign correct word ids to search word.
Links: https://en.wikipedia.org/wiki/Special:Search?search=Earth&fulltext=y
  • Html: Fix English Wiktionary sections defaulting to collapsed but showing "hide". [broken since: v3.1.5.1]
Resolved by: Change mediawiki.gadget.navframe.js to explicitly set style.display.
Links: https://en.wiktionary.org/wiki/green

major.add

  • Build: Build application package for Raspberry Pi. {contributed by yonisolo}

package

  • Package: Release English Wikipedia (2016-01).
Links: https://archive.org/details/Xowa_enwiki_latest
  • Package: Release English Wikis (2016-01).
Links: https://archive.org/details/Xowa_enwiki_latest

doc

  • Doc: Modify "Change log" entries to be more user-oriented.

v3.1.5.1 (2016-01-31)

Windows / Linux / Mac OS X

major

minor

trivial

  • Xtn.Mapsources: Parse key-value pairs from nested template calls. Resolves potential incorrect values for {{#dd2dms}} .
  • Import.Dansguardian: Fix page-redirection-deletion for en.wikipedia.org.

Android

major

v3.1.4.2 (2016-01-28)

Windows / Linux / Mac OS X

major

trivial

  • Log: Do not log warnings when building category version1. Resolves numerous non-meaningful error messages in the log file.


v3.1.4.1 (2016-01-24)

Windows / Linux / Mac OS X

major

minor

trivial

  • Hzip: Write file-title with correct case-sensitivity for wikis with a case-sensitive [[File:]] namespace.
  • Html: Never change title bytes when passed to Xof_file_wkr_.Ttl_standardize(title) (nothing known in pc; affects hzip check for image links). See: https://en.wiktionary.org/wiki/freedom_of_speech

doc

  • Home: Redefine categories for Change log.

Android

major


v3.1.3.1 (2016-01-17)

Windows / Linux / Mac OS X

add

significant

minor

  • Gallery: Ignore items with invalid file titles; EX:<gallery>File:#A.png</gallery>.
  • Url: Output "" instead of "file:///" if src is unknown.

trivial

Android

fix

  • Setup: Do not write log to SD card {detected by anonymous}.

add

  • Special: Implement random.

change

significant

  • Html: Center gallery images.

minor

v3.1.1.1 (2016-01-03)

fix

  • Search: Generate correct counts for search words (affects search results sometimes being off). [broken since:v2.4.4]
  • Url: Fix IPA audio links (affects IPA audio links would not download pronunciations when clicked); EX:[[File:A.png|link=file:///C:/A.png]] x> href='/wiki/file:///C:/A.png'. See: https://en.wikipedia.org/wiki/Beethoven [broken since:v2.8.1]

change

significant

minor

  • Parser.Lnki: Handle link arguments to anchors within current page (affects links not working for images if they link to section within current page); EX:[[File:A.png|link=#B]]. See: https://en.wikipedia.org/wiki/History_of_Nauru

trivial

Namespaces

XOWA

Getting started

Android

Help

Blog

Donate