# Change log

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

## Categories

Change log items are divided into the following categories:

- major: Major change, fix or addition. Probably noticeable.
- minor: Minor change, fix or addition. Possibly noticeable.
- trivial: Trivial change, fix or addition. Probably unnoticeable.
- package: New wikis / images uploaded to archive.org
- doc: Documentation changes. Primarily in home wiki
- dev: Code-related changes. Will not be noticeable.

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

In addition, as of v3.1.3, there are now two major groupings:

- Windows / Linux / Mac OS X: Windows, Linux and Mac OS X desktops and laptops
- Android: Android phones / tablets

## 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/Overview

- 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

- Luaj: Fix frontier pattern not working. Resolves error messages for every url reference on en.w pages. EX: `Check |archiveurl= value (help)`. See: https://en.wikipedia.org/wiki/A https://en.wikipedia.org/wiki/Earth
- Luaj: Handle backslash-escaped UTF8 sequences. Resolves error messages for many references on en.w pages. EX: `Specials character in |encyclopedia= at position 11 (help)`. See: https://en.wikipedia.org/wiki/A https://en.wikipedia.org/wiki/Earth
- Core: Parse decimals using US locale, not user locale. Resolves extremely wide pie charts on many de.w pages. {detected by markusmaresch} See: https://de.wikipedia.org/wiki/Hausmannstätten
- Xtn.Pgbnr: Add {{PAGEBANNER}} extension. Resolves pagebanner not showing up on top of wikivoyage pages. See: https://en.wikivoyage.org/wiki/Stonehenge https://en.wikivoyage.org/wiki/Paris https://en.wikivoyage.org/wiki/Munich https://en.wikivoyage.org/wiki/Cumbernauld Diagnostics/Xtns/Wikivoyage/All

minor

- Css: Remove from core.css #content a:link {color: #0645ad;}. Resolves wikivoyage banner links showing in blue instead of white. See: https://en.wikipedia.org/wiki/Stonehenge
- Html: Add 'class="visible"' to content-sub node and 'client-js' to html node. Resolves extra gap at bottom of content-sub on wikivoyage pages. See: https://en.wikivoyage.org/wiki/Stonehenge

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

- Css: Show navbox and other tables.
- Css: Always center table.
- File: Replace img.src ? with %3F. Resolves images with question marks not showing. See: https://en.wikipedia.org/wiki/Cleopatra https://en.wikipedia.org/wiki/Cave_paintings
- Xtn.Hiero: Show hieroglyphics (available in 2016-01 English Wikipedia release). Resolves hieroglyphics not appearing. See: https://en.wikipedia.org/wiki/Cleopatra
- Css: Force table content to be transparent color in night mode.
- Log: Deactivate logging to external SD card (again). {detected by anonymous}

## v3.1.4.2 (2016-01-28)

### Windows / Linux / Mac OS X

major

- Scribunto: Add built-in function: {{PROTECTIONEXPIRY}}. Resolves script error on many en.w pages. EX: `Script error: @/xowa/bin/any/xowa/xtns/Scribunto/engines/Luaj/MWServer.lua:59 vm error: gplx.Err: callParserFunction: function was not found: function=PROTECTIONEXPIRY`. See: https://en.wikipedia.org/wiki/Alaska https://en.wikipedia.org/wiki/Earth
- Xtn.FlaggedRevs: Add scribunto function: getStabilitySettings. Resolves script error on many en.w pages. EX: `Script error: =Module:Effective protection level:16 attempt to index ? (a nil value)`. See: https://en.wikipedia.org/wiki/A https://en.wikipedia.org/wiki/Animal_Farm https://en.wikipedia.org/wiki/Agriculture

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

- Luaj: Return position as int not string when using "()" regex (resolves script error on several dozen en.d / ru.d pages ("attempt to compare string with number expected, got string")). See: https://en.wiktionary.org/wiki/к https://en.wiktionary.org/wiki/кагебешник https://ru.wiktionary.org/wiki/плавлавка
- Scribunto: Handle nested gsub calls when using callback functions (resolves script error on a few dozen en.d pages ("Unrecognized 3ms suffix pattern.")). See: https://en.wiktionary.org/wiki/כלב
- Luaj: Handle multi-byte chars in lua variables (resolves script error on a few dozen en.d pages ("attempt to concatenate nil and string")). See: https://en.wiktionary.org/wiki/どう https://en.wiktionary.org/wiki/를
- Hzip: Handle jtidy moving <span class='headline'> outside of <h#> tag in rare combination of <center>, <span>, <div> (resolves a few dozen pages in en.s not showing). See: https://en.wikisource.org/wiki/On_the_Vital_Principle/Whole_text https://en.wikisource.org/wiki/Avenarius_and_the_Standpoint_of_Pure_Experience/1

