function execute() { echo wfMsgExt('coll-rendering_finished_text', 'parse', $this->data['download_url']); if ($this->data['is_cached']) { $forceRenderURL = SkinTemplate::makeSpecialUrl('Book', 'bookcmd=forcerender&' . $this->data['query']); echo wfMsg('coll-is_cached', htmlspecialchars($forceRenderURL)); } echo wfMsgExt('coll-excluded-templates', 'parse', wfMsgForContent('coll-exclusion_category_title')); $title_string = wfMsgForContent('coll-template_blacklist_title'); $t = Title::newFromText($title_string); if ($t && $t->exists()) { echo wfMsgExt('coll-blacklisted-templates', 'parse', $title_string); } 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:Book]] with a selflink. $t = Title::newFromText($this->data['return_to']); echo wfMsg('coll-return_to_collection', htmlspecialchars($t->getFullURL()), htmlspecialchars($this->data['return_to'])); } if (CollectionSession::isEnabled()) { $title_string = wfMsgForContent('coll-finished_collection_info_text_article'); } else { $title_string = wfMsgForContent('coll-finished_page_info_text_article'); } $t = Title::newFromText($title_string); if ($t && $t->exists()) { echo $GLOBALS['wgOut']->parse('{{:' . $t . '}}'); } ?> <?php }