# Change log/2015

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

## v2.12.1.1 (2015-12-07)

package

- Package: Release image update for Italian wikis (2015-11). See: https://archive.org/details/Xowa_itwiki_latest

change

- References: Do not duplicate references if inside <poem> within a <page> (affects duplicate references on many wikisource pages). See: https://it.wikisource.org/wiki/La_Secchia_rapita/Canto_primo
- Poem: Handle recursive poems particularly inside references (affects poems showing incorrect reference text). See: https://it.wikisource.org/wiki/La_Secchia_rapita/Canto_primo
- ImageMap: Do not clear scribunto for image map (affects script error on many dozen it.s pages). See: https://it.wikisource.org/wiki/La_guerra_del_vespro_siciliano/Indice https://it.wikisource.org/wiki/Delle_Frascherie_di_Antonio_Abati_fasci_tre/Tavola_delle_poesie https://it.wikisource.org/wiki/Pensieri_e_giudizi/Indice_dei_nomi https://it.wikisource.org/wiki/Patria_Esercito_Re/Indice_generale
- Scribunto.Text: Detect integer keys for json_decode (affects script error on 1 it.s page). See: https://it.wikisource.org/wiki/Il_Re_Cervo
- Xtn.Mapsources: Handle coordinates with ’’ (affects script error on 1 it.v page). See: https://it.wikivoyage.org/wiki/Morro_d'Oro

minor

- Parser.Table: Ignore sequences like "\n| ... ||" (affects broken table on 1 nl.w page). See: https://nl.wikipedia.org/wiki/Tabel_van_Belgische_gemeenten
- File: Handle invalid file-system characters for file titles (affects files with quotes and other invalid file-system characters not downloaded when clicking on image). See: https://en.wikipedia.org/wiki/File:Volcán_Chimborazo,_%22El_Taita_Chimborazo%22.jpg
- Html: Encode quotes for xowa_title (affects files not downloadable if file name has quotes); EX:xowa_title="A"B.png". See: https://en.wikipedia.org/wiki/Earth
- Html: Encode headers with literal Category links (affects table of contents link not working if section header has category link); EX:[[:Category:A]] -> id="Category:A" x> "". See: https://simple.wikipedia.org/wiki/Wikipedia:Requests_for_deletion/Log_1
- Interwiki: Show "[[nb:]]" and "[[lzh:]]" in "In other languages". See: https://nn.wikipedia.org/wiki/

trivial