minor

- Scribunto: Handle multi-byte characters for lua bracketed regular expressions (resolves nothing known). See: https://en.wiktionary.org/wiki/どう https://en.wiktionary.org/wiki/를
- Luaj: Use HOUR_OF_DAY for os.time, not HOUR (resolves hour off by 12 for os.time calls). See: Diagnostics/Scribunto/Luaj
- Xtns.Dpl: Write href using full_db not page_txt; EX:Category:A B -> Category:A_B x> A B. See: https://en.wikiquote.org/wiki/Wikiquote:Speedy_deletions
- Xtns.Dpl: Encode quotes in href title (resolves broken links if page title has quotes). See: https://en.wikibooks.org/wiki/Wikibooks:Alphabetical_classification/All_Books
- Dumps.HTML: Add support for non-english File namespace (resolves many log messages when generating html dumps for non-english wikis).

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

- Search: Do additional searches to return some results sooner.
- Image: Load images directly in html if page has already been viewed.
- Url: Convert plus to space (affects pages not loading if canonical_url has plus for space). See: https://en.wikipedia.org/wiki/List_of_Fire_Emblem:Shadow_Dragon_characters
- App: Add "send email" to crash reporting.

## v3.1.3.1 (2016-01-17)

### Windows / Linux / Mac OS X

add

- Command-line: Expand instructions for generating HTML dumps. See: Dev/Command-line/Dumps

significant

- Import: Delete broken page redirects when importing wiki in dansguardian.
- Html: Show info.png and play.png from css, not HTML. See: https://en.wikipedia.org/wiki/Piano

minor

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

trivial

- Parser.Lnki: Title-case page if link argument has xwiki alias to same wiki; EX:[[File:A.png|link=en:Help:a]] -> "Help:A" x> "Help:a". See: https://en.wikipedia.org/wiki/Wikipedia:Teahouse/Guest_book/Archive_5

### Android

fix

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

add

- Special: Implement random.

change

- Html: Show video thumbs. See: https://en.wikipedia.org/wiki/Lepidoptera
- Html: Show images from imageMap (available in next English Wikipedia release). See: https://en.wikipedia.org/wiki/Australia
- Html: Show images from fake-thumb divs. See: https://en.wikipedia.org/wiki/List_of_counties_in_New_York
- Css: Change background-color to black for infobox / wikitable in night-mode {detected by anonymous} {detected by anonymous}. See: https://en.wikipedia.org/wiki/Earth

significant

- Html: Center gallery images.

minor

- Html: Change background color to transparent for Portal divs. See: https://en.wikipedia.org/wiki/Australia

## 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

- ParserFunctions: Handle <refs> inside {{#tag}} (affects incorrectly placed ref on 1 en.w page); EX:{{#tag:ref|<ref>a</ref>b}}. See: https://en.wikipedia.org/wiki/UK https://en.wikisource.org/wiki/The_Canterville_Ghost
- ParserFunctions: Add {{REVISIONSIZE}} (affects script error on 2 ru.w pages); EX:{{REVISIONSIZE}}. See: https://ru.wikipedia.org/wiki/Юршор https://ru.wikipedia.org/wiki/Красноярск

significant

- Url: Process first # as anchor, not last (affects script error on 1 en.w page); EX:A#B#C -> "B#C" x> "C" . See: https://en.wikipedia.org/wiki/Grand_Central_Terminal
- Html: Remove magnify.png from HTML (use CSS). See: https://en.wikipedia.org/wiki/Beethoven

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

- Html: Remove underlines from "Redirected from" messages. See: https://en.wikipedia.org/wiki/Summer_Solstice
- Html: Escape quotes in alt for gallery file_names (affects incorrect alts for gallery itm); EX:<gallery>File:A"b.png</gallery>. See: https://en.wikipedia.org/wiki/Alexandria,_Romania
- Html: Escape quotes in title for links on Category page (affects incorrect titles for category page links). See: https://simple.wikipedia.org/wiki/Category:Solo_organ_piece
- Html: Do not output alt in caption if alt only has whitespace (affects useless <hr> when alt is just blank space); EX:[[File:A.png|thumb|alt= ]]. See: https://en.wikipedia.org/wiki/Bird

## Archives

- 2015 Change Log
- 2014 Change Log
- 2013 Change Log

### XOWA

- Main page
- Screenshots
- Download XOWA
- Download wikis

### Getting started

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

### Android

- Setup

### Help

- About
- Contents
- Media
- Feedback

### Blog

- Current

### Links

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

### Donate

- archive.org
- Wikipedia