r99847 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r99846‎ | r99847 | r99848 >
Date:07:32, 15 October 2011
Author:ialex
Status:ok
Tags:
Comment:
Use SpecialPage::getTitleFor( 'Book' ) instead of Title::newFromText( $wgContLang->specialPage( 'Book' ) )
Modified paths:
  • /trunk/extensions/Collection/Collection.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Collection/Collection.body.php
@@ -231,7 +231,7 @@
232232 case 'render':
233233 return $this->renderCollection(
234234 CollectionSession::getCollection(),
235 - Title::newFromText( $wgContLang->specialPage( 'Book' ) ),
 235+ SpecialPage::getTitleFor( 'Book' ),
236236 $wgRequest->getVal( 'writer', '' )
237237 );
238238 case 'forcerender':

Status & tagging log