From fc9413870a67c23d5e892246c5685526daf416b3 Mon Sep 17 00:00:00 2001 From: Platonides Date: Fri, 20 Aug 2010 22:43:41 +0000 Subject: [PATCH] Move [[MediaWiki:bad image list]] to the beginning. 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 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/maintenance/parserTests.txt b/maintenance/parserTests.txt index b6cfe30d5d..7829cbd879 100644 --- a/maintenance/parserTests.txt +++ b/maintenance/parserTests.txt @@ -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]] →__hello__world__ !! end -!!article -MediaWiki:bad image list -!!text -* [[File:Bad.jpg]] except [[Nasty page]] -!!endarticle - !! test Bad images - basic functionality !! input -- 2.20.1