r77879 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77878‎ | r77879 | r77880 >
Date:15:02, 6 December 2010
Author:tstarling
Status:ok
Tags:
Comment:
Update for r77878: $wgLocalInterwiki may now be false.
Modified paths:
  • /trunk/extensions/Imagetabs/Imagetabs.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Imagetabs/Imagetabs.php
@@ -39,7 +39,7 @@
4040 // Go to prefix:Image:title. Image: is automatically translated if necessary.
4141 $titleObj = Title::newFromText($prefix . ":Image:" . $wgTitle->getText());
4242 // Check that we don't link to ourselves
43 - if($titleObj->getInterwiki() != $wgLocalInterwiki && $titleObj->getFullURL() != $wgTitle->getFullURL())
 43+ if($titleObj->getInterwiki() !== $wgLocalInterwiki && $titleObj->getFullURL() != $wgTitle->getFullURL())
4444 $content_actions['interwikitab-'.$i++] = array(
4545 'class' => false,
4646 'text' => $caption,

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r77878Remove some of the rubbish that has been accumulating in the default LocalSet...tstarling15:00, 6 December 2010

Status & tagging log