- Namespace: Standardize talk names to underscore, not space; EX:"Help_talk" not "Help talk".
- Html: Do not write "title" if empty; EX:title="".
- Html: Convert spaces to underscores for link arguments; EX:[[File:A.png|link=File:A b.ogg]] -> "/wiki/A_b.ogg" x> "/wiki/A_b.ogg".
- Html: Convert tab / new-lines to spaces for titles; EX:[[A|B\nC]].
- Html: Convert quotes in internal links for titles (affects garbled titles for some images); EX:[[A|B"C]].
- Make.Images: Ignore files with no text (affects generates log errors of "failed to parse page_name error"). See: https://it.wiktionary.org/wiki/miercuri

doc

- Website: Fix links for French Wikipedia text {detected by anonymous}. See: https://archive.org/download/Xowa_frwiki_latest/Xowa_frwiki_2015-11-02_text.7z

## v2.11.4.1 (2015-11-22)

fix

- Parser.Template: Do not trim whitespace from end of template arg (affects many fr.w pages with many single-letter paragraphs (citation bloc)). See: https://fr.wikipedia.org/wiki/Histoire_de_la_marine_française_sous_Louis_XV_et_Louis_XVI [broken since:v2.11.2]
- Category: Fix category pages not loading. See: https://simple.wikipedia.org/wiki/Category:Computer_science

package

- Package: Release image update for French wikis (2015-11). See: https://archive.org/details/Xowa_frwiki_latest
- Package: Release image update for Lithuanian wikis (2015-11). See: https://archive.org/details/Xowa_ltwiki_latest
- Package: Release image update for Limburgish wikis (2015-11). See: https://archive.org/details/Xowa_liwiki_latest
- Package: Release image update for Estonian wikis (2015-11). See: https://archive.org/details/Xowa_etwiki_latest
- Package: Release image update for Latvian wikis (2015-11). See: https://archive.org/details/Xowa_lvwiki_latest
- Package: Release image update for Nynorsk wikis (2015-11). See: https://archive.org/details/Xowa_nnwiki_latest
- Package: Release image update for Cebuano wikis (2015-11). See: https://archive.org/details/Xowa_cebwiki_latest

significant

- Parser.Table: Ignore content after "|" if on same line as "|-" (affects several li.w pages with stray text at top of page); EX:"\n|-|<b>a</b>\n" -> "<b>a</b>" should not show. See: https://lv.wikipedia.org/wiki/Starptautiskā_kosmosa_stacija

trivial

- Html: Write full namespace for anchor titles; EX:[[Help talk:A]] -> "title='Help talk:A'" x> "title='A'".
- Html: Do not write "rel=nofollow" if image is link to Wikimedia wiki; EX:[[File:A.png|link=//en.wiktionary.org/wiki/a]] -> "" x> "rel='nofollow'".

dev

- Source: Refactor Gfo_url_encoder.

## v2.11.3.1 (2015-11-15)

fix

- Redirect: Navigate to correct REDIRECT url when REDIRECT page has multiple links (affects "1. REDIRECT " showing up on pages). See: https://en.wikipedia.org/wiki/Earth [broken since:v2.11.2]
- Url: Parse "url-like" page names (affects some links not being clickable); EX:"/wiki/http://a.org" {detected by paul2520}. See: https://esolangs.org/wiki/Language_list https://esolangs.org/wiki//// [broken since:v2.8.1]

change

- Scribunto.Wikibase: For frame title, use canoncial namespace name, not local-language namespace name (affects several dozen sh.w pages with script error). See: https://sh.wikipedia.org/wiki/Cirnik_(Trebnje,_Slovenija) https://sh.wikipedia.org/wiki/Okroglo_(Naklo,_Slovenija)

package

- Package: Release image update for Slovak wikis (2015-11). See: https://archive.org/details/Xowa_skwiki_latest
- Package: Release image update for Waray-Waray wikis (2015-11). See: https://archive.org/details/Xowa_warwiki_latest
- Package: Release image update for Slovenian wikis (2015-11). See: https://archive.org/details/Xowa_slwiki_latest
- Package: Release image update for Galician wikis (2015-11). See: https://archive.org/details/Xowa_glwiki_latest

## v2.11.2.1 (2015-11-08)

fix

- Url: Navigate to original REDIRECT page when clicking on "Redirected from" links (affects "Redirected from" links not working). See: https://da.wikipedia.org/wiki/Template:Lolland?redirect=no [broken since:v2.8.1]
- Url: Show interwiki links in article text, not in "In other langauges" (affects empty links showing up on some pages). See: https://simple.wikipedia.org/wiki/Main_Page [broken since:v2.10.2]

change

- Gallery: Add mediawiki.page.gallery.css (affects <gallery> rendering as list items on many pages). See: https://simple.wikipedia.org/wiki/Gothic_architecture https://da.wikipedia.org/wiki/Middelaldercentret
- Scribunto.Title: Use canoncial namespace name, not local-language namespace name (affects broken location maps on many pages in many non-English wikis); EX:newTitle("Šablon:Location_map") -> "Template:Location_map" x> "Šablon:Location_map". See: https://sh.wikipedia.org/wiki/Koprno
- Parser.Template: Trim white space from end of template arg (affects references having empty <pre> sections); EX:{{A|b\n }} x> should not generate pre. See: https://simple.wikipedia.org/wiki/Gothic_architecture https://no.wikipedia.org/wiki/Israel

package

- Package: Release image update for Danish wikis (2015-11). See: https://archive.org/details/Xowa_dawiki_latest
- Package: Release image update for Serbo-Croatian wikis (2015-10). See: https://archive.org/details/Xowa_shwiki_latest
- Package: Release image update for Croatian wikis (2015-11). See: https://archive.org/details/Xowa_hrwiki_latest
- Package: Release image update for Estonian wikis (2015-10). See: https://archive.org/details/Xowa_eowiki_latest

significant

- Scribunto.Wikibase: Retrieve property by numerical id (affects text not showing in infoboxes for many Croatian pages); EX:entity.FormatPropertyValues('P123'). See: https://hr.wikipedia.org/wiki/Hepatitis
- Scribunto.Wikibase: Return datatype of "globe-coordinate" (affects geocordinates not working on a dozen pages in eo.w); EX:prop.mainsnak.datatype should not be nil. See: https://eo.wikipedia.org/wiki/Mudá
- Scribunto.Wikibase: Return quantity as number not as literal string (affects script error on a dozen pages in eo.w); EX:"99" not "+99". See: https://eo.wikipedia.org/wiki/Mudá
- Redirect: Ignore other arguments of redirect (affects "1. REDIRECT " showing up on pages); EX:#REDIRECT [[Template:A|state=collapsed]]. See: https://da.wikipedia.org/wiki/Middelaldercentret
- JTidy: Enable "encloseBodyText" (affects text not showing next to images); EX:<div>a</div>a<div>b</div> -><div>a</div><p>a</p><div>b</div>. See: https://hr.wiktionary.org/wiki/brod

trivial

- Edit: Do not fail when retrieving page with no content (affects some pages in home wiki). See: Blog/Archives/2015-01

doc

- Diagnostics: Add better messages for JTidy diagnostics. See: Diagnostics/HTML_Tidy Diagnostics/JTidy

dev

- Source: Change test output for non-equal strings.

## v2.11.1.1 (2015-11-02)

change

- ParserFunctions: Calculate correct Hebrew date (affects script error on many he.w pages). See: https://he.wikipedia.org/wiki/מהר"ל_מפראג https://he.wikipedia.org/wiki/רש"י https://he.wikipedia.org/wiki/אברהם_יצחק_הכהן_קוק https://he.wikipedia.org/wiki/אלעזר_מנחם_מן_שך https://he.wikipedia.org/wiki/ויקיפדיה:עמוד_ראשי/מקבץ_ערכים
- ParserFunctions.Grammar: Implement Hebrew grammar (affects sidebar showing grammar for some Hebrew wikis). See: https://he.wikibooks.org/wiki/עמוד_ראשי

package

- Package: Release image update for English Wikipedia (2015-10). See: https://archive.org/details/Xowa_enwiki_latest
- Package: Release image update for Hebrew wikis (2015-10). See: https://archive.org/details/Xowa_hewiki_latest
- Package: Release image update for Norwegian wikis (2015-10). See: https://archive.org/details/Xowa_nowiki_latest
- Package: Release image update for Vietnamese wikis (2015-10). See: https://archive.org/details/Xowa_viwiki_latest

significant

- ParserFunctions: Default date to today for unavailable parts (affects wrong date showing on some pages); EX:{{#time:Y-m-d|2015}} -> "2015-10-26" x> "2015-01-01". See: https://en.wikipedia.org/wiki/Mariyinsky_Palace
- Xml_dump: Use <siteinfo>'s <case>, if case attribute is not available at "<namespace>" level (affects some xml dumps not being importable) {detected by paul2520}. See: https://dumps.wikimedia.org/sep11wiki
- Parser.Lnki: Use 1st imagetype argument when multiple are listed of "thumb|frame|frameless" (affects some pages showing incorrectly sized images); EX:[[File:A.png|thumb|frame]] -> thumb x> frame. See: https://he.wikipedia.org/wiki/מספן_המודיעין

trivial

- Scribunto: Handle StackOverflow errors in Module code (affects 1 vi.w page failing to load). See: https://vi.wikipedia.org/wiki/Hyderabad,_Sindh

dev

- Source: Move gplx.ios to gplx.core.ios.
- Source: Clean up gplx.xowa.htmls.
- Source: Clean up Html_dump classes.

## v2.10.3.1 (2015-10-18)

fix

- File: Fix files not downloading for commons.wikimedia.org {detected by Miles}. See: https://commons.wikimedia.org/wiki/Commons:Featured_pictures [broken since:v2.10.2.1]
- Xtn.Translate: Always enable <translate> (affects <translate> and <languages> not working on some www.mediawiki.org pages). See: https://www.mediawiki.org/wiki/Download [broken since:v2.10.2.1]

change

- Lang: Handle variants inside html tags (affects incorrect content for some pages on Chinese / Serbian wikis); EX:<img id='hk' title='hk-{hk}-hk' class='hk'/>. See: https://sr.wikinews.org/wiki/Проглашени_победници_„Вики_воли_Земљу"
- ParserFunctions: Support "pages", "files", "subcats" for {{PAGESINCATEGORY}} (affects expression error on some pages). See: https://zh.wikipedia.org/wiki/Wikipedia:电子游戏专题/状态图表 https://commons.wikimedia.org/wiki/Commons:Featured_pictures
- Xtn.Intersection: Do not fail if ordermethod is invalid (affects missing content on some pages). See: https://sr.wiktionary.org/wiki/Викиречник:Википројекат_1001_арапска_реч/Списак_уноса

package

- Package: Release image update for Serbian wikis (2015-10). See: https://archive.org/details/Xowa_srwiki_latest
- Package: Release image update for Malay wikis (2015-10). See: https://archive.org/details/Xowa_mswiki_latest
- Package: Release image update for Bulgarian wikis (2015-10). See: https://archive.org/details/Xowa_bgwiki_latest

minor

- Javascript: Position notification in "top center" not "top right". See: Options/Window

trivial

- Diagnostics: Fix broken diagnostic for Wikivoyage. See: Diagnostics/Xtns/Wikivoyage/All

doc

- Doc: Add documentation for standalone JRE {detected by Miles}. See: App/Setup/Installation_to_a_flash_memory_card
- Doc: Fix url for English Wikipedia images for Portal, Wikipedia and other namespaces {detected by Miles}. See: https://archive.org/download/Xowa_enwiki_latest/Xowa_enwiki_2015-06-02_file_v2b_wiki_file_ns-100.7z

dev

- Source: Cleanup xowa namespaces.

## v2.10.2.1 (2015-10-11)

major

- Luaj: Increase maximum number of Lua local variables from 200 to 249 (affects broken references on 2.6 million en.w pages from 2015-10 dump). See: https://en.wikipedia.org/wiki/Earth https://en.wikipedia.org/wiki/Module:Citation/CS1 http://www.lua.org/source/5.1/luaconf.h.html
- Lang: Support variant syntax for Chinese / Serbian languages (affects Chinese / Serbian pages not rendering correctly). See: https://sr.wikipedia.org/sr-ec/Земља https://sr.wikipedia.org/sr-el/Земља
- Xtn.SyntaxHighlight: Update <syntaxhighlight> behavior (affects <syntaxhighlight> / <source> tags not showing correctly). See: https://en.wikipedia.org/wiki/Type_system https://en.wikipedia.org/wiki/Comment_(computer_programming) https://en.wikipedia.org/wiki/Mergesort https://uk.wikibooks.org/wiki/HTML

fix

- Xtn.Imagemap: Fix imagemap not showing "desc" attribute (affects imagemap not showing describe info). See: https://zh.wikipedia.org/wiki/加拿大行政区划 [broken since:v2.9.3.1]
- Http_server: Do not release unique ids if max_clients not specified (affects error messages in console if http_server.max_clients not specified). [broken since:v2.9.3.1]
- Http_server: Fix broken support for "--http_server_home" {detected by MDE}. [broken since:v2.8.1.1]
- Wikidata: Fix incorrect twisty image after clicking. [broken since:v2.8.5.1]

add

- Site.cfg: Enable extensions on a per-wiki basis (affects some pages showing wrong content); EX:<do> should not be enabled on en.w {detected by bmihal}. See: https://en.wikipedia.org/wiki/Type_system https://fr.wikipedia.org/wiki/Wikipédia:Le Bistro/13_novembre_2008
- Site.cfg: Enable interwiki aliases on a per-wiki basis [[Dev/Design/Site_config]].
- Interwiki: Show all available languages "In other languages", not just those specified in xowa.gfs. See: https://en.wikipedia.org/wiki/Earth
- Import: Add support for building custom wikis. See: App/Xtn/Import/Dansguardian

significant

- File: Download file when clicking on "Size of this preview" {detected by anonymous4}. See: https://en.wikipedia.org/wiki/File:The_Earth_seen_from_Apollo_17.jpg
- Bookmarks: Do not load bookmarks from cache (affects bookmarks page not showing recent changes when going back / forward) {detected by anonymous4}. See: https://simple.wikipedia.org/wiki/Special:XowaBookmarks
- Lang: Handle recursive variants; EX:a-{b-{c}-d-{e}-f}-g. See: https://sr.wikipedia.org/wiki/Еквадор
- Lang: Implement H macro; EX:-{H|zh-cn:cn;zh-hk:hk;zh-tw:tw}-. See: https://zh.wikivoyage.org/wiki/西安 https://zh.wikipedia.org/wiki/Portal:首頁

minor

- Url: Change tab name to match <title> name (affects tab name showing url on Chinese pages with variants) {detected by anonymous4}. See: https://zh.wikipedia.org/zh-cn/釣魚臺列嶼主權問題

trivial

- Xtn.Indicators: Warn if name is empty for <indicators> (affects messages in log). See: https://zh.wikipedia.org/wiki/Project:重庆维基人
- Command-line: Do not show error window if app mode is command-line or http-server.
- Site.cfg: Ignore "dispatch" property in "statistics" (affects warnings in log file).

doc

- Doc: Add details for installing Firefox Addon for Pale Moon {suggested by pirate}. See: App/Xtn/Browser/XOWA_viewer
- Doc: Add details for dansguardian filter. See: App/Xtn/Import/Dansguardian

dev

- Source: Replace singleton identifier "_" with "Instance".
- Source: Standardize To_* function names for Bry_bfr.
- Source: Change Bry_fmtr_arg to Fmt__do.
- Source: Refactor "In other languages".
- Source: Refactor Xow_xwiki_mgr.
- Source: Refactor Gfo_cmd_arg_mgr.
- Source: Cleanup gplx.xowa.langs.
- Source: Refactor Int_.

## v2.9.4.1 (2015-09-28)

package

- Package: Release image update for Hungarian wikis (2015-09).
- Package: Release image update for Thai wikis (2015-09).

significant

- Wikidata: Show precision, globe and other minor time / geo coordinates (affects: several dozen hu.w pages showing script error for population). See: https://hu.wikipedia.org/wiki/Egyiptom
- Xwiki: Do not show commons.wikimedia.org in wikis list if wiki is not imported {detected by anonymous}.

trivial

- HttpServer: Fix id generator not releasing ids (affects: error message occasionally appearing on console).

## v2.9.3.1 (2015-09-21)

major

- Css: Handle new CSS relative urls (affects no css downloaded for new wikis). See: https://simple.wikipedia.org

fix

- Lang: Use fallback languages to resolve variants (affects many zh.w pages missing text for message boxes or references); EX:if zh-cn, then -{zh;zh-hans|A}- -> "A" x> "". See: https://zh.wikipedia.org/wiki/釣魚臺列嶼主權問題 https://zh.wikipedia.org/wiki/清朝 [broken since:v2.8.1]
- Scribunto: Fix #iferror to handle scribunto errors (affects a few dozen pt.w pages with red error message text); EX:<strong class="error"> x> <strong class='error'>. See: https://pt.wikipedia.org/wiki/Molibdênio https://pt.wikipedia.org/wiki/Salmão https://pt.wikipedia.org/wiki/Fluxo_de_trabalho [broken since:v2.7.2]
- Url: Fix pages not being loaded correctly on startup; EX:pt.wikipedia.org/wiki/Wikipedia:Página_de_testes x> en.wikipedia.org/wiki/Página_de_testes. See: https://pt.wikipedia.org/wiki/Wikipedia:Página_de_testes [broken since:v2.8.1]

add

- HttpServer: Add command-line argument to limit maximum number of connections; EX:--http_server.max_clients 15 --http_server.max_clients_timeout 100 {requested by anonymous}.

package

- Package: Release image update for Portuguese wikis (2015-09).
- Package: Release image update for Romanian wikis (2015-09).
- Package: Release image update for Indonesian wikis (2015-09).

minor

- Url: Use variant form of url if title does not exist (affects zh.* pages not retrievable from the url bar when a variant form is used). See: https://zh.wikipedia.org/wiki/Template:铁道路线/车站列表

trivial

- Api: Parse fallback and variants data from "general". See: https://zh.wikipedia.org/w/api.php?action=query&format=json&meta=siteinfo&siprop=general|namespaces|statistics|interwikimap|namespacealiases|specialpagealiases|libraries|extensions|skins|magicwords|functionhooks|showhooks|extensiontags|protocols|defaultoptions|languages
- Url: Update url bar / windows bar with url if page is missing. See: https://pt.wikipedia.org/wiki/"MANUAL_DE_PROCEDURI_.Sectiunea:""CONTABILITATE_SI_MANAGEMENT_FINANCIAR"""

dev

- Source: Consolidate all working folders into /src/.
- Source: Refactor variant classes.
- Source: Refactor Xowe_wiki.
- Source: Refactor Bry_.

## v2.9.2.1 (2015-09-14)

fix

- Setup: Restore save icon for Option pages {detected by gnosygnu.gui}. See: Options/Window [broken since:v2.8.5]

package

- Package: Release image update for German wikis (2015-09).
- Package: Release image update for Turkish wikis (2015-09).

change

- Scribunto.Text: Allow ints to be passed for text in UStringLibrary's Find (affects a few hundred pages with script error on ro.w) {detected by gnosygnu.build.warning}. See: https:/ro.wikipedia.org/wiki/Innsbruck https://ro.wikipedia.org/wiki/Victor_Ciorbea
- HttpServer: Clear caches once memory usage reaches 1 GB {requested by anonymous}.

significant

- Lang: Fix redirect not working in languages with asymmetric upper-case / lower-case (affects a few dozen pages showing script error in tr.w) {detected by gnosygnu.build.warning}. See: https://tr.wikipedia.org/wiki/Zvishavane https://tr.wikibooks.org/wiki/Radyasyon_Onkolojisi
- Parser.Table: Automatically add <tr> when sequence is <td>\n| (affects a few dozen infoboxes on fi.w with misplaced icon) {detected by gnosygnu.gui}. See: https://fi.wikipedia.org/wiki/Salibandyn_maailmanmestaruuskilpailut_2012

dev

- Source: Consolidate working folders into xowa /src/ root.

## v2.9.1.1 (2015-09-07)

major

- Graph: Add support for Graph extension; EX:/bin/any/xowa/xtns/Graph {detected by gnosygnu.build.warning}. See: Diagnostics/Javascript/Graph https://en.wikipedia.org/wiki/Greek_withdrawal_from_the_eurozone https://de.wikipedia.org/wiki/Freital

fix

- Setup: Remove Mac OS X dmg setup file {detected by anonymous4}.
- Setup: Update shortcut icon path (affects firefox addon and http server not showing xowa icon in tab) {detected by gnosygnu.gui}. [broken since:v2.8.5]

package

- Package: Release image update for German wikis (2015-09). See: https://archive.org/details/Xowa_dewiki_latest
- Package: Release image update for Turkish wikis (2015-09). See: https://archive.org/details/Xowa_trwiki_latest

change

- Scribunto.Text: Add more support for JsonEncode / JsonDecode.

## v2.8.5.1 (2015-08-31)

package

- Package: Release image update for Ukrainian wikis (2015-08). See: https://archive.org/download/Xowa_ukwiki_latest
- Package: Release image update for Finnish wikis (2015-08). See: https://archive.org/download/Xowa_fiwiki_latest

add

- Setup: Add Mac OS X dmg setup file.
- Scribunto.Text: Add basic support for JsonEncode / JsonDecode.

change

- Setup: Change macosx shell scripts from .sh to ""; See: /xowa/xowa_macosx_64.
- Parser.Title: Ignore BIDI (bi-directional) marks in title {detected by gnosygnu.gui}. See: https://fa.wikisource.org/wiki/تصمیم_قانونی_دایر_به‌ابراز‌_رای‌اعتماد_به_دولت_جناب_آقای_امیرعباس_هویدا_نخست‌وزیر_۱۳۵۰

trivial

- Url: Ignore invalid urls when entered from url bar {detected by gnosygnu.gui}. See: https://a https://a/b/c https://enxyz.wikipedia.org
- Setup: Always update version number in xowa.exe and xowa_64.exe. See: /xowa/xowa.exe /xowa/xowa_64.exe
- Setup: Move edit-toolbar images from /xowa/user/anonymous/app/img/edit to /xowa/bin/any/xowa/html/res/src/xowa/edit-toolbar/img. See: /xowa/bin/any/xowa/html/res/src/xowa/edit-toolbar/img
- Setup: Move images from /xowa/user/anonymous/app/img/ to /xowa/bin/any/xowa/file/. See: /xowa/bin/any/xowa/file/
- Html_dump: Handle external links with reparented font elements; EX:<font color="red">[http://a.org]</font> {detected by gnosygnu.build.warning}.

dev

- Source: Reorganize primitive classes.
- Source: Refactor json classes.

## v2.8.4.1 (2015-08-24)

fix

- Import: Fix broken urls for wikimedia wikis (affects 7 wikimedia dumps not importing) {detected by cd19s}. See: Dashboard/Import/Online https://ar.wikimedia.org https://ca.wikimedia.org https://be.wikimedia.org https://uk.wikimedia.org https://br.wikimedia.org https://co.wikimedia.org https://se.wikimedia.org
- File: Use thumb size when specified for videos, not original size (affects several video thumbnails showing with large size); EX:[[File:A.ogv|thumb]] -> 220px x> original_px. See: https://en.wikipedia.org/wiki/Edward_Snowden https://en.wikipedia.org/wiki/Xinjiang https://en.wikipedia.org/wiki/Alice_Brady [broken since:v2.8.2]
- Setup: Fix XOWA root directory for setup_lua.sh (affects error message on console when application first starts; also official lua won't work (LuaJ does)). See: /xowa/bin/os_name/xowa/script/setup_lua.sh
- Lang: Fix non-working link trail for non-WikiMedia wikis {detected by pirate}. See: http://nethackwiki.com [broken since:v2.7.2]
- FirefoxAddon: Fix XOWA toolbar button and sidebar links; EX:xowa:home //en.wikipedia.org/ {detected by pirate}.
- FirefoxAddon: Fix images not loading on first view {detected by pirate}.
- Setup: Enable bundled JRE for Windows .exe. See: /xowa/xowa.exe
- Make.Images: Fix images not downloading for small wikis.

change

- Javascript.Find: Allow search by backslash; EX:"C:\XOWA". See: App/Setup/Upgrading
- API.Wikimedia: Add builder command for downloading wiki meta data. See: Dev/Command-line/Site_meta

package

- Package: Release image update for Persian wikis (2015-08). See: https://archive.org/download/Xowa_fawiki_latest
- Package: Release image update for Bengali Wikis (2015-08). See: https://archive.org/download/Xowa_bnwiki_latest

minor

- FirefoxAddon: Include latest version of XOWA Addon (v0.2.1) {detected by pirate}. See: /xowa/bin/any/firefox/xowa_viewer/default/

trivial

- Diagnostics: Fix test to expect "home" instead of "Home". See: Diagnostics/Scribunto/SiteLibrary

dev

- Source: Clean up Xow_domain_itm and Xow_abrv_wm.

## v2.8.3.1 (2015-08-17)

package

- Package: Release images for 2015-08 English Wikipedia. See: https://archive.org/download/Xowa_enwiki_latest/Xowa_enwiki_2015-08-05_file_v2b_update.7z

change

- Gui: Add splash.gif when XOWA starts. See: /xowa/bin/any/xowa/file/gui/splash/xowa.gif
- Gui: Show "options saved" notification after saving options.
- Setup: Show better error message if fatal error during launch.
- Setup: Build xowa.exe with launch4j.
- Wiki: Convert home wiki to sqlite wiki and move to /xowa/bin/any/xowa/wiki/home*.
- Setup: Enable bundled JRE for Windows .exe. See: /xowa/bin/windows/java/jre
- Setup: Add site_meta.sqlite3. See: /xowa/bin/any/xowa/cfg/wiki/site_meta.sqlite3

significant

- File: Fix wrong images due to incorrect conversion from v1 (affects 4744 incorrect images on en.w) {detected by anonymous4}. See: https://en.wikipedia.org/wiki/Game_of_Thrones_(Season_5)
- File: Try to download from commons if file doesn't exist in local wiki (affects a few hundred missing images on en.w) {detected by gnosygnu.build.process}. See: https://en.wikipedia.org/wiki/Apollo_13

minor

- Scribunto: Use "nil" as default value for utf8_explode__previous_string, not "" (affects a few en.w pages with script error). See: https://en.wikipedia.org/wiki/Rescue_Me_(UK_TV_series) https://en.wikipedia.org/wiki/List_of_The_Tonight_Show_with_Jay_Leno_episodes_(1992–99) https://en.wikipedia.org/wiki/Third_and_Lexington_Avenues_Line https://sv.wikipedia.org/wiki/Riseberga /xowa/bin/any/xowa/xtns/Scribunto/engines/LuaCommon/lualib/ustring/ustring.lua
- Search: Do not throw error if empty string is entered for Search {detected by anonymous}. See: https://github.com/gnosygnu/xowa/issues/19 https://en.wikipedia.org/wiki/Special:Search?search=&fulltext=y

trivial

- Setup: Move "xowa_build" scripts from /xowa to /xowa/bin/os_name/xowa/script.
- Setup: Move "setup" scripts from /xowa to /xowa/bin/os_name/xowa/script.
- Setup: Move xowa.gfs to /xowa/bin/any/xowa/cfg/app/xowa.gfs. See: /xowa/bin/any/xowa/cfg/app/xowa.gfs
- Setup: Move license.txt to /xowa/bin/any/xowa/license.txt. See: /xowa/bin/any/xowa/license.txt
- Setup: Move failover css to /xowa/bin/any/xowa/html/css/failover. See: /xowa/bin/any/xowa/html/css/failover
- Setup: Move maintenance html to /xowa/bin/any/xowa/xtns/xowa/maintenance. See: /xowa/bin/any/xowa/xtns/xowa/maintenance
- Setup: Remove /xowa/bin/any/sql.

doc

- Doc: Reformat readme.txt to use MediaWiki syntax.

## v2.8.2.1 (2015-08-10)

major

- Setup.SWT: Upgrade SWT to 4.6M1 for Windows (affects XOWA not working on Windows 8.1) {detected by Wellsen, others}.

fix

- Url: Always use long-form of url for address bar; EX:"en.wikipedia.org/wiki/Earth" not "en.wikipedia.org/Earth" {detected by gnosygnu.gui}. See: https://en.wikipedia.org/wiki/Tintinan [broken since:v2.8.1.1]
- Search: Fix popups not working for links in Search; EX:/xowa/bin/any/xowa/html/res/src/xowa/core/core.js {detected by gnosygnu.gui}. See: https://en.wikipedia.org/wiki/Special:Search?search=Earth&fulltext=y [broken since:v2.7.3.1]
- HttpServer: Accept "Content-type" header in GET requests (affects mathematica failing when run through http mode) {detected by anonymous}. [broken since:v2.7.2.1]

change

- Wikibase: Show "In other languages" if page has wikidata entry but no sitelinks {detected by gnosygnu.gui}. See: https://en.wikipedia.org/wiki/Tintinan
- File: Change thumbnail filename format for videos (affects several dozen missing images on en.w); EX:[[File:A.ogv|220px]] -> 220px--A.ogv.png x> mid-A.ogv {detected by gnosygnu.build.process}. See: https://en.wikipedia.org/wiki/Alice_Brady

significant

- Wikibase: Show date-time with precision of 9 (year only) in wikidata (affects blank time when precision is 9) {detected by gnosygnu.gui}. See: https://www.wikidata.org/wiki/q7808513
- Wikibase: Show date-time with correct precision in {{#property}} calls (affects pages showing full time instead of precision); EX:{{#property:P571}} -> 1968 x> +00000001969-01-01T00:00:00Z {detected by gnosygnu.gui}. See: https://en.wikipedia.org/wiki/Tintinan
- File: Set images with invalid sizes to -1 (default thumb size) not 0 (no size) (affects 1000 images on en.w); EX:[[File:A.png|bad400px]] -> 220px x> 0px {detected by gnosygnu.build.process}. See: https://en.wikipedia.org/wiki/The_Bahamas https://en.wikipedia.org/wiki/Data_compression https://en.wikipedia.org/wiki/Double_bass
- File: Abbreviate long file names to "thumbnail.ext" (affects several dozen missing images on en.w); EX:A[160+].png -> thumbnail.png {detected by gnosygnu.build.process}. See: https://en.wikipedia.org/wiki/Grafton,_West_Virginia

trivial

- Wikibase: Fix missing twisty icon for wikidata sections when wikidata page is not 1st tab loaded at launch {detected by gnosygnu.gui}. See: https://en.wikipedia.org/wiki/Tintinan https://www.wikidata.org/wiki/q7808513

doc

- Setup: Add note to readme.txt warning about using symbolic links in Linux {contributed by cd19s}. See: https://github.com/gnosygnu/xowa/issues/16

dev

- Make.Images: Change "wiki.page_dump.make" to always delete tables if they exist {detected by gnosygnu.build.process}.
- Make.Images: Change transaction begin / end logic (affects slow image build times) {detected by gnosygnu.build.process}.
- Source: Refactor XtoStrAble.

## v2.8.1.1 (2015-08-03)

major

- Html: Show multi-language drop-down for Chinese languages {assisted by anonymous4}. See: https://zh.wikipedia.org/wiki/太阳
- Scribunto.Wikibase: Support new functions: getLabel, getDescription, etc. (affects many pages with invalid Location maps or script errors) {detected by gnosygnu.build.warning}. See: https://es.wikipedia.org/wiki/La_Orotava https://en.wikipedia.org/wiki/Abraham_Lincoln
- XULRunner: Downgrade XULRunner to version 24 for Windows (affects xowa not starting on Windows 8 machines) {detected by anonymous}.

fix

- Import: Store correct Main_Page name (affects wrong Main_Page used for uk.v, zh.w, and other wikis without a Main_Page) {detected by gnosygnu.gui}. See: https://uk.wikisource.org [broken since:v2.7.2]
- Css: Fix css files not being downloaded for some wikis (affects zh.q css not downloading); EX:https:https://zh.wikiquote.org... {detected by gnosygnu.gui}. See: https://zh.wikiquote.org
- Gui: Allow Alt+F4 to close window when HTML browser has focus {detected by anonymous}. [broken since:v2.6.5]
- Scribunto: Return length of 0 for empty string, not empty string (affects several sv.w pages showing script error); EX:/xowa/xtns/Scribunto/engines/LuaCommon/lualib/ustring/ustring.lua {detected by gnosygnu.build.warning}. See: https://sv.wikipedia.org/wiki/Riseberga https://fa.wikipedia.org/wiki/آتن [broken since:v2.4.4]
- Make.Images: Show warning message for Scribunto errors {gnosygnu.gui}. [broken since:v2.2.4]

change

- History: Store query arguments in history. See: https://en.wikipedia.org/wiki/Special:XowaSystemData?type=log_session https://en.wikipedia.org/wiki/Special:Search/A?search=A&fulltext=y
- Module.Popups: Show popup in front of Read / Edit / View HTML {detected by gnosygnu.gui}. See: https://en.wikipedia.org/wiki/Area_codes_281,_346,_713,_and_832
- Wikibase: Show count of sitelinks in "In other languages". See: https://en.wikipedia.org/wiki/A
- Html: Decode entity references in style attribute values (affects periodic table element pages in en.w not showing correct infobox colors); EX:<span style='background:&#x23;ffc0c0'>a</span> {detected by gnosygnu.gui}. See: https://en.wikipedia.org/wiki/Boron

significant

- Scribunto.Wikibase: Always use v2 entity style (affects several pages in ja.w showing script error when using Module:Location_map ) {detected by gnosygnu.build.warning}. See: https://ja.wikipedia.org/wiki/東京競馬場
- Scribunto.Wikibase: Update .lua files to latest version (affects several pages in ja.w showing script error when using Module:Location_map ); EX:bin\any\xowa\xtns\Scribunto\engines\LuaCommon\lualib\mw.wikibase* {detected by gnosygnu.build.warning}. See: https://ja.wikipedia.org/wiki/東京競馬場
- Scribunto: Support Lua frontier pattern %f (affects none known); EX:gsub('thE QUICK brOWN FOx JUMPS', '%f[%a]%u+%f[%A]', '-') -> 'thE - brOWN FOx -'. See: http://lua-users.org/wiki/FrontierPattern
- Scribunto: Handle replace argument of %0 for gsub (affects a few en.w pages with script error); EX:{{#invoke:Gnosygnu|gsub_string|aa|(a)%1|%0z}} -> aaz x> error {detected by gnosygnu.build.warning}. See: https://en.wikipedia.org/wiki/Wikipedia:Wikipedia_Signpost/Templates/Voter/testcases
- Scribunto: Parse wikidata-style dates (affects several en.w pages showing script error for Population year in Infobox) {detected by gnosygnu.build.warning}. See: https://en.wikipedia.org/wiki/Metro_Manila https://en.wikipedia.org/wiki/Mountain_Province
- Scribunto: Do not throw error if invalid input for parserFunction.expr; return error message instead (affects several dozen es.w pages with missing location map) {detected by gnosygnu.build.warning}. See: https://es.wikipedia.org/wiki/Freer_(Texas)
- ParserFunctions: Parse 12 digit year-month-day time (affects some en.w pages showing invalid expiry date at top of page); EX:201603160102 {detected by gnosygnu.build.warning}. See: https://en.wikipedia.org/wiki/Boron
- ParserFunctions: Change scale for Decimal from 28 to 14.
- Title: Convert extended whitespace characters to whitespace (affects several pages in ja.w showing script error when using Module:Location_map ) {detected by gnosygnu.build.warning}. See: https://ja.wikipedia.org/wiki/ジョージ湖の戦い https://ja.wikipedia.org/wiki/Template:Location_map_USA　New_York

minor

- ParserFunctions: Support Iranian time formats for year, day, month and month name (affects 1 fa.w page with script error); EX:{{#time:xiY|2012-01-02}} -> 1390. See: https://fa.wikipedia.org/wiki/فهرست_مقامات_عالی‌رتبه_جمهوری_اسلامی_ایران
- ParserFunctions: Support Hijiri (Islamic) time formats for year, day, month and month name (affects none known); EX:{{#time:xmY|2012-01-02}} -> 1433.
- Parser.Lnke: Ignore xwiki aliases (affects none known); EX:[http://w/A] -> http://w/A x> http://en.wikipedia.org/w/A {detected by gnosygnu.build.warning}. See: https://uk.wikipedia.org/wiki/Маскалі
- Parser.Template: Do not show "Template loop detected"; add as warning instead (affects some pages showing "Template loop detected") {detected by gnosygnu.gui}. See: https://fa.wikipedia.org/wiki/مورکم
- Title: Ignore bi-directional characters (affects none known).
- Wikibase: Do not show range if quantity value matches upper-bound and lower-bound (affects 1 en.w page showing a script error) {detected by gnosygnu.build.warning}. See: https://en.wikipedia.org/wiki/Tintinan
- Wikibase: Use 64-bit numbers for quantity, not 32-bit numbers (affects none known); EX:{{#property:P1082}} {detected by gnosygnu.gui}. See: https://en.wikipedia.org/wiki/Earth
- Wikibase: Show only first claim (use preferred if available) when multiple claims exist (affects none known); EX:{{#property:P1082}} {detected by gnosygnu.gui}. See: https://en.wikipedia.org/wiki/Earth
- ImageMap: Ignore coordinates that start with comma (affects 1 en.w page that doesn't have popup for one area); EX:poly ,1 2 {detected by gnosygnu.build.warning}. See: https://en.wikipedia.org/wiki/Area_codes_281,_346,_713,_and_832

doc

- Doc: Change link from [[Help:Core/Category]] to [[App/Category]] {detected by Anselm}. See: Dashboard/Wiki_maintenance

dev

- Setup: Add logging to troubleshoot missing www.wikidata.org entry on [[Dashboard/Wiki_maintenance]] {requested by Anselm}. See: Dashboard/Wiki_maintenance
- Source: Refactor regex classes.
- Source: Clean up Decimal_adp.
- Source: Clean up Bry_.

## v2.7.3.3 (2015-07-21)

fix

- Import.Online: Allow online import to work with partial dumps in time zones east of Greenwich Mean Time (affects: users in Germany not being able to download partial dumps from wikimedia) {detected by Anselm}.

## v2.7.3.2 (2015-07-20)

fix

- Import.Online: Fix import not using the most recent good dump (affects downloads occuring from your.org for partial dumps) {detected by Anselm}. See: Options/Import [broken since:v2.7.3.1]

## v2.7.3.1 (2015-07-19)

major

- Special: Add new bookmarks page {assisted by anonymous4}. See: Special:XowaBookmarks

fix

- Make.Images: Do not delete entire css directory when building databases {detected by gnosygnu.gui}. [broken since:v2.7.2]
- Edit: Fix missing edit-toolbar.js b/c of broken path {detected by gnosygnu.gui}. [broken since:v1.10.2]
- Options: Fix "Page storage format" not working {detected by gnosygnu.gui}. See: Options/Import [broken since:v2.4.1]
- HttpServer: Fix wrong Main Page when clicking on wiki in sidebar; EX:click on zh.w in sidebar -> Wikipedia:首页 x> Main_Page {detected by anonymous4}. [broken since:v2.7.2]

change

- Parser.Lnki: Handle non-english numbers for pixel sizes (affects missing images in Persian wikis); EX:[[پرونده:Shahbazi 3.jpg|۲۰۰px]] {detected by gnosygnu.build.process}. See: https://fa.wikipedia.org/wiki/فهرست_آثار_علیرضا_شاپور_شهبازی

trivial

- Make.Images: Ignore main_page not found warning while building {detected by gnosygnu.build.warning}.
- Import.Online: Handle missing latest links at dumps.wikimedia.org: add logging; go back more than one month if necessary {detected by Anselm}.
- Wikidata: Add "gomwiki", "lrcwiki" to list of known wikis {detected by gnosygnu.build.warning}.

dev

- Javascript: Upgrade jquery from 1.83 to 1.11.3 (affects nothing known); EX:/xowa/bin/any/xowa/html/res/lib/jquery/jquery-ui-1.11.3.js.
- Javascript: Add jquery-ui-1.11.4.js (affects drag-and-drop to reorder bookmarks); EX:/xowa/bin/any/xowa/html/res/lib/jquery-ui/jquery-ui-1.11.4.js. See: Special:XowaBookmarks
- Javascript: Add notifyjs-0.3.1.js (affects notification messages when adding bookmarks); EX:/xowa/bin/any/xowa/html/res/lib/notifyjs/notifyjs-0.3.1.js. See: Special:XowaBookmarks
- Javascript: Add dbui-0.1.1.js (affects database changes for bookmarks); EX:/xowa/bin/any/xowa/html/res/src/xowa/dbui/dbui-0.1.1.js. See: Special:XowaBookmarks
- Source: Refactor Console_adp classes.
- Source: Clean up Err object.

## v2.7.2.1 (2015-07-12)

major

- Import.Online: Handle missing latest links at dumps.wikimedia.org {detected by gnosygnu.gui}.
- HttpServer: Rewrite HTTP Server to handle POST messages.

add

- ParserFunctions.Lang: Add support for "gender" function (affects es.v Main_Page showing [[:Plantilla:Género:]]) {detected by gnosygnu.gui}. See: https://es.wikivoyage.org/wiki/Página_principal
- ParserFunctions: Add String Utility functions for non WMF wikis (affects nethack wiki not showing correct monster template); EX:{{#replace:abc|b|B}} {requested by pirate}. See: http://nethackwiki.com/wiki/Vecna

package

- Package: Release image update for Spanish wikis. See: https://archive.org/details/Xowa_eswiki_latest
- Package: Release image update for Japanese wikis. See: https://archive.org/details/Xowa_jawiki_latest
- Package: Release image update for Swedish wikis. See: https://archive.org/details/Xowa_svwiki_latest

significant

- Xtn.Timeline: Do not freeze up Web Browser when viewing pages with timeline {detected by anonymous}. See: localhost:8080/home/wiki/Help:Diagnostics/Javascript/Timeline https://en.wikipedia.org/wiki/Solar_System
- Wikidata: Do not escape slashes in default globe value of earth (affects many missing coordinates in es.w pages); EX:globe: -> http://www.wikidata.org/entity/Q2 x> http:\/\/www.wikidata.org\/entity\/Q2 {detected by gnosygnu.gui}. See: https://es.wikipedia.org/wiki/Guerra_civil_en_el_este_de_Ucrania

minor

- Gui: Do not crash when right clicking on new tab {detected by anonymous}.
- Parser.Lnki: Do not parse width from lnki caption of "1234xTextpx" (affects several es.b pages have extremely large image at start) {detected by gnosygnu.gui}. See: https://es.wikibooks.org/wiki/Alimentación_infantil

trivial

- Css: Warn if 0 byte files are downloaded during CSS import {detected by gnosygnu.gui}.
- Parser.Lnki: Handle nested gallery tags (affects 1 es.w page with mistakenly nested gallery); EX:<gallery><ref><gallery> {detected by gnosygnu.gui}. See: https://es.wikipedia.org/wiki/Arquitectura_medieval

dev

- Source: Replace Err object with Exc.
- Make.Images: Always delete css when building databases {detected by gnosygnu.gui}. See: https://sv.wikiversity.org/wiki/Portal:Huvudsida
- Make.Images: Show better error message when page not inserted due to duplicate keys {detected by gnosygnu.build.warning}.

## v2.7.1.1 (2015-07-05)

fix

- Css: Download css files using http not https (affects blank logos when importing new wikis) {detected by gnosygnu.gui}.
- Css: Handle circular css calls (affects css not downloading) {detected by gnosygnu.gui}.
- Make.Images: Fix broken image dbs {detected by gnosygnu.build.warning}. [broken since:v2.6.4.1: v1 image update]

package

- Package: Release Android images for English Wikipedia.

change

- Gui.Status: Default to showing full url, not shortened one; EX:"home/wiki/Main_Page" not "home/Main_Page" {detected by pirate}.
- Options: Add option to show short link. See: Options/Window

minor

- File: Fix middle-click on XOWA logo opening up blank page (affects Main_Page property not implemented for .tdb wikis) {detected by pirate}. [broken since:v2.6.4.1]
- FirefoxAddon: Fix clicking links in wiki sidebar; EX:click link to simple.wikipedia.org in wiki sidebar -> should not fail {detected by pirate}.
- FirefoxAddon: Fix "XOWA home" not opening home/wiki/Main_Page {detected by pirate}.
- FirefoxAddon: Fix clicking on XOWA logo not opening home/wiki/Main_Page {detected by pirate}.

doc

- Help: Remove "Setup ImageMagick / Inkscape" from Main_Page. See: Main_Page
- Help: Add instructions for Maintaining wikis {detected by pirate}. See: App/Import/Maintenance

dev

- Html.Javascript: Add support for html grid.
- Make.Images: Do not fail if bin is missing from v1 databases; EX:sv.wikipedia.org {detected by gnosygnu.build.warning}.

## v2.6.5.1 (2015-06-28)

major

- SWT: Update SWT to v4.5 (affects printing not working); EX:/bin/your_os_name/swt/. See: Dev/SWT
- XULRunner: Update XULRunner to version 31 (version 24 on Linux) (affects minor formatting issues on a small number of pages; wikis not downloading on some linux distros). See: App/UI/HTML_Browser https://en.wikisource.org/wiki/Lubbers_Don't_Live!

fix

- File: Open old image databases which have "#" prefix (affects wiki not opening when old image databases are present); EX:fsdb.atr#00.sqlite3 {detected by William}.

package

- Package: Release Android (text-only version) of English Wikipedia. See: App/Xtn/Android

significant

- Special: Add Special:XowaDiag.

minor

- Android.Database: Read large files 1 MB at a time instead of all at once (affects images > 2 MB not showing up on Android) {detected by gnosygnu.gui}. See: https://en.wikipedia.org/wiki/Engine
- Release: Add meta info launch4j for xowa_64.exe (affects false virus warning) {suggested by Anselm}.

dev

- Source: Move javascript functions from xowa.gfs to core.js.
- Source: Add fld_exists method.
- Source: Add debug code to HttpServer {detected by anonymous}.

doc

- Help: Add doc for customizing CSS. See: Dev/Design/CSS

## v2.6.4.1 (2015-06-21)

major

- Website: Move from sourceforge.net to github.com.
- HTML: Change http to https for all HTML urls (affects online image download not working) {detected by gnosygnu.gui}.

package

- Package: Release image update for English Wikipedia.

minor

- File: Change http to https for upload.wikimedia.org protocol (affects fsdb_make failing to download files) {detected by gnosygnu.gui}.
- File: Do not show "downloading" messages for missing files {detected by gnosygnu.gui}.
- Special.File_browser: Align import to left of page {requested by Anselm}.
- Javascript.Find: Handle XULRunner 24 {detected by gnosygnu.gui}.

dev

- Source: Convert Xoa_url_parser to generic app / wiki.
- File: Handle image updates for v1 databases.
- Source: Remove Db_rdr ordinal / get_by_index methods.
- Doc: Update script for building image databases. See: Dev/Command-line/Thumbs

## v2.6.3.1 (2015-06-14)

major

- Gui: Default to WebKit if OS is Mac OS X (affects Mac OS X installations and flaky XUL runner behavior (page sometimes going blank; hover not working)) {detected by anonymous4}.

fix

- File: Fix images not working for v1 users after importing new wiki {detected by anonymous}.

add

- Javascript.Find: Highlight all words after wrapping find {detected by gnosygnu.gui}.
- Javascript.Find: Highlight all words in the same element {detected by gnosygnu.gui}.
- Wikidata: Add command-line import for json dumps; EX:add ('www.wikidata.org' , 'wbase.json_dump');. See: Dev/Command-line/Wikidata http://dumps.wikimedia.org/wikidatawiki/entities/

change

- Scribunto.Regex: Convert "%w" to "\w" not "[\pL\pM\p{Nd}\p{Nl}\p{Pc}[\p{InEnclosedAlphanumerics}&&\p{So}]]" (requires JRE 1.7) (affects many pages replacing correct category with [[Category:]]); EX:"Abc", "[^%w%p%s]", "" -> "Abc" x> "" {detected by gnosygnu.gui}. See: https://en.wikipedia.org/wiki/A♯_(musical_note) http://stackoverflow.com/questions/4304928/unicode-equivalents-for-w-and-b-in-java-regular-expressions
- Parser.Xml: Add <q> to list of known xml elements (affects many en.w pages with <q> instead of quotes) {detected by gnosygnu.gui}. See: https://en.wikipedia.org/wiki/Engine

significant

- Wikidata: Resolve property labels for statements (affects qid names showing instead of pid); EX:398 -> "child astronomical body" (P398) x> "Bahrain" (Q398). See: https://www.wikidata.org/wiki/Property:P397
- Gui.Browser: Remove "about:blank" from location if webkit (affects anchor links not working when using webkit); EX:#A x> "about:blank#A" {detected by anonymous4}.

minor

- Html_dump: Detect content moved by tidy (affects several en.w pages with broken links); EX:<font color='green'>[[A]]</font> -> <a href='/wiki/A'><font color='green'>A</font></a> {detected by gnosygnu.gui}. See: https://en.wikipedia.org/wiki/Abyssal_plain
- Doc: Update Inkscape link from 0.48.4 to 0.48.5 {detected by Anselm}.

trivial

- Wikidata: Add "newiki" to list of known wikis {detected by gnosygnu.build.warning}. See: /bin/any/xowa/cfg/wiki/wmf_data.sqlite3
- Wikidata: Handle keyval of "datatype" (affects warnings in log file) {detected by gnosygnu.gui.warning}. See: https://www.wikidata.org/wiki/Property:P397

dev

- Database: Add tbl_exists method.

## v2.5.4.1 (2015-05-25)

major

- Javascript: Highlight all words when finding text {contributed by anonymous4}. See: press Ctrl+F and type
- File: Download files into *-file-user.xowa databases (no more #meta). See: App/Basics/Files
- File: Show File page if clicking on image without commons while online. See: https://en.wikipedia.org/wiki/File:Volcán_Chimborazo,_%22El_Taita_Chimborazo%22.jpg
- File: Show File page if clicking on image without commons while offline (using nearest sized image). See: https://en.wikipedia.org/wiki/File:Volcán_Chimborazo,_%22El_Taita_Chimborazo%22.jpg
- File: Create new caching system. See: Options/Files
- Doc: Document command-line build for generating image databases. See: Dev/Command-line/Thumbs
- Android: Upload Android alpha for simplewiki. See: App/Xtn/Android

fix

- File: Download full "file resolution" when clicking on file {detected by gnosygnu.gui}. See: https://en.wikipedia.org/wiki/File:Volcán_Chimborazo,_%22El_Taita_Chimborazo%22.jpg
- Redlinks: Fix redlinks sometimes not being generated {detected by gnosygnu.gui}. See: Special:XowaPageHistory [broken since:v2.5.2]

change

- ParserFunctions: Handle {{ns:-1}} for Special namespace (affects Random work and Random author not working in en.s) {detected by and0r}. See: https://en.wikisource.org

significant

- Package: Reduce max file size to 1.5 GB to fit inside Android 2.1 GB limit {detected by gnosygnu.gui}.

minor

- Parser: Clear page variables in prefs_mgr (affects duplicate references on Option pages) {detected by gnosygnu.gui}. See: Options/Window

trivial

- Import: Do not fail when importing and old file database exists {detected by gnosygnu.gui}.
- Javascript: Move javascript find to js file; EX:/xowa/bin/any/xowa/html/res/src/xowa/find.

dev

- HTML: Allow WebKit as alternate file-browser; EX:browser_type = 'webkit'. See: /xowa/xowa.gfs
- Source: Add Xou_user interface.
- Source: Clean up List_adp, Hash_adp, Ordered_hash.
- Source: Replace new_ascii with new_a7 and new_utf8 with new_u8.
- Source: Replace Io_mgr._ with Io_mgr.I.

## v2.5.2.2 (2015-05-12)

fix

- Wikidata: Fix broken wikidata import; EX:ns_subpages; ns_content {detected by Tim Weigel}. [broken since:v2.4.4]

change

- Import: Comment out delete-all command in xowa_build.gfs (affects command-line deleting all files if user did not comment out) {detected by anonymous}.

dev

- Tests: Use OS-specific new-line for jtidy test (affects 1 test failing on Linux / Mac OS X) {detected by anonymous4}.
- Tests: Set correct root path for OS X (affects 20+ tests failing on Mac OS X) {detected by anonymous4}.
- Tests: Ignore null reference in TextBox (affects 20+ tests failing on Mac OS X) {detected by anonymous4}.
- Source: Suppress resource leak warnings in Eclipse Luna {detected by anonymous4}.

## v2.5.2.1 (2015-05-11)

change

- Css: Handle css urls with root path (affects wiki logo not showing in top-right hand corner); EX:/dir/file.png {detected by gnosygnu.gui}. See: https://simple.wikipedia.org

fix

- Css: Fix insert for css config in core wiki database (affects new wikis generated with no css in database) {detected by gnosygnu.gui}. [broken since:v2.5.1]

minor

- Css: Handle css urls with relative urls; EX:/dir/a/../b/c.png {detected by gnosygnu.gui}.
- Gui: Support numeric keycodes for keybindings; EX:key.#10.
- Gui: Support kepad_enter; EX:key.keypad_enter or key.16777296.

trivial

- Score: Do not throw error if timidity is missing {detected by gnosygnu.gui}. See: https://fr.wikiversity.org/wiki/Pentatoniques_altérées/Gammes_avec_deux_notes_altérées

dev

- Android: Support redlinks.

## v2.5.1.2 (2015-05-05)

fix

- Gui: Do not scroll to anchor when opening page in background tab (affects link-clicks in macosx being off by 4 pixels) {detected by anonymous4}.

## v2.5.1.1 (2015-05-04)

major

- Options: Redesign Option pages to use tab interface {contributed by anonymous4}. See: Options/Window
- Gui: Reduce page load errors due to popups (affects page sometimes loading incorrectly when popup is also loading); EX:hover over link and middle-click on it {detected by gnosygnu.gui}. See: https://en.wikipedia.org/wiki/Mark_Rolston (See [[Private Mark Drake]] link)

fix

- File: Read images from a standalone directory for non-wikimedia wikis; EX:C:\my_wikia_images {detected by gnosygnu.gui}. [broken since:v2.2.4]

add

- Options: Add Show keybinding {contributed by gnosygnu}. See: Options/Shortcuts

package

- Package: Release image rebuild for English wikis. See: https://archive.org/details/Xowa_enwiki_latest
- Package: Release image rebuild for Korean wikis. See: https://archive.org/details/Xowa_kowiki_latest

significant

- Wikisource: Update Page / Index namespaces for all wikisource pages (affects non-English wikisource pages not showing content (9 in ko.s)) {detected by gnosygnu.build.warning}. See: https://ko.wikisource.org/wiki/님의_노래 https://ko.wikisource.org/wiki/삼국유사/권제1 https://ko.wikisource.org/wiki/삼국사기/권34 https://ko.wikisource.org/wiki/단군론
- Indicator: Ignore multiple indicators (affects many en.s showing multiple icons in top-right hand corner) {detected by gnosygnu.gui}. See: https://en.wikisource.org/wiki/The_Parochial_System_(Wilberforce,_1838)
- Indicator: Do not show indicators from <page> (affects many en.s mainspace pages showing unnecessary indicators) {detected by gnosygnu.gui}. See: https://en.wikisource.org/wiki/The_Parochial_System_(Wilberforce,_1838) https://en.wikisource.org/wiki/Index:The_Parochial_System_(Wilberforce,_1838).djvu
- Javascript: Add TitleRewrite gadget (affects several pt.s pages showing h1 tag in body of text) {detected by anonymous}. See: https://pt.wikisource.org/wiki/Autor:Florbela_Espanca
- Search: Limit cancel to one wiki's search, not all wikis {detected by gnosygnu.gui}. See: https://en.wikipedia.org/wiki/Special:Search/Earth*
- Command-line: Fix command-line for fetch_page not working {detected by anonymous}. See: java -jar xowa_macosx_64.jar --app_mode cmd --cmd_text "app.shell.fetch_page('simple.wikipedia.org/wiki/Earth' 'html');"

minor

- Options: Do not reuse existing parser context for preferences pages (affects Options pages sometimes showing up with incorrect css) {detected by gnosygnu.gui}.
- Search: Remove unnecessary synchronization blocks when doing multi-wiki searches (affects random application freezes) {detected by gnosygnu.gui}.
- Gui: Load page when middle-clicking on link with anchor {detected by gnosygnu.gui}. See: https://en.wikipedia.org/wiki/Mark_Rolston (See [[Private Mark Drake]] link)
- Gui: Scroll to anchor when opening page in background tab {detected by gnosygnu.gui}. See: https://en.wikipedia.org/wiki/Mark_Rolston (See [[Private Mark Drake]] link)

trivial

- Language: Add new language code: awa (affects none); {detected by gnosygnu.lang.warning}.
- Wikisource: Ignore \n at end of "to" page number (affects 3 en.s pages not showing content); EX:<pages to="123\n"/> {detected by gnosygnu.build.warning}. See: https://en.wikisource.org/wiki/1911_Encyclop%C3%A6dia_Britannica/Boissier,_Marie_Louis_Antoine_Gaston https://en.wikisource.org/wiki/1911_Encyclopædia_Britannica/Boissonade_de_Fontarabie,_Jean_François https://en.wikisource.org/wiki/1911_Encyclopædia_Britannica/Boissy_d'Anglas,_François_Antoine_de
- Wikisource: Ignore TOOLBOXEND in sidebar (affects unnecessary log messages) {detected by gnosygnu.gui}. See: https://en.wikisource.org/wiki/Main_Page

dev

- Android: Parameterize css path.

## v2.4.4.1 (2015-04-27)

add

- Search: Support search over multiple wikis. See: Options/Search

package

- Package: Release image rebuild for German wikis. See: https://archive.org/details/Xowa_dewiki_latest
- Package: Release image rebuild for Czech wikis. See: https://archive.org/details/Xowa_cswiki_latest

significant

- Scribunto: Cache previous result of utf8_explode for performance (affects: many de.d pages taking 1 second to load); EX:/xowa/xtns/Scribunto/engines/LuaCommon/lualib/ustring/ustring.lua. See: https://de.wiktionary.org/wiki/aestival
- Search: Return correct results when pressing next (affects: search skipping over many results in "next" page). See: https://en.wikipedia.org/wiki/Special:Search/Earth*
- File: Redownload images corrupted during initial download (affects: a few dozen wrong images per wiki). See: https://simple.wikipedia.org/wiki/Deaths_in_2013
- HttpServer: Fix Category links not working (affects: category pages with non-working links) {detected by echo083}. [broken since:v0.12.1]
- HttpServer: Fix wiki not loading on first load (affects: wiki sometimes not loading when first clicking on it). [broken since:v2.4.1]

minor

- Search: Search most common words first when doing wildcard search, not alphabetically; EX:Earth*.
- Search: Stop duplicate results by adding more thread locks (affects: search page sometimes showing duplicate results).
- Popup: Add mp to popup list (affects: missing text in some popups). See: https://en.wikipedia.org/wiki/2004_XP14
- Xwiki: Add aliases for mail: and oldwikisource: (affects: non-working links if prefixed by mail / oldwikisource) {detected by anonymous}.

trivial

- Search: Convert search actions to icons.
- Search: Hide "stop searching" button after click.
- Language: Refresh magic keywords for languages (affects: some pl.* pages showing SORTUJ). See: https://pl.wikiquote.org/wiki/Józef_Piłsudski
- Language: Add new language codes (affects: none); EX:ses.

dev

- Package.Build: Always reset db for redirect_cmd.
- Core: Do not fail if deleted file is missing.
- Source: Add thread name registry.
- Source: Remove @SuppressWarnings("resource") {detected by anonymous4}.

## v2.4.3.3 (2015-04-22)

fix

- Wikidata: Replace spaces with underscores in sitelink titles (affects wikidata language links / properties not working for multi-word titles); EX:"Solar System" -> "Solar_System" x> "Solar System" {detected by anonymous}. See: https://en.wikipedia.org/wiki/Solar_System https://pt.wikisource.org/wiki/Autor:Humberto_de_Campos [broken since:v2.4.2]
- Wikidata: Use correct namespace / title when looking up wikidata wikis (affects wikidata language links / properties not working for titles in non-canonical namespaces); EX:"Author:A" -> 102,A x> 0,Author:A {detected by anonymous}. See: https://pt.wikisource.org/wiki/Autor:Humberto_de_Campos [broken since:v2.4.2]
- doc: Fix wrong wiki name for Wikidata; EX:Wikidata x> Walloon Wiktionary {detected by anonymous}. See: Dashboard/Import/Online [broken since:v2.4.3]

minor

- Scribunto: Return fallback languages in table, not as list (affects 1 wd page showing scribunto error); EX:GetFallbacksFor -> "table {fallback_1, fallback_2}" x> "fallback_1, fallback_2" {detected by anonymous}. See: https://www.wikidata.org

trivial

- ParserFunctions: Convert numbers greater than 1.8 e308 to positive infinity (affects 1 en.w page showing a script error).

dev

- Special: Add Xows_special_meta.

## v2.4.3.2 (2015-04-21)

fix

- File: Fix wiki not loading if file databases missing fsdb.user {detected by echo083}. [broken since:v2.4.1]
- Popup: Fix Special:XowaPopupHistory not showing. [broken since:v2.4.2]

## v2.4.3.1 (2015-04-20)

fix

- HttpServer: Fix broken links for page results in Special:Search {detected by echo083}. See: https://en.wikipedia.org/wiki/Special:Search/Science [broken since:v2.4.2]
- Link: Show links to subpages (affects valid pages mistakenly marked as missing); EX:[[/A]] {detected by anonymous; echo083}. See: https://pt.wikisource.org/wiki/Pacotilha_poetica [broken since:v2.4.2]
- Wikisource: Show included pages inside <pagelist> (affects 3 pl.w not showing subpages). See: https://pl.wikisource.org/wiki/Prawo_autorskie_(ustawa_z_29_marca_1926_r.) https://pl.wikisource.org/wiki/Dekret_z_dnia_7_marca_1953_r._o_przemianowaniu_miasta_Katowice_na_miasto_Stalinogród_i_województwa_katowickiego_na_województwo_stalinogrodzkie https://pl.wikisource.org/wiki/Dekret_z_dnia_10_grudnia_1956_r._o_przywróceniu_nazwy_miasta_Katowice_i_województwa_katowickiego [broken since:v2.4.1]
- DynamicPageList: Fix DynamicPageList not showing (affects pages in wikinews showing <DynamicPageList>). See: https://pl.wikinews.org/wiki/Strona_główna [broken since:v1.11.3]
- File: Show redirected images (affects missing images when underlying image page has been redirected); EX:Wikiversity-logo-Snorky.svg -> Wikiversity-logo-en.svg. See: https://en.wikipedia.org/wiki/Earth [broken since:v2.2.4]

package

- Package: Release image rebuild for Simple wikis. See: https://archive.org/details/Xowa_simplewiki_latest
- Package: Release image rebuild for English Wikipedia. See: https://archive.org/details/Xowa_enwiki_latest
- Package: Release image rebuild for Polish wikis. See: https://archive.org/details/Xowa_plwiki_latest
- Package: Release image rebuild for Greek wikis. See: https://archive.org/details/Xowa_elwiki_latest

significant

- Search: Show search results when moving backward or forward through history (affects no search results after pressing back); EX:search -> click link -> press back -> results are empty.
- Search: Fix SWT deadlock when execSync is running during display shutdown (affects XOWA running in background when app is closed during long search).
- Search: Update progress message at start of search (affects status box being blank at beginning of search).
- File: Create file-user database if it doesn't exist.
- File: Ignore missing bin db files (affects wiki to fail to load if one bin file is missing).
- File: Fix wrong thumb image shown for original (affects images with missing original will show previous thumb). See: https://en.wikipedia.org/wiki/Philippines https://en.wikipedia.org/wiki/The_Club_(dining_club) [broken since:v2.2.4]
- Gallery: Show correct page images for djvu / pdf inside gallery (affects gallery with pdf / djvu and page > 1 always showing page 1); EX:<gallery>File:A.pdf|b|page=8</gallery>. See: https://pt.wikisource.org/wiki/Portal:Diccionario_geographico_do_Brazil

minor

- File: Use correct image size when image has frame and thumb (affects a handful of images showing wrong size); EX:[[File:A.png|thumb|frame]] -> frame. See: https://en.wikipedia.org/wiki/History_of_Western_civilization
- File: Show image box when image has frame and thumb (affects a handful of images showing inline instead of as frame / thumb); EX:[[File:A.png|thumb|frame]] -> frame. See: https://en.wikipedia.org/wiki/History_of_Western_civilization
- Language: Show messages for Wikidata codes (affects <some-key> showing up on Wikidata instead of "value"); EX:<Wikibase-entity-item> -> "item" {detected by anonymous}. See: https://www.wikidata.org
- Import: Add Nepal Wikipedia. See: Dashboard/Import/Online

trivial

- Language: Add new language codes (affects none); EX:ady_cyrl;aro;ase;bew;bgn;bto;es_formal;esu;gom_deva;guc;hsn;izh;luz;mic;mnc;mui;pbb;ppl;rap;rmf;ryu;saz;sdh;shn;sly;.
- Import: Generate unique session guid (affects empty guid in xowa_cfg for new wikis); EX:SELECT * FROM xowa_cfg.

dev

- xowa.sourceforge.net: Update download links for en.wikipedia.org {detected by anonymous}.

help

- xowa.sourceforge.net: Update download links for en.wikipedia.org {detected by anonymous}.
- Help: Update documentation for setting up Simple Wikipedia / English Wikipedia.
- Help: Update Download list.

## v2.4.2.1 (2015-04-13)

fix

- Image: Show images even if no meta-data exists for the original file (affects images not loading after one file has no meta-data). [broken since:v2.4.1]
- Gallery: Resize packed gallery on first view (affects packed galleries not resizing when viewed for the first time (resizes correctly on subsequent views)). See: https://en.wikipedia.org/wiki/National_Gallery_of_Art [broken since:v2.4.1]

major

- Search: Rewrite search module for improved performance. See: https://en.wikipedia.org/wiki/Special:Search/Earth*_AND_(History_OR_Future)_AND_-%22middle_earth%22
- Search: Upgrade search databases for improved performance. See: App/Search
- Search: Run searches in background thread.
- Wikidata: Update css for new Wikidata skin (affects all www.wikidata.org pages now readable). See: https://www.wikidata.org/wiki/Q2
- ParserFunctions: Convert numbers greater than e308 to positive infinity (affects pages with large exponents not loading or generating errors); EX:{{#expr:1e309}} -> INF. See: https://en.wikipedia.org/wiki/Factorial https://en.wikipedia.org/wiki/Astatine

significant

- Wikidata: Parse titles in non-English namespaces (affects missing language links for articles without a sitelink in English Wikipedia); EX:bin/any/xowa/cfg/wiki/wmf_data.sqlite3. See: https://www.wikidata.org/wiki/Q95941
- ParserFunctions: Show numbers greater than e14 in exponential notation (affects large numbers listing all 0s instead of exponential notation); EX:{{#expr:1e14}} -> 1E14 x> 100000000000000. See: https://en.wikipedia.org/wiki/Factorial https://en.wikipedia.org/wiki/Fieldbus

## v2.4.1.1 (2015-04-05)

major

- Database: Rename extension from .sqlite3 to .xowa. See: Dev/Design/Database
- Database: Support detachable databases.
- Database: Support creation of single databases.
- Database: Embed CSS in wiki databases.
- Import: Change import script. See: Dev/Command-line

fix

- HttpServer: Fix HTTP Server failing in headless mode.

minor

- Gui: Limit selection of dumps to files with .bz2 or .xml. See: Dashboard/Import/Offline
- Gui: Add "please wait" message when building SQLite indexes.

trivial

- Parser.List: Close entire list when encountering pre (affects 1 fi.w page showing over-indented list). See: https://fi.wikipedia.org/wiki/Luettelo_hyönteisistä
- Parser.Pre: Ignore pre inside File caption (affects 1 s.w page showing pre). See: https://simple.wikipedia.org/wiki/Virus
- Commons: Register wav as minor_mime (affects unnecessary log messages while building commons wiki).
- Module.Popups: Do not get popup for file:/// links (affects unnecessary warnings when hovering over images).

doc

- Help: Add Module:Xowa_url.
- Help: Clean up Help articles.

dev

- Source: Remove calls to Mkr_rls to avoid possible threading issues.

## v2.3.2.1 (2015-03-09)

fix

- File: Continue loading files if indicator appears on page (affects files not loading on pages with indicator). See: https://it.wikipedia.org/wiki/Storia_della_Corsica
- Gui: Update wiki when moving back from one wiki to another (affects urls not working); EX:Load XOWA -> Go to s.w: -> Press Back -> Click any link. [broken since:v2.2.4]
- Wikisource: Fix Index pages not loading in non-English wikis (affects <pages> showing up in middle on non-English wikisources). See: https://it.wikisource.org/wiki/Il_Principe [broken since:v2.3.1]

add

- Import: Add new wikimedia org wikis. See: Dashboard/Import/Online
- File: Download file if not available for offline database users.
- Html: Expand hyperlink for twisty to include text heading, not just twisty icon (affects Wikis list in sidebar; Other languages link).

package

- Package: Release image rebuild for Italian wikis.

trivial

- Css: Download css with spaces in file names (affects full css not download for it.v:); EX:https://it.wikivoyage.org/w/index.php?title=MediaWiki:Container e Infobox.css&action=raw&ctype=text/css. See: https://it.wikivoyage.org
- Wikidata: Add badge "featuredportal". See: https://en.wikipedia.org/wiki/Portal:Canada
- Scribunto: Do not fail if 0 args passed to NewTitle (affects error message in log file); EX:{{#invoke:Message box|fmbox}}.

## v2.3.1.1 (2015-03-02)

package

- Package: Release image rebuild for Dutch wikis.
- Package: Release image rebuild for Latin wikis.

trivial

- Scribunto: Do not treat raw messages returning empty string as an error (affects 21 it.w pages generating error messages in log); EX:raw={{Blank}} -> "" -> error in log. See: https://it.wikipedia.org/wiki/L'Internazionale

source

- Source: Add Xow_core_data_mgr.

## v2.2.4.3 (2015-02-25)

fix

- File: Fix offline downloads not working. See: https://en.wikipedia.org/wiki/Earth

## v2.2.4.2 (2015-02-24)

fix

- HttpServer: Fix HTTP Server failing with null ref.
- File: Fix online downloads only working for first load. See: https://simple.wikipedia.org/wiki/Gothic_architecture

## v2.2.4.1 (2015-02-23)

major

- File: Do not show Scribunto error if file is missing. See: https://en.wikipedia.org
- Css: Use https instead of http for css downloader (affects wiki logos not being downloaded). See: https://simple.wikipedia.org
- Wikidata: Update css for new Wikidata skin (affects all www.wikidata.org pages now readable). See: https://www.wikidata.org/wiki/Q2
- Scribunto.Regex: Reduce support for balanced parens from 3 levels to 2 levels (affects many ru.d pages taking > 60 seconds to load). See: https://ru.wiktionary.org/wiki/due https://ru.wiktionary.org/wiki/woman

package

- Package: Release image rebuild for Russian wikis.

minor

- Wikidata: Do not return datavalue node for novalue snaks (affects 1 ru.w page showing error). See: https://ru.wikipedia.org/wiki/Лимонов,_Эдуард_Вениаминович
- Wikidata: Do not return null for references with 0 snaks (affects 1 ru.w page showing error). See: https://ru.wikipedia.org/wiki/Птичкин,_Евгений_Николаевич

dev

- Source: Refactor Xof_fsdb_mgr.
- Source: Refactor Xof_cache_mgr.
- Source: Refactor Xof_offline tests.
- Import: Add "err_filter" for mass parse.
- Source: Add Xoae_app, Xowe_wiki, Xoae_page.
- Source: Reorganize packages for db project.
- Source: Add Db_conn_bldr.

## v2.2.2.1 (2015-02-09)

package

- Package: Release image rebuild for German wikis.

major

- Indicator: Do not reset image index for indicator images (affects many de.v pages showing infobox image in wrong location on first load). See: https://de.wikivoyage.org/wiki/Amsterdam https://de.wikivoyage.org/wiki/Kassel https://de.wikivoyage.org/wiki/Berlin

significant

- ParserFunctions: Track tag # at application-level not at page-level because of pre-compiled templates (affects 1 de.w page showing incorrect citations); EX:<xtag_bgn id='000000001'> shows up twice. See: https://de.wikisource.org/wiki/Seite:NewtonPrincipien.djvu/465

minor

- Parser.Link: Limit upright values to 19 digits of precision (affects 2 de.w pages failing to show image); EX:upright=1.333333333333333333333333333333333333333333333333333333333333333333333. See: https://de.wikipedia.org/wiki/Feuerland https://de.wikipedia.org/wiki/Baie-Mahault

trivial

- Imap: Handle invalid default lines (affects 1 de.u page with extra log errors). See: https://de.wikiversity.org/wiki/Category:PPA/Raster/TK25/51/18/12/20
- Scribunto: Show error message detail, not just "Script Error" (affects pages with script error not showing more detail). See: https://de.wiktionary.org/wiki/Verzeichnis:Deutsch/testBK

dev

- Source: Reorganize packages for db project.
- Source: Add Db_conn_bldr.

## v2.2.1.1 (2015-02-02)

package

- Package: Release image rebuild for English wikis.

significant

- Scribunto.Regex: Return "" not nil if text is "" and regex is "?" (affects 7 en.d pages with script error). See: https://en.wiktionary.org/wiki/民 https://en.wiktionary.org/wiki/物 https://en.wiktionary.org/wiki/分家 https://en.wiktionary.org/wiki/腊肉 https://en.wiktionary.org/wiki/немногие https://en.wiktionary.org/wiki/новости https://en.wiktionary.org/wiki/отруби

trivial

- Parser.Xml: Invalidate xml attribute if last attribute and dangling (affects 14 en.s page showing script error); EX:<pages to=> -> invalid x> <pages to>. See: https://en.wikisource.org/wiki/The_Nether_World/Chapter_5 https://en.wikisource.org/wiki/Notes_by_the_Way/Chapter_2 -> https://en.wikisource.org/wiki/Notes_by_the_Way/Chapter_14
- Poem: Check for out of bounds error when dangling poem has dangling comment (affects 1 en.s page failing to load). See: https://en.wikisource.org/wiki/The_Hebrew_Nation_did_not_write_it

dev

- Import: Update "Import online" parser for latest format change. See: http://dumps.wikimedia.org/enwiki/latest/

## v2.1.4.1 (2015-01-26)

package

- Package: Release image rebuild for English Wikipedia.

major

- Scribunto: Update mw.title.lua (affects many en.w geography pages failing with Script error). See: https://en.wikipedia.org/wiki/Sheringham_Park https://en.wikipedia.org/wiki/Caveira https://en.wikipedia.org/wiki/Oxburgh_Hall https://en.wikipedia.org/wiki/Padstow_Lifeboat_Station https://en.wikipedia.org/wiki/Padstow_Lifeboat_Station

significant

- Scribunto.Regex: Expand support for balanced parens from 1 level to 3 levels (affects 2 en.w pages showing broken charts); EX:%b() -> (3(2(1)2)3). See: https://en.wikipedia.org/wiki/Electricity_sector_in_Switzerland

minor

- Parser.Nowiki: Escape - within nowiki (affects 1 de.w page with incorrect tables); EX:|<nowiki>-<nowiki> {detected by Schnark}. See: https://de.wikipedia.org/wiki/Liste_von_Vereinen_und_Vereinigungen_von_Gläubigen_(römisch-katholische_Kirche)
- Parser.ExternalLinks: Do not ignore ":" for list dd when preceded by invalid protocol (affects 1 de.w page with incorrect list/ boundaries); EX:"; attl: b" -> ":" should still be processed for <dd> {detected by Schnark}. See: https://de.wikipedia.org/wiki/Mord_(Deutschland)#Besonders_verwerfliche_Begehungsweise
- Parser.Template: Ignore safesubst for IsSubsting (affects 1 en.w page failing to load with stack overflow error). See: https://en.wikipedia.org/wiki/Wikipedia:WikiProject_Celtic_history_and_culture
- Scribunto: Allow ints to be passed for text in UStringLibrary's Match (affects 1 en.w page failing to show pie chart); EX:Match(1, "a") vs Match("1", "a"). See: https://en.wikipedia.org/wiki/Budget_of_the_European_Union
- Scribunto: Add GetExpensiveData to TitleLibrary (affects no known pages).
- FirefoxAddon: Fix Firefox Addon (shows "Error") (affects Firefox Addon not working).

trivial

- Scribunto: Update mw.html.lua, mw.text.lua, libraryUtil.lua, mwInit.lua (affects no known pages).
- Scribunto: Rename FileExists to GetFileInfo (affects no known pages).
- Scribunto: Add InterwikiMap to SiteLibrary (affects no known pages).
- Scribunto: Add LoadPHPLibrary to MWLibrary (affects no known pages).
- Scribunto: Add unstripNoWiki and killMarkers to TextLibrary (affects no known pages).
- ImageMap: Throw better error if malformed imageMap line has lnke but no lnki (affects 2 en.w pages show wrong error in log); EX:<imap>|thumb|[http://a.org]. See: https://en.wikipedia.org/wiki/Demography_of_the_United_Kingdom

dev

- Source: Rename Db_conn_info to Db_url and Db_provider to Db_conn.
- Source: Clean up Db_sql_wtr.
- Source: Expand Db_stmt.

## v2.1.1.1 (2015-01-05)

minor

- File: Change default for Files Retrieval to true (affects images not loading if user forgets to change default). See: Options/Files
- Parser.Template: Ignore safesubst for IsSubsting (affects 1 en.w page failing to load with stack overflow error). See: https://en.wikipedia.org/wiki/Wikipedia:WikiProject_Celtic_history_and_culture

### XOWA

- Main page
- Screenshots
- Video
- Download XOWA
- Download wikis

### Getting started

- Requirements
- Installation
- Simple Wikipedia
- English Wikipedia
- Other Wikipedias

### Android

- Setup
- Video

### Help

- About
- Contents
- Media
- Feedback

### Blog

- Current

### Links

- Wikimedia dumps
- XOWA @ archive.org
- English Wikipedia

### Donate

- archive.org
- Wikipedia
- XOWA