r81057 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81056‎ | r81057 | r81058 >
Date:22:11, 26 January 2011
Author:reedy
Status:deferred
Tags:
Comment:
Use getTitle()
Modified paths:
  • /trunk/extensions/HTTPRedirect/HTTPRedirect.php (modified) (history)

Diff [purge]

Index: trunk/extensions/HTTPRedirect/HTTPRedirect.php
@@ -19,7 +19,7 @@
2020 function efRedirectHook( Article &$article ) {
2121 global $wgOut;
2222
23 - $wgOut->redirect( $article->mTitle->escapeFullURL(), 302 );
 23+ $wgOut->redirect( $article->getTitle()->escapeFullURL(), 302 );
2424
2525 return false;
2626 }
\ No newline at end of file

Status & tagging log