mediawiki-extensions-Scribunto/tests/engines/LuaCommon
Brad Jorsch 629f11d0dd Fix pure-Lua ustring and empty patterns
An empty pattern isn't "safe" since it could match in between the
bytes of a UTF-8 character.

Also, it turns out there's a bug in PHP <5.6.9 preg_replace() that we
need to work around too.

Change-Id: I282e5909e4663461d60c5386693db182de2fd44c
2016-10-05 14:32:27 -04:00
..
CommonTest.php Fix uncontroversial phpcs errors 2016-05-18 16:31:28 -04:00
CommonTests-data-fail1.lua Add mw.loadData, for static data loading 2013-02-21 23:03:53 +00:00
CommonTests-data-fail2.lua Add mw.loadData, for static data loading 2013-02-21 23:03:53 +00:00
CommonTests-data-fail3.lua Add mw.loadData, for static data loading 2013-02-21 23:03:53 +00:00
CommonTests-data-fail4.lua Add mw.loadData, for static data loading 2013-02-21 23:03:53 +00:00
CommonTests-data-fail5.lua Add mw.loadData, for static data loading 2013-02-21 23:03:53 +00:00
CommonTests-data.lua Add mw.loadData, for static data loading 2013-02-21 23:03:53 +00:00
CommonTests-lib.lua Allow for dynamically-loaded PHP libraries 2014-10-03 09:27:23 -04:00
CommonTests.lua Add mw.loadData, for static data loading 2013-02-21 23:03:53 +00:00
HashLibraryTest.php Add mw.hash to Scribunto 2016-08-18 04:39:04 +02:00
HashLibraryTests.lua Add mw.hash to Scribunto 2016-08-18 04:39:04 +02:00
HtmlLibraryTest.php SECURITY: Don't escape strip markers when escaping attributes in mw.html 2016-05-22 21:40:32 -04:00
HtmlLibraryTests.lua SECURITY: Don't escape strip markers when escaping attributes in mw.html 2016-05-22 21:40:32 -04:00
LanguageLibraryTest.php Fix uncontroversial phpcs errors 2016-05-18 16:31:28 -04:00
LanguageLibraryTests.lua Update LanguageLibraryTests per changes in core 2016-03-20 18:02:22 -04:00
LibraryUtilTest.php Fix uncontroversial phpcs errors 2016-05-18 16:31:28 -04:00
LibraryUtilTests.lua Improve error messages in mw.html 2014-12-08 17:01:31 +00:00
LuaDataProvider.php Fix uncontroversial phpcs errors 2016-05-18 16:31:28 -04:00
LuaEngineTestBase.php Fix uncontroversial phpcs errors 2016-05-18 16:31:28 -04:00
LuaEnvironmentComparisonTest.php Fix uncontroversial phpcs errors 2016-05-18 16:31:28 -04:00
LuaInterpreterTest.php Fix uncontroversial phpcs errors 2016-05-18 16:31:28 -04:00
luaParserTests.txt Improve validation of ScribuntoContent 2016-09-14 11:50:07 -07:00
MessageLibraryTest.php Fix uncontroversial phpcs errors 2016-05-18 16:31:28 -04:00
MessageLibraryTests.lua Remove message formats other than plain 2014-02-03 15:29:39 -05:00
SiteLibraryTest.php Fix uncontroversial phpcs errors 2016-05-18 16:31:28 -04:00
SiteLibraryTests.lua Add mw.site.interwikiMap 2014-12-24 01:17:48 +09:00
TestFramework.lua Allow for skipping Lua tests 2014-07-01 10:48:36 -04:00
TextLibraryTest.php Fix uncontroversial phpcs errors 2016-05-18 16:31:28 -04:00
TextLibraryTests.lua Allow nil in mw.text.jsonEncode 2015-06-16 16:36:30 +00:00
TitleLibraryTest.php Fix uncontroversial phpcs errors 2016-05-18 16:31:28 -04:00
TitleLibraryTests.lua Provide a standard way to get the target of a redirect page 2016-03-01 14:30:22 +01:00
UriLibraryTest.php Fix uncontroversial phpcs errors 2016-05-18 16:31:28 -04:00
UriLibraryTests.lua Make pairs() work with various library objects 2013-04-02 17:23:42 +00:00
UstringLibraryNormalizationTests.lua Add toNFKC and toNFKD to mw.ustring 2016-04-02 15:22:42 +00:00
UstringLibraryPureLuaTest.php Add handling for PCRE errors in ustringGsub 2016-07-15 15:43:58 -04:00
UstringLibraryTest.php Add handling for PCRE errors in ustringGsub 2016-07-15 15:43:58 -04:00
UstringLibraryTests.lua Fix pure-Lua ustring and empty patterns 2016-10-05 14:32:27 -04:00