r85273 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r85272‎ | r85273 | r85274 >
Date:19:53, 3 April 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
follow up to r85250; use getTitle method as should have been done
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_RefreshTab.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_RefreshTab.php
@@ -28,7 +28,7 @@
2929 $content_actions['purge'] = array(
3030 'class' => false,
3131 'text' => wfMsg( 'smw_purge' ),
32 - 'href' => $skin->mTitle->getLocalUrl( 'action=purge' )
 32+ 'href' => $skin->getTitle()->getLocalUrl( 'action=purge' )
3333 );
3434 }
3535 return true; // always return true, in order not to stop MW's hook processing!

Follow-up revisions

RevisionCommit summaryAuthorDate
r96838Follow-up to r85273 - re-added use of $skin->mTitle if $skin->getTitle() does...yaron13:58, 12 September 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r85250Continue with r85240; Move getSkin from User to RequestContext, do it without...dantman12:46, 3 April 2011

Status & tagging log