From 0389c4910c3a3c1ebff65dccda609413ea04bf65 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 29 Jun 2006 23:54:01 +0000 Subject: [PATCH] * (bug 6491) Apply bad image list in category galleries Patch from Ilmari Karonen http://bugzilla.wikimedia.org/attachment.cgi?id=2024 --- RELEASE-NOTES | 2 ++ includes/CategoryPage.php | 1 + 2 files changed, 3 insertions(+) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 640d117f1f..6a87c7f0a3 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -603,6 +603,8 @@ Some default configuration options have changed: * (bug 6489) Use appropriate link colour on Special:Shortpages * Added formatnum magic word * Added Javanese localization (jv) +* (bug 6491) Apply bad image list in category galleries + == Compatibility == diff --git a/includes/CategoryPage.php b/includes/CategoryPage.php index 0c4b85c3c5..53d69971b9 100644 --- a/includes/CategoryPage.php +++ b/includes/CategoryPage.php @@ -66,6 +66,7 @@ class CategoryPage extends Article { $showGallery = $wgCategoryMagicGallery && !$wgOut->mNoGallery; if( $showGallery ) { $ig = new ImageGallery(); + $ig->setParsing(); } $dbr =& wfGetDB( DB_SLAVE ); -- 2.20.1