wiki.techinc.nl/tests/parser
MusikAnimal d09554b6ef Add basic IP range support to Special:Contributions
This works by using the new table introduced with T156318.

The only thing that differs from normal Special:Contribs is we are
showing the IP address next to each entry. This is it how it is
displayed if you request to see newbie contributions:
https://en.wikipedia.org/wiki/Special:Contributions?contribs=newbie

For the time being, Special:DeletedContributions does not support
IP ranges. Various other irrelevant links such as Uploads and Logs
are also hidden.

Refer to P4725 for a way to automate creation of edits by random
IPs in your dev environment.

IP::isValidBlock() has been deprecated with this dependent change:
https://gerrit.wikimedia.org/r/#/c/373165/

Bug: T163562
Change-Id: Ice1bdae3d16cf365da14c6df0e8d91d2b914e064
2017-09-05 16:15:33 -04:00
..
preprocess Do not use real message names in 'All_system_messages' preprocessor test 2017-03-08 17:02:53 +01:00
DbTestPreviewer.php Use consistent spaces at start and end of comments 2017-03-30 22:06:40 +02:00
DbTestRecorder.php Move IDatabase/IMaintainableDatabase to Rdbms namespace 2017-03-28 15:32:38 -07:00
DjVuSupport.php Remove trailing empty lines in PHP 2017-01-16 22:06:43 +01:00
editTests.php Parser test file editor 2016-10-28 16:15:59 +11:00
extraParserTests.txt Strip U+0000 in wikitext 2017-03-06 22:23:38 +00:00
fuzzTest.php Use namespaced ScopedCallback 2016-10-17 15:46:05 -07:00
MultiTestRecorder.php Refactor parser tests 2016-09-12 16:11:42 +10:00
ParserTestMockParser.php parserTests: Use a mock parser during article insertion 2016-10-06 17:08:27 +11:00
ParserTestParserHook.php Split up testHelpers.inc, break off fuzz testing 2016-09-08 09:06:45 +10:00
ParserTestPrinter.php Remove trailing empty lines in PHP 2017-01-16 22:06:43 +01:00
ParserTestResult.php Refactor parser tests 2016-09-12 16:11:42 +10:00
ParserTestResultNormalizer.php Remove trailing empty lines in PHP 2017-01-16 22:06:43 +01:00
ParserTestRunner.php Add basic IP range support to Special:Contributions 2017-09-05 16:15:33 -04:00
parserTests.php Autodiscover parser tests for extensions, deprecate $wgParserTestFiles 2017-07-08 00:47:02 +00:00
parserTests.txt Merge "Revert "Fix link prefix/suffixes around Category and Language links."" 2017-09-01 00:57:54 +00:00
PhpunitTestRecorder.php Refactor parser tests 2016-09-12 16:11:42 +10:00
README tests: Replace implicit Bugzilla bug numbers with Phab ones 2017-02-21 02:14:34 +00:00
TestFileEditor.php parser test editor: Fix emitting of !! hooks 2017-01-31 03:12:15 +00:00
TestFileReader.php Remove trailing empty lines in PHP 2017-01-16 22:06:43 +01:00
TestRecorder.php Remove trailing empty lines in PHP 2017-01-16 22:06:43 +01:00
TidySupport.php Don't test for tidy class on hhvm 2017-02-13 14:54:48 -08:00

Parser tests can be run either via PHPUnit or by using the standalone
parserTests.php in this directory. The standalone version provides more
options.

To run parser tests via PHPUnit:

 $ cd tests/phpunit
 ./phpunit.php --testsuite parsertests

You can optionally filter by title using --filter, e.g.

 ./phpunit.php --testsuite parsertests --filter="T6400"