Revision: 43674
Author:   jojo
Date:     2008-11-18 13:53:11 +0000 (Tue, 18 Nov 2008)

Log Message:
-----------
rendered page adjusted

Modified Paths:
--------------
    trunk/extensions/Collection/Collection.templates.php

Modified: trunk/extensions/Collection/Collection.templates.php
===================================================================
--- trunk/extensions/Collection/Collection.templates.php        2008-11-18 
13:47:11 UTC (rev 43673)
+++ trunk/extensions/Collection/Collection.templates.php        2008-11-18 
13:53:11 UTC (rev 43674)
@@ -300,22 +300,18 @@
        $forceRenderURL = SkinTemplate::makeSpecialUrlSubpage('Collection', 
'forcerender/', $this->data['query']);
        echo wfMsg('coll-is_cached', htmlspecialchars($forceRenderURL));
 }
-if ($GLOBALS['wgCollectionTemplateExclusionCategory']) {
-       echo $GLOBALS['wgParser']->parse(
-               wfMsgNoTrans('coll-excluded-templates', 
$GLOBALS['wgCollectionTemplateExclusionCategory']),
-               $GLOBALS['wgTitle'],
-               $GLOBALS['wgOut']->parserOptions(),
-               true
-       )->getText();
-}
-if ($GLOBALS['wgPDFTemplateBlacklist']) {
-       echo $GLOBALS['wgParser']->parse(
-               wfMsgNoTrans('coll-blacklisted-templates', 
$GLOBALS['wgPDFTemplateBlacklist']),
-               $GLOBALS['wgTitle'],
-               $GLOBALS['wgOut']->parserOptions(),
-               true
-       )->getText();
-}
+echo $GLOBALS['wgParser']->parse(
+       wfMsgNoTrans('coll-excluded-templates', 
wfMsgForContent('coll-exclusion_category_title')),
+       $GLOBALS['wgTitle'],
+       $GLOBALS['wgOut']->parserOptions(),
+       true
+)->getText();
+echo $GLOBALS['wgParser']->parse(
+       wfMsgNoTrans('coll-blacklisted-templates', 
wfMsgForContent('coll-template_blacklist_title')),
+       $GLOBALS['wgTitle'],
+       $GLOBALS['wgOut']->parserOptions(),
+       true
+)->getText();
 if ($this->data['return_to']) {
        // We are doing this the hard way (i.e. via the HTML detour), to prevent
        // the parser from replacing [[:Special:Collection]] with a selflink.



_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to