r87810 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87809‎ | r87810 | r87811 >
Date:06:28, 10 May 2011
Author:bawolff
Status:ok
Tags:
Comment:
(follow-up r87777) per CR - use SpecialPage::getTitleFor instead.
Modified paths:
  • /trunk/extensions/gis/geo.php (modified) (history)

Diff [purge]

Index: trunk/extensions/gis/geo.php
@@ -156,6 +156,6 @@
157157 $skin = $wgUser->getSkin();
158158
159159 // !JF1 Replace Special: by NS call.
160 - return Linker::link( Title::makeTitle( NS_SPECIAL, 'Geo' ), $geo->get_markup(), $geo->get_param_array() );
 160+ return Linker::link( SpecialPage::getTitleFor( 'Geo' ), $geo->get_markup(), $geo->get_param_array() );
161161
162162 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r87777(follow-up r87593 / bug 28875) Replace calls to makeKnownLink with Linker::li...bawolff22:53, 9 May 2011

Status & tagging log