HomePhabricator

Updated mediawiki/extensions Project: mediawiki/extensions/Scribunto…

Authored by Anomie.

Description

Updated mediawiki/extensions Project: mediawiki/extensions/Scribunto 35ee461a0bed81d7b653f8c64bec0fad3de3c2b1

Improve frame:callParserFunction argument validation

From wikitext, $parser->callParserFunction() will always get an array of
strings with at least an element [0]. Let's match this from Scribunto:
stringify numbers, and require that [0] (although in Lua it'll be [1]).

Also fix an old broken unit test.

Bug: 63597
Change-Id: Ie7ac34ae4bce70cec455d90c3f02a658644f6866

Details

Committed
Gerrit Code ReviewMay 13 2014, 5:17 AM
Parents
rMEXTb8bf74130a28: Updated mediawiki/extensions Project: mediawiki/extensions/AnchorHandler…
Branches
Unknown
Tags
Unknown
ChangeId
Ie7ac34ae4bce70cec455d90c3f02a658644f6866

Event Timeline