wiki.techinc.nl/tests/parser
C. Scott Ananian 8a797162f0 Consistently handle trailing slashes in subpage links.
The link text for [[/Foo/]] is `Foo` and the link text for
[[../Foo/]] is `Foo`.  So far so good.

But the link text for [[/Foo//]] is `Foo` while the link text
for [[../Foo//]] is `Foo/`.  We are stripping all trailing slashes
in the first case, but not the second.

Fix the code so that we strip all trailing slashes in both cases.
Update some of the comments in the code while we are at it.

Change-Id: Id61eacafea9820c404699a7902c8eb8102779516
2014-11-14 17:09:00 -05:00
..
preprocess Remove unused system messages "loginstart", "loginend" and "loginend-https" 2014-09-05 02:07:38 +00:00
extraParserTests.txt
parserTest.inc Remove hitcounters and associated code 2014-10-20 13:01:55 -07:00
ParserTestResult.php Fixed some @params documentation (tests) 2014-04-17 20:43:42 +02:00
parserTests.txt Consistently handle trailing slashes in subpage links. 2014-11-14 17:09:00 -05:00
parserTestsParserHook.php
README

Parser tests are run using our PHPUnit test suite in tests/phpunit:

 $ cd tests/phpunit
 ./phpunit.php --group Parser

You can optionally filter by title using --regex. I.e. :

 ./phpunit.php --group Parser --regex="Bug 6200"