# Change log/v3.5.1.1

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

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

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