Move [[MediaWiki:bad image list]] to the beginning.
authorPlatonides <platonides@users.mediawiki.org>
Fri, 20 Aug 2010 22:43:41 +0000 (22:43 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Fri, 20 Aug 2010 22:43:41 +0000 (22:43 +0000)
This should fix the random failing bad image tests (since r70917?)
mentioned in [[Special:Code/MediaWiki/70938#c8458]].
They seem to be a mixture of conflict of messagecache and the internal
wfIsBadImage() cache. By always having the message in NS_MEDIAWIKI by
the time it is extracted, there shouldn't be more problems.

maintenance/parserTests.txt

index b6cfe30..7829cbd 100644 (file)
@@ -53,6 +53,12 @@ Template:!
 |
 !! endarticle
 
+!!article
+MediaWiki:bad image list
+!!text
+* [[File:Bad.jpg]] except [[Nasty page]]
+!!endarticle
+
 ###
 ### Basic tests
 ###
@@ -7966,12 +7972,6 @@ title=[[Main Page]]
 <span class="autocomment"><a href="/wiki/Main_Page#hello_world" title="Main Page">→</a>__hello__world__</span>
 !! end
 
-!!article
-MediaWiki:bad image list
-!!text
-* [[File:Bad.jpg]] except [[Nasty page]]
-!!endarticle
-
 !! test
 Bad images - basic functionality
 !! input