1 --- a/Collection.templates.php Tue Nov 18 14:47:11 2008 +0100
2 +++ b/Collection.templates.php Tue Nov 18 14:53:11 2008 +0100
3 @@ -300,22 +300,18 @@
4 $forceRenderURL = SkinTemplate::makeSpecialUrlSubpage('Collection', 'forcerender/', $this->data['query']);
5 echo wfMsg('coll-is_cached', htmlspecialchars($forceRenderURL));
6 }
7 -if ($GLOBALS['wgCollectionTemplateExclusionCategory']) {
8 - echo $GLOBALS['wgParser']->parse(
9 - wfMsgNoTrans('coll-excluded-templates', $GLOBALS['wgCollectionTemplateExclusionCategory']),
10 - $GLOBALS['wgTitle'],
11 - $GLOBALS['wgOut']->parserOptions(),
12 - true
13 - )->getText();
14 -}
15 -if ($GLOBALS['wgPDFTemplateBlacklist']) {
16 - echo $GLOBALS['wgParser']->parse(
17 - wfMsgNoTrans('coll-blacklisted-templates', $GLOBALS['wgPDFTemplateBlacklist']),
18 - $GLOBALS['wgTitle'],
19 - $GLOBALS['wgOut']->parserOptions(),
20 - true
21 - )->getText();
22 -}
23 +echo $GLOBALS['wgParser']->parse(
24 + wfMsgNoTrans('coll-excluded-templates', wfMsgForContent('coll-exclusion_category_title')),
25 + $GLOBALS['wgTitle'],
26 + $GLOBALS['wgOut']->parserOptions(),
27 + true
28 +)->getText();
29 +echo $GLOBALS['wgParser']->parse(
30 + wfMsgNoTrans('coll-blacklisted-templates', wfMsgForContent('coll-template_blacklist_title')),
31 + $GLOBALS['wgTitle'],
32 + $GLOBALS['wgOut']->parserOptions(),
33 + true
34 +)->getText();
35 if ($this->data['return_to']) {
36 // We are doing this the hard way (i.e. via the HTML detour), to prevent
37 // the parser from replacing [[:Special:Collection]] with a selflink.