wiki.techinc.nl/tests/phpunit/includes/GlobalFunctions
Brad Jorsch d65e96b763 Use new externallinks.el_index_60 field
This adds a method to LinkFilter to build the query conditions necessary
to properly use it, and adjusts code to use it.

This also takes the opportunity to clean up the calculation of el_index:
IPs are handled more sensibly and IDNs are canonicalized.

Also weird edge cases for invalid hosts like "http://.example.com" and
corresponding searches like "http://*..example.com" are now handled more
regularly instead of being treated as if the extra dot were omitted,
while explicit specification of the DNS root like "http://example.com./"
is canonicalized to the usual implicit specification.

Note that this patch will break link searches for links where the host
is an IP or IDN until refreshExternallinksIndex.php is run.

Bug: T59176
Bug: T130482
Change-Id: I84d224ef23de22dfe179009ec3a11fd0e4b5f56d
2018-11-12 22:33:18 +00:00
..
GlobalTest.php Use new externallinks.el_index_60 field 2018-11-12 22:33:18 +00:00
GlobalWithDBTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
README
wfAppendQueryTest.php Support hash fragments in wfAppendQuery() 2016-05-02 19:18:24 -07:00
wfArrayFilterTest.php Deprecate wfArrayFilter() and wfArrayFilterByKey() 2018-07-19 08:40:46 +02:00
wfArrayPlus2dTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
wfAssembleUrlTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
wfBaseNameTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
wfEscapeShellArgTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
WfExpandUrlTest.php GlobalFunctions: Enable patch-coverage for wfExpandUrl test 2018-07-25 18:25:27 +01:00
wfGetCallerTest.php Use the frame 'type' in wfFormatStackFrame, like MWExceptionHandler::prettyPrintTrace 2015-10-14 16:40:02 +01:00
wfParseUrlTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
wfRemoveDotSegmentsTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
wfShellExecTest.php tests: Replace Bugddddd with Tddddd in test names, test strings 2018-08-20 21:27:20 +00:00
wfShorthandToIntegerTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
wfStringToBoolTest.php Expose string->bool conversion as function 2017-11-15 06:57:40 +00:00
wfThumbIsStandardTest.php Remove test code that depends on extension 2017-08-13 12:04:37 -04:00
wfTimestampTest.php build: Updating mediawiki/mediawiki-codesniffer to 0.12.0 2017-09-10 21:11:37 +02:00
wfUrlencodeTest.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00

This directory hold tests for includes/GlobalFunctions.php file
which is a pile of functions.