mediawiki-extensions-Scribunto/engines/LuaCommon
Brad Jorsch e5564cf942 Add mw.text.unstripNoWiki, mw.text.killMarkers, fix mw.text.unstrip
mw.text.unstrip is too broad, it's allowing for unstripping things that
cause problems when unstripped (e.g. bug 61268). Since the original
request was only for unstripping <nowiki>, let's add a function that
does only that.

We should also add an interface to StripState::killMarkers(), instead of
requiring everyone to roll their own work-alike.

Then, to fix the bug, we can make mw.text.unstrip be the combination of
the two. This is the most like the original behavior of mw.text.unstrip
(removes all strip markers, replacing them with text where applicable)
without causing issues.

Bug: 61268
Change-Id: I3a151fd678b365d629b71b4f1cb0d5d284b98555
2014-11-05 12:32:35 -05:00
..
lualib Add mw.text.unstripNoWiki, mw.text.killMarkers, fix mw.text.unstrip 2014-11-05 12:32:35 -05:00
HtmlLibrary.php Allow for dynamically-loaded PHP libraries 2014-10-03 09:27:23 -04:00
LanguageLibrary.php Merge "Allow for dynamically-loaded PHP libraries" 2014-10-03 14:01:46 +00:00
LibraryBase.php Add missing PHPDoc comments and type hints 2014-10-09 23:23:05 +02:00
LuaCommon.php Fix type hint for Scribunto_LuaEngine::registerInterface 2014-10-17 01:40:15 +02:00
LuaInterpreter.php Add missing PHPDoc comments and type hints 2014-10-09 23:23:05 +02:00
MessageLibrary.php Allow for dynamically-loaded PHP libraries 2014-10-03 09:27:23 -04:00
SiteLibrary.php Allow for dynamically-loaded PHP libraries 2014-10-03 09:27:23 -04:00
TextLibrary.php Add mw.text.unstripNoWiki, mw.text.killMarkers, fix mw.text.unstrip 2014-11-05 12:32:35 -05:00
TitleLibrary.php Merge "Allow for dynamically-loaded PHP libraries" 2014-10-03 14:01:46 +00:00
UriLibrary.php Allow for dynamically-loaded PHP libraries 2014-10-03 09:27:23 -04:00
UstringLibrary.php Allow for dynamically-loaded PHP libraries 2014-10-03 09:27:23 -04:00