wiki.techinc.nl/tests/phpunit/includes
Max Semenik fd6e9ef2d4 Human-readable section ID support
It adds the ability to replace the current section ID escaping
schema (.C0.DE) with a HTML5-compliant escaping schema that is
displayed as Unicode in many modern browsers.

See the linked bug for discussion of various options that were
considered before the implementation. A few remarks:
* Because Sanitizer::escapeId() is used in a bunch of places without
  escaping, I'm deprecating it without altering its behavior.
* The bug described in comments for Parser::guessLegacySectionNameFromWikiText()
  is still there in some Edge versions that display mojibake.

Bug: T152540
Change-Id: Id304010a0342efbb7ef2d56c5b8b244f2e4fb2c5
2017-08-01 20:32:20 -07:00
..
actions Revert "Make an empty "?action=" parameter default to "view"" 2016-05-18 18:54:50 +00:00
api Merge "API: Add deprecation warnings for Iae0e2ce3" 2017-07-21 21:12:10 +00:00
auth clone keyword must not be used as a function 2017-06-28 16:29:33 +02:00
cache tests: Replace implicit Bugzilla bug numbers with Phab ones 2017-02-21 02:14:34 +00:00
changes RCFilters: show new changes 2017-07-31 08:50:09 -04:00
changetags Add unit tests for ChangeTags::modifyDisplayQuery() 2017-07-24 23:54:07 +00:00
collation Add collation for Bashkir (ba) 2017-05-10 04:17:46 +00:00
composer Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
config config: Add more EtcdConfig::fetchAllFromEtcdServer tests 2017-07-24 13:04:00 -07:00
content build: Update mediawiki/mediawiki-codesniffer to 0.10.1 2017-07-22 18:24:09 -07:00
context Fix numerous class/function casing 2016-03-18 23:14:49 +00:00
db rdbms: Refactor DatabaseTest 2017-07-20 18:23:37 -07:00
debug Switch to librarized version of TestingAccessWrapper 2017-04-20 14:15:57 +00:00
deferred Push all DeferredUpdates to POSTSEND queue when running that queue 2017-07-06 14:10:17 -07:00
diff Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
exception Fix/hack ErrorPageError to work from non-UI contexts 2017-07-06 20:04:31 +00:00
externalstore Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
filebackend Switch to librarized version of TestingAccessWrapper 2017-04-20 14:15:57 +00:00
filerepo phpunit: Avoid use of deprecated getMock for PHPUnit 5 compat 2017-04-06 00:44:32 +00:00
GlobalFunctions Remove empty lines at begin of function, if, foreach, switch 2017-07-01 11:34:16 +00:00
htmlform Merge "HTMLForm: Allow returning Message objects from HTMLFormField::validate()" 2016-11-25 09:11:07 +00:00
http Move HttpAccept* to libs 2017-06-12 18:28:25 +04:30
import Remove empty lines at begin of function, if, foreach, switch 2017-07-01 11:34:16 +00:00
installer DatabaseUpdater: Stop inserting junk into 'updatelog' every time the updater runs 2016-11-30 20:13:30 +00:00
interwiki Remove empty lines at begin of function, if, foreach, switch 2017-07-01 11:34:16 +00:00
jobqueue build: Prepare for mediawiki/mediawiki-codesniffer to 0.9.0 2017-06-26 17:14:31 +00:00
json Remove spaces after cast operators 2016-10-31 13:57:39 +00:00
libs Merge "rdbms: Complete coverage for Database::selectSQLText()" 2017-07-28 21:02:54 +00:00
linkeddata Remove empty lines at begin of function, if, foreach, switch 2017-07-01 11:34:16 +00:00
linker phpunit: Avoid use of deprecated getMock for PHPUnit 5 compat 2017-04-06 00:44:32 +00:00
logging Various test fixes for postgres 2017-05-18 20:30:13 +00:00
mail phpunit: Avoid use of deprecated getMock for PHPUnit 5 compat 2017-04-06 00:44:32 +00:00
media Remove empty lines at begin of function, if, foreach, switch 2017-07-01 11:34:16 +00:00
objectcache Switch to librarized version of TestingAccessWrapper 2017-04-20 14:15:57 +00:00
page build: Update mediawiki/mediawiki-codesniffer to 0.10.1 2017-07-22 18:24:09 -07:00
pager Various test fixes for postgres 2017-05-18 20:30:13 +00:00
parser Remove ParserOptions::legacyOptions() and cleanup related code 2017-07-04 01:28:57 +00:00
password Remove empty lines at begin of function, if, foreach, switch 2017-07-01 11:34:16 +00:00
poolcounter Include type in hashKeyIntoSlots() 2016-05-09 16:54:51 -07:00
rcfeed Add missing @group Database tags in tests 2017-03-18 19:13:18 -04:00
registration Merge "Allow namespaces defined in extension.json to be overwritten locally." 2017-05-21 08:02:22 +00:00
resourceloader resourceloader: Include lessVars in FileModule definition summary 2017-07-27 03:02:09 +00:00
search Fix phrase search 2017-07-03 11:44:48 +02:00
Services build: Prepare for mediawiki/mediawiki-codesniffer to 0.9.0 2017-06-26 17:14:31 +00:00
session session: Avoid deprecated wfMemcKey() 2017-05-23 22:25:27 -07:00
site build: Update mediawiki/mediawiki-codesniffer to 0.10.1 2017-07-22 18:24:09 -07:00
skins phpunit: Fix OutputPage::__construct warning in SkinTemplateTest 2017-02-08 18:19:43 +00:00
specialpage Follow-up 0b3ea6e1ab: use more flexible regex for timestamp in ChangesListSpecialPageTest 2017-07-28 17:36:25 -07:00
specials Allow blacklisting certain namespaces in Special:ShortPages 2017-08-01 00:21:12 +02:00
tidy Merge "RemexHtml tidy driver with p-wrapping" 2017-03-08 15:24:36 +00:00
title Remove empty lines at begin of function, if, foreach, switch 2017-07-01 11:34:16 +00:00
upload SECURITY: Whitelist DTD declaration in SVG 2017-04-06 13:43:04 -07:00
user Do not disable password reset for blocks meant to force login 2017-06-08 08:18:24 +00:00
utils Remove empty lines at begin of function, if, foreach, switch 2017-07-01 11:34:16 +00:00
AutopromoteTest.php In Autopromote skip edit count lookup if requirement is 0 or invalid 2017-05-21 14:30:42 +00:00
BlockTest.php tests: Replace implicit Bugzilla bug numbers with Phab ones 2017-02-21 02:14:34 +00:00
DeprecatedGlobalTest.php phpunit: Fix failing DeprecatedGlobalTest on HHVM at Travis CI 2017-07-28 18:30:32 -07:00
DiffHistoryBlobTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
EditPageTest.php tests: Replace implicit Bugzilla bug numbers with Phab ones 2017-02-21 02:14:34 +00:00
ExportTest.php DumpStringOutput: Rename getOutput() to __toString() 2016-07-14 06:28:16 -04:00
ExtraParserTest.php Wrap parser output in <div class="mw-parser-output"> 2017-05-08 05:32:03 +00:00
FauxRequestTest.php FauxRequest: Complete code coverage for FauxRequestTest 2017-04-01 01:25:02 +00:00
FauxResponseTest.php Fix numerous class/function casing 2016-03-18 23:14:49 +00:00
FormOptionsInitializationTest.php Remove "Generated by PHPUnit" comments in 3 files 2016-12-13 03:20:04 +00:00
FormOptionsTest.php Remove "Generated by PHPUnit" comments in 3 files 2016-12-13 03:20:04 +00:00
GitInfoTest.php phpcs.xml: Escape . in exclude-pattern 2017-07-23 00:46:12 +00:00
HooksTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
HtmlTest.php Update weblinks in comments to msdn.microsoft.com 2017-06-09 11:55:28 +02:00
LicensesTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
LinkerTest.php Merge "Linker: Do not localize links to other wikis in comments" 2017-07-06 02:08:02 +00:00
LinkFilterTest.php Move LikeMatch to Rdbms namespace 2017-02-06 21:20:39 -08:00
MediaWikiServicesTest.php statsd: Rename MediawikiStatsdDataFactory to IBufferingStatsdDataFactory 2017-07-07 17:22:50 -07:00
MediaWikiTest.php Revert "MediaWiki.php: Redirect non-standard title urls to canonical" 2016-09-09 21:45:27 +00:00
MediaWikiVersionFetcherTest.php
MergeHistoryTest.php Whenever possible, reuse User objects in unit tests 2016-05-26 20:42:31 +00:00
MessageTest.php Switch to librarized version of TestingAccessWrapper 2017-04-20 14:15:57 +00:00
MovePageTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
MWNamespaceTest.php Rename canTalk methods 2017-06-25 10:15:30 +00:00
MWTimestampTest.php phpunit: Avoid use of deprecated getMock for PHPUnit 5 compat 2017-04-06 00:44:32 +00:00
OutputPageTest.php Merge "Remove space after cast" 2017-06-29 01:11:32 +00:00
PagePropsTest.php Remove empty lines at end of functions 2016-11-05 11:55:10 +01:00
PathRouterTest.php Swap the rest of array() -> [] 2016-03-30 22:04:58 +00:00
PreferencesTest.php build: Update mediawiki/mediawiki-codesniffer to 0.10.1 2017-07-22 18:24:09 -07:00
PrefixSearchTest.php Avoid postgres PrefixSearchTest failures due to collation differences 2017-05-18 19:04:03 -07:00
ReadOnlyModeTest.php Remove unused and unnecessary imports 2017-06-12 15:50:43 +00:00
RevisionStorageTest.php Revision::getText() was removed 2017-01-19 01:57:38 +00:00
RevisionStorageTestContentHandlerUseDB.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
RevisionTest.php Revision::getText() was removed 2017-01-19 01:57:38 +00:00
SampleTest.php Update weblinks in comments from HTTP to HTTPS 2016-11-07 15:24:46 +01:00
SanitizerTest.php Human-readable section ID support 2017-08-01 20:32:20 -07:00
SanitizerValidateEmailTest.php tests: Replace implicit Bugzilla bug numbers with Phab ones 2017-02-21 02:14:34 +00:00
SiteConfigurationTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
SiteStatsTest.php Add WAN Cache to SiteStats::jobs 2017-07-25 18:17:34 +00:00
StatusTest.php tests: Fix invalid @covers value in StatusTest.php 2016-09-22 18:29:28 +01:00
TemplateCategoriesTest.php Disable broken TemplateCategoriesTest unit test 2017-05-20 11:36:25 +00:00
TemplateParserTest.php Better path traversal prevention in TemplateParser. 2017-03-14 18:43:11 +00:00
TestLogger.php Remove "@author Bryan Davis" and "Brad Jorsch" annotations 2017-06-26 15:25:46 -06:00
TestUser.php Make deprecated TestUser properties private 2016-06-22 15:43:54 +00:00
TestUserRegistry.php Whenever possible, reuse User objects in unit tests 2016-05-26 20:42:31 +00:00
TimeAdjustTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
TitleArrayFromResultTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
TitleMethodsTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
TitlePermissionTest.php Remove "editusercssjs" user right 2017-04-11 14:54:43 +01:00
TitleTest.php Introduce Title::getTalkPageIfDefined. 2017-08-01 19:09:13 +02:00
WatchedItemIntegrationTest.php Remove empty lines at begin of function, if, foreach, switch 2017-07-01 11:34:16 +00:00
WatchedItemQueryServiceUnitTest.php build: Prepare for mediawiki/mediawiki-codesniffer to 0.9.0 2017-06-26 17:14:31 +00:00
WatchedItemStoreIntegrationTest.php add setNotificationTimestampsForUser to WatchedItemStore 2016-05-18 08:50:46 +00:00
WatchedItemStoreUnitTest.php build: Prepare for mediawiki/mediawiki-codesniffer to 0.9.0 2017-06-26 17:14:31 +00:00
WatchedItemUnitTest.php phpunit: Avoid use of deprecated getMock for PHPUnit 5 compat 2017-04-06 00:44:32 +00:00
WebRequestTest.php Move IP::isConfigured/TrustedProxy() to ProxyLookup service 2016-09-21 20:02:09 -07:00
WikiMapTest.php Improve WikiMap::getWikiReferenceFromWgConf() 2016-07-06 14:20:07 -04:00
WikiReferenceTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
XmlJsTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
XmlSelectTest.php Update weblinks in comments from HTTP to HTTPS 2016-10-11 17:25:10 +00:00
XmlTest.php Xml: Add test for listDropDown and remove unused getArrayFromWikiTextList 2017-03-20 22:47:19 +00:00