Change log/v4.6.0.1903
From XOWA: the free, open-source, offline wiki application
v4.6.0.1903 (2019-03-23)
Wiki
- Package: Publish 2019-03 German Wikipedia.
- Links: Wiki_setup/German_wikis
PC
major
- Templatestyles: Fix templatestyles showing on many en.w pages. {detected by anonymous}
- Resolved by: Support templatestyles.
- Links: https://en.wikipedia.org/wiki/Henry_David_Thoreau
- Issue: https://github.com/gnosygnu/xowa/issues/
- TemplateStyles: Fix templatestyles not showing in css.
- Resolved by: Add templatestyles to html.head.
- Links: https://en.wikiversity.org/wiki/WikiJournal_Preprints/Binary_search_algorithm
- Issue: https://github.com/gnosygnu/xowa/issues/314
- Html: Hide 'Jump to: navigation, search' appearing on multiple pages.
- Resolved by: Reformat HTML for jump-to div.
- Issue: https://github.com/gnosygnu/xowa/issues/394
- HTML Databases: Deprecate hzip in favor of plain-text format.
significant
- Luaj: Fix infinite loop on some en.w pages. {detected by desb42}
- Resolved by: Do not auto-case strings to ints in LuaTable.set.
- Example: tbl.k = "2.";.
- Issue: https://github.com/gnosygnu/xowa/issues/360
- Scribunto: Fix script errors 'INTERNAL... IllegalArgumentException Argument is not an array' for many dozen en.w Template pages. {detected by desb42}
- Resolved by: Allow strings and other primitive values for jsonEncode / jsonDecode.
- Issue: https://github.com/gnosygnu/xowa/issues/329
- Scribunto: Fix script errors 'Lua error in Module:Language at line 193: No name for the language' on several en.w pages. {contributed by desb42}
- Resolved by: Change default for fetchLanguageName from 'mw' to null.
- Issue: https://github.com/gnosygnu/xowa/issues/331
- Scribunto: Fix script error '@package.lua:81 module `luabit.hex' not found stack traceback:' on several en.w pages. {contributed by desb42}
- Resolved by: Add 'dotted' form of file path.
- Example: a/b/c -> a.b.c.
- Links: https://en.wikipedia.org/wiki/St._Peter's_Lutheran_Church_(Ottawa)
- Issue: https://github.com/gnosygnu/xowa/issues/353
- Scribunto: Fix script errors 'attempt to compare string with number' on many en.d pages. {detected by desb42}
- Resolved by: Handle anypos flag.
- Issue: https://github.com/gnosygnu/xowa/issues/337
- Scribunto: Fix 'invalid regx' on many en.d pages. {detected by desb42}
- Resolved by: Iterate regx by codepoint not by bytes.
- Issue: https://github.com/gnosygnu/xowa/issues/383
- Scribunto: Fix literal '%1' on some en.d pages. {detected by desb42}
- Resolved by: Pull 0th argument if %1 is specified and 0 groups.
- Links: https://en.wiktionary.org/wiki/Wiktionary:Scripts
- Issue: https://github.com/gnosygnu/xowa/issues/393
- Scribunto: Fix 'invoke failed: Portal:Germany {{#invoke:Excerpt slideshow|listItemExcerpt}}' on some de.w pages. {detected by desb42}
- Resolved by: Do not fail in ustring.find if negative bgn is large.
- Example: mw.ustring.find('abc', "c", -999).
- Issue: https://github.com/gnosygnu/xowa/issues/366
- Scribunto: Fix 'gplx.Err: type mismatch: expdType=boolean actlType=java.lang.String actlObj=y' on some commonswiki pages. {detected by desb42}
- Resolved by: Use PHP.empty for noCommafy .
- Example: language.formatNum(1234, {noCommafy='y'}).
- Issue: https://github.com/gnosygnu/xowa/issues/372
- Scribunto: Fix script error '=Module:Wikidata label:65 bad argument: table expected, got nil' on some wd pages. {detected by desb42}
- Resolved by: Scribunto|Return ['en'] not [] if unknown language.
- Issue: https://github.com/gnosygnu/xowa/issues/340
- Wikibase: Fix blank "Authority Control" sections. {detected by desb42}
- Resolved by: Fix getBestStatements to return normal if no preferred.
- Links: https://en.wikipedia.org/wiki/James_Monroe
- Issue: https://github.com/gnosygnu/xowa/issues/297
- Wikidata: Fix 'unknown key for property' on many de.w pages. {detected by desb42}
- Resolved by: Trim whitespace from start and end of property keys.
- Example: {{#property:P17 | from = Q2 }}.
- Issue: https://github.com/gnosygnu/xowa/issues/361
- Wikidata: Fix 'wbase:could not find datatype for pid; pid=5\n'.
- Resolved by: Trim whitespace from start and end of qid in GetEntity.
- Example: mw.wikibase.getEntity(' Q2\n').
- Issue: https://github.com/gnosygnu/xowa/issues/363
- Wikidata: Fix broken property links on wikidata claims. {contributed by desb42}
- Resolved by: Add 'P' to property link.
- Issue: https://github.com/gnosygnu/xowa/issues/332
- Category: Fix "Next 200" not working on en.w category pages. {contributed by desb42}
- Resolved by: Upgrade to icu4j-57_1.jar.
- Issue: https://github.com/gnosygnu/xowa/issues/237
minor
- Timeline: Fix many minor timeline bugs. {contributed by desb42}
- Links: https://en.wikipedia.org/wiki/Template:Timeline_WWII_-_Pacific_Theater https://en.wikipedia.org/wiki/1910_Atlantic_hurricane_season https://en.wikipedia.org/wiki/42-01 https://en.wikipedia.org/wiki/The_Beach_Boys#Members https://en.wikipedia.org/wiki/Solar_power_in_Alaska https://en.wikipedia.org/wiki/South_Eastern_Collegiate_Hockey_Conference https://en.wikipedia.org/wiki/19th-century_National_League_teams https://en.wikipedia.org/wiki/Browser_engine https://en.wikipedia.org/wiki/Mount_Hood_climbing_accidents https://en.wikipedia.org/wiki/Kicking_Sunrise#Members https://en.wikipedia.org/wiki/Lifespan_Timeline_of_Prime_Ministers_of_Romania https://en.wikipedia.org/wiki/Classical_antiquity https://en.wikipedia.org/wiki/Disneyland_Paris#Attendance https://en.wikipedia.org/wiki/Canada–United_States_relations https://en.wikipedia.org/wiki/Template:NASA_Planetary_Missions_Program https://en.wikipedia.org/wiki/Template:Space_station_crew_timeline https://en.wikipedia.org/wiki/Template:NASA_Planetary_Missions_Program https://en.wikipedia.org/wiki/History_of_Islam https://en.wikipedia.org/wiki/Tromborn https://en.wikipedia.org/wiki/Timeline_of_political_parties_in_the_United_Kingdom https://en.wikipedia.org/wiki/Hindu_units_of_time
- Issue: https://github.com/gnosygnu/xowa/issues/368
- Cite: Show lower-roman, lower-alpha and other superscripts. {detected by desb42}
- Resolved by: Change Cite to follow MediaWiki behavior for super-scripting.
- Example: lower-roman -> "i" x> "lower-roman 1".
- Issue: https://github.com/gnosygnu/xowa/issues/382
- Parser: Fix non-italicized titles in Template namespace and others. {detected by desb42}
- Resolved by: Change ttl.Page_db() to ttl.Full_db().
- Issue: https://github.com/gnosygnu/xowa/issues/277
- ParserFunctions: Fix 'Invalid errors' date for next Sunday. {contributed by desb42}
- Resolved by: Support next / previous for day of week.
- Issue: https://github.com/gnosygnu/xowa/issues/262
- Css: Fix missing images on en.v pages. {contributed by desb42}
- Resolved by: Trim whitespace from start and end of css-related urls.
- Issue: https://github.com/gnosygnu/xowa/issues/307
- Html: Fix subpages showing underscores instead of spaces. {contributed by desb42}
- Resolved by: Replace underscores with spaces in subpages.
- Links: https://en.wikiversity.org/wiki/Computer-aided_design/Software
- Issue: https://github.com/gnosygnu/xowa/issues/308
- Html: Standardize spacing between subpage entries. {contributed by desb42}
- Links: https://en.wikiversity.org/wiki/Computer-aided_design/Software
- Issue: https://github.com/gnosygnu/xowa/issues/308
- Html: Fix broken pages when invalid characters in href. {detected by desb42}
- Resolved by: Do not hzip anchors with invalid href.
- Links: https://en.wikiversity.org/wiki/Research_in_programming_Wikidata/Banks
- Issue: https://github.com/gnosygnu/xowa/issues/311
- Html: Change message from 'was last modified' to 'was last edited'. {contributed by desb42}
- Category: Pluralize "Category" label only if more than one item. {contributed by desb42}
- Resolved by: Pass count into category msg .
- Links: https://en.wikiversity.org/wiki/WikiJournal_Preprints/Binary_search_algorithm
- Issue: https://github.com/gnosygnu/xowa/issues/316
- HTTP Server: Support popups. {contributed by desb42}
- HTTP Server: Fix Edit / View HTML links not working. {contributed by desb42}
- Resolved by: Support 'action=edit' / 'action=html'.
- Issue: https://github.com/gnosygnu/xowa/issues/264
- HTTP Server: Fix inaccessible pages when names starts with slash. {contributed by desb42}
- Resolved by: Change url parsing logic to support slashes.
- Links: https://en.wikipedia.org/wiki//dev/full
- Issue: https://github.com/gnosygnu/xowa/issues/301
- HTTP Server: Fix Article link not working when title has spaces. {detected by desb42}
- Resolved by: Use url-encoded article link.
- Issue: https://github.com/gnosygnu/xowa/issues/254
- HTTP Server: Fix Article link not working b/c not pointing to current wiki. {detected by desb42}
- Resolved by: Reorder href attribute so that it follows a tag.
- Example: <a id=a href=b> -> <a href=b id=a>.
- Issue: https://github.com/gnosygnu/xowa/issues/252
- HTTP Server: Show xowa shortcut icon in edit / view html. {detected by desb42}
- Resolved by: Update href for 'shortcut icon'.
- Issue: https://github.com/gnosygnu/xowa/issues/285
- HTTP Server: Fix exceptions when using nginx. {contributed by desb42}
- Resolved by: Ignore nginx http headers.
- Issue: https://github.com/gnosygnu/xowa/issues/255
- HTTP Server: Retain new-line when processing form-data. {contributed by desb42}
- Xtn.Popups: Fix 'The template/module can only be used on pages in the Category namespace'. {detected by desb42}
- Resolved by: Update page title on Scrib_core when generating popup.
- Issue: https://github.com/gnosygnu/xowa/issues/338
- Xtn.Popups: Do not show category pages from popup. {detected by desb42}
trivial
- Parser.Lnki: Fix links with a literal caption of 'class' or 'alt' showing page name instead of 'class' or 'alt'. {detected by desb42}
- Resolved by: Treat keywords as caption if not File namespace or if keyless.
- Links: https://en.wikibooks.org/wiki/C_Sharp_Programming
- Issue: https://github.com/gnosygnu/xowa/issues/303
- Parser: Fix inconsistent html-encoding of {{#tag}} calls.
- Links: https://fr.wikivoyage.org/wiki/France https://en.wikipedia.org/wiki/Henry_David_Thoreau
- Issue: https://github.com/gnosygnu/xowa/issues/310
- ParserFunctions: Fix invalid url for tools.wmflabs.org. {contributed by desb42}
- Resolved by: Do not add '/wiki/' for non-WMF wikis.
- Links: https://en.wikipedia.org/wiki/Scafell_Pike
- Issue: https://github.com/gnosygnu/xowa/issues/298
- Html: Show wikiname in search-bar's placeholder text. {contributed by desb42}
- Resolved by: Change div_view_fmtr to be sitename aware.
- Links: https://en.wikiversity.org
- Issue: https://github.com/gnosygnu/xowa/issues/313
- Html: Fix textarea content being mislocated outside of textarea tags. {detected by desb42}
- Resolved by: Escape textarea content.
- Example: <pre> -> <pre>.
- Issue: https://github.com/gnosygnu/xowa/issues/250
- Parser: Fix blank div id on en.w pages. {detected by desb42}
- Resolved by: Fix anchorencode for trailing lnki.
- Example: [[A]]b.
- Issue: https://github.com/gnosygnu/xowa/issues/373
- Parser.Lnke: Escape ampersand in external links. {contributed by desb42}
- Htxt: Fix broken html on de.w pages with video tags.
- Resolved by: Set src_bgn at start of block, not after video element.
- Links: https://de.wikipedia.org/wiki/München
- Issue: https://github.com/gnosygnu/xowa/issues/369
dev - make
- Make: Fix OutOfMemory error when building dewiki. {detected by desb42}
- Resolved by: Release bry_bfr in Tag_html_wkr_basic.
- Issue: https://github.com/gnosygnu/xowa/issues/351
- Make: Fix 'core dump' during pagelink.
- Resolved by: Rewrite pagelink builder.
- Issue: https://github.com/gnosygnu/xowa/issues/396
- Make: Fix 'Failed to render extension' when building en.d across multiple threads. {detected by desb42}
- Resolved by: Lock calls to cat_core Select.
- Issue: https://github.com/gnosygnu/xowa/issues/389
- Make: Fix 'counts do not match' when building en.s. {contributed by desb42}
- Resolved by: Extend lock scope over Get_by_exact_id_or_null.
- Issue: https://github.com/gnosygnu/xowa/issues/347
- Language: Update language list.
- File: Add opus file type. {detected by desb42}
- Wikibase: Register new wikis: als.wikibooks.org; als.wikiquote.org; als.wiktionary.org; bn.wikivoyage.org; mo.wiktionary.org; pms.wikisource.org; ps.wikivoyage.org; sah.wikiquote.org; sat.wikipedia.org; zh.wikiversity.org.
- Wikibase: Fix 'unknown json parser key' during site.util_meta command.
- Resolved by: Support bcp in language node.
- Example: unknown json parser key: path=www.wikidata.org.language.bcp47.
- Issue: https://github.com/gnosygnu/xowa/issues/
- Wiki: Fix 'unknown key: key=siteinfo' during site.util_meta command.
- Resolved by: Change 'wikimediafoundation.org' to 'foundation.wikimedia.org'.
- Issue: https://github.com/gnosygnu/xowa/issues/
dev - log
- Math: Remove tidy warnings on redundant math id. {detected by desb42}
- Resolved by: Increment math uid.
- Links: https://en.wikiversity.org/wiki/Electric_Circuit_Analysis/Passive_Sign_Convention
- Issue: https://github.com/gnosygnu/xowa/issues/375
- Xtn.Cldr: Fix 'no cldrName file exists for lang; lang=~{lang}'. {detected by desb42}
- Resolved by: Print correct lang_name if cldrFile name doesn't exist.
- Issue: https://github.com/gnosygnu/xowa/issues/349
- Make: Fix 'counts do not match: hash=3 list=4' when building dewiki. {detected by desb42}
- Resolved by: Add synchronized block when loading lang.
- Issue: https://github.com/gnosygnu/xowa/issues/330
- Make: Write full page url to log file, not just page title. {detected by desb42}
- Category: Do not log 'inserting cat_link row'. {suggested by desb42}
dev - code
- Source: Allow 'xowa_get_and_make.sh' to be run multiple times. {contributed by desb42}
- Resolved by: Remove previous items with 'rm -rf' .
- Issue: https://github.com/gnosygnu/xowa/issues/345
- Category: Clarify cast to RuleBasedCollator. {requested by desb42}
- Resolved by: Add comment and change casting order.
- Issue: https://github.com/gnosygnu/xowa/issues/269
- Search: Remove duplicate code line in link_score builder. {detected by desb42}
- Wiki: Add comment to explain Id_xowa_wikidata. {detected by desb42}