wiki.techinc.nl/tests
Antoine Musso 78562bd14c (bug 32450) MediaWiki: .js|.css pages parsed [[Category:#]] links
This patch skip the [[Category:#]] parsing logic when the Title is in
NS_MEDIAWIKI and ends with .js or .css. This way the code is kept as is
and pages are no more categorized.

How to reproduce the issue:

	$ echo 'var foo = "[[Category:bug32450]]"' \
	| php maintenance/parse.php --title MediaWiki:Foobar.js
	<p>var foo = ""
	</p>
	$

Note how the text got stripped.

After this patch:

	$ echo 'var foo = "[[Category:bug32450]]"' \
	| php maintenance/parse.php --title MediaWiki:Foobar.js
	<p>var foo = "[[Category:bug32450]]"
	</p>
	$

TEST PLAN:
==========

$ php parserTests.php --quiet
This is MediaWiki version 1.19alpha (r103473).

Reading tests from "tests/parser/parserTests.txt"...
Reading tests from "tests/parser/extraParserTests.txt"...
Passed 654 of 654 tests (100%)... ALL TESTS PASSED!
$
2011-11-17 16:46:45 +00:00
..
jasmine [mediawiki.Uri] Add overrideKeys option 2011-11-10 02:08:47 +00:00
parser (bug 32450) MediaWiki: .js|.css pages parsed [[Category:#]] links 2011-11-17 16:46:45 +00:00
phpunit bug 28643 improvement to serbian variants conversion 2011-11-16 15:12:00 +00:00
qunit on tablesort, verify <caption> is the first child in the table 2011-11-10 22:54:29 +00:00
selenium Add, update, tweak documentation 2011-10-26 03:45:13 +00:00
.htaccess
parserTests.php use spaces for usage indentation 2011-11-17 14:46:17 +00:00
RunSeleniumTests.php Swap else if for elseif 2011-06-17 16:05:35 +00:00
testHelpers.inc Pass in some more , __METHOD__ 2011-11-10 20:44:37 +00:00
TestsAutoLoader.php Followup r94678: remove some include and autoload entries. tests still passing 2011-08-16 19:25:26 +00:00