Index: trunk/extensions/Imagetabs/Imagetabs.php |
— | — | @@ -39,7 +39,7 @@ |
40 | 40 | // Go to prefix:Image:title. Image: is automatically translated if necessary. |
41 | 41 | $titleObj = Title::newFromText($prefix . ":Image:" . $wgTitle->getText()); |
42 | 42 | // 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()) |
44 | 44 | $content_actions['interwikitab-'.$i++] = array( |
45 | 45 | 'class' => false, |
46 | 46 | 'text' => $caption, |