Change log/2018

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

v4.5.21.1808 (2018-08-06)

Wiki

  • Package: Publish 2018-07 English Wikipedia.
Links: Wiki_setup/English_wikis

PC

minor

  • Graph: Support version 2 graphs.
Links: https://en.wikipedia.org/wiki/Obesity
  • JsonConfig: Fix "bad argument #1 to 'message.newRawMessage'" on several dozen en.w pages.
Resolved by: Add Localize function for tabular data.
Links: https://en.wikipedia.org/wiki/Obesity
  • Scribunto: Fix "@libraryUtil.lua:13 bad argument #1 to 'sitelink'" on several dozen en.w pages.
Resolved by: Support stripNoWiki.
Links: https://en.wikipedia.org/wiki/Agra_(Lok_Sabha_constituency)
  • Wikibase: Fix script error '=Module:ResolveEntityId:8 attempt to call nil' on many en.w biology pages.
Resolved by: Add isValidEntityId.
Links: https://en.wikipedia.org/wiki/Butter
  • Wikibase: Fix script error 'gplx.Err: getSetting not implemented" on many dozen en.w geographic pages pages.
Resolved by: Add getSetting call.
Links: https://en.wikipedia.org/wiki/Beccles
  • Wikibase: Fix script error "NullPointerException" on several dozen en.w species pages.
Resolved by: Check for null in getEntityId when title is invalid.
Links: https://en.wikipedia.org/wiki/Water_treader
  • Scribunto: Fix script error 'libraryUtil.lua:13 bad argument #1 to message.newRawMessage' on several dozen en.w military pages.
Resolved by: Return emptyString not null if language is invalid.
Links: https://en.wikipedia.org/wiki/United_States_Strategic_Bombing_Survey
  • Scribunto: Fix script error "Unmatched close-bracket at pattern character 15" on many dozen en.w Portal pages.
Resolved by: Fix regex for balanced pairs.
Example: %b[].
Links: https://en.wikipedia.org/wiki/Portal:Constructed_languages https://en.wikipedia.org/wiki/Portal:Belize https://en.wikipedia.org/wiki/Portal:Sports https://en.wikipedia.org/wiki/Portal:Bahamas
  • ParserFunctions: Fix script error '=Module:Location map:18 {location} is not a valid name for a location map definition' on several dozen en.w geographic pages.
Resolved by: Cache ifexist result of common wiki in current wiki.
Links: https://en.wikipedia.org/wiki/Harstad
  • Html_dump: Fix repeating links on many de.w pages.
Resolved by: Handle empty classes in img tag.
Links: https://de.wikipedia.org/wiki/Butter
  • HTTP Server: Fix random deadlocks when serving multiple concurrent requests.
  • Wikibase: Do not fail to run util.site_meta if wikimedia api returns nothing.
Links: https://als.wiktionary.org/w/api.php?action=query&format=json&rawcontinue=&meta=siteinfo&siprop=general|namespaces|statistics|interwikimap|namespacealiases|specialpagealiases|libraries|extensions|skins|magicwords|functionhooks|showhooks|extensiontags|protocols|defaultoptions|languages

trivial

  • Javascript: Remove unused global mediawiki instance in navframe js.
Example: /xowa/bin/any/xowa/html/res/src/gadgets/navframe/mediawiki.gadget.navframe.js.
  • Cfg: Fix repeated warnings about missing cfg values for 'show_search' and 'show_all_pages'.
Resolved by: Update correct keys in cfg db.
  • Wikibase: Add hif.wiktionary.org, inh.wikipedia.org, lfn.wikipedia.org, gor.wikipedia.org, eu.wikisource.org.

v4.5.19.1801 (2018-01-05)

Wiki

  • Package: Publish 2017-12 English Wikipedia.
Links: Wiki_setup/English_wikis
  • Package: Publish 2017-12 German Wikipedia.
Links: Wiki_setup/German_wikis

PC

major

  • Wikibase: Fix script error "=Module:Authority control:272 attempt to call nil" on many en.w pages.
Resolved by: Add getBestStatements.
Links: https://en.wikipedia.org/wiki/Apoptosis
  • Wikibase: Fix script error "MWServer.lua:59 vm error: java.lang.NullPointerException" on several dozen en.w pages.
Resolved by: Add getEntityUrl.
Links: https://en.wikipedia.org/wiki/Wikipedia:Persondata https://en.wikipedia.org/wiki/Wikipedia:ChemSpider https://en.wikipedia.org/wiki/Wikipedia:WikiProject_Women_artists/Redlinks_from_Wikidata
  • ParserFunctions: Fix script error 'bad argument #2 to 'formatDate' (not a valid timestamp)" on several dozen en.w pages.
Resolved by: Parse relative month.
Example: "01-12-2001 -1 month" -> 2001-11-01 x> "Invalid month: 12".
Links: https://en.wikipedia.org/wiki/Portal:Current_events/December_2001

minor

  • Scribunto: Fix script error 'NullPointerException" on a few en.w pages.
Example: [1, 2, 3, 5] -> [1, 2, 3, null, 5].
Links: https://en.wikipedia.org/wiki/Abziri
  • Luaj: Fix script error '=Module:Television ratings graph:312 attempt to index ? (a nil value)" on a dozen en.w pages.
Resolved by: Parse tonumber('-') as nil not 0.
Example: tonumber('-') -> nil x> 0.
Links: https://en.wikipedia.org/wiki/List_of_Twin_Peaks_episodes
  • JsonConfig: Fix script error '=Module:Data:8 attempt to index ? (a nil value)' on a dozen de.w pages.
Resolved by: Add JsonConfig support.
Example: /xowa/bin/any/xowa/xtns/JsonConfig.
Links: https://de.wikipedia.org/wiki/Reicholzheim
  • Parser: Fix 1 page not loading b/c of invalid file link.
Resolved by: Parse image.link args with with xwiki, namespace, but no title.
Example: [[File:A.png|link=en:User_talk:|abc]].
Links: https://en.wikipedia.org/wiki/Wikipedia:Teahouse/The_menu
  • Embeddable: Append categories to HTML. {requested by RĂ¼diger Gleim}

Namespaces

XOWA

Getting started

Android

Help

Blog

Donate