Index: trunk/extensions/UsabilityInitiative/OptIn/OptIn.hooks.php |
— | — | @@ -33,7 +33,9 @@ |
34 | 34 | $wgOptInAlwaysShowPersonalLink |
35 | 35 | ) && |
36 | 36 | // And the link is allowed to be shown |
37 | | - !$wgOptInNeverShowPersonalLink |
| 37 | + !$wgOptInNeverShowPersonalLink && |
| 38 | + // We're not at the OptIn page |
| 39 | + current( explode( '/', $title->getText() ) ) !== SpecialPage::getLocalNameFor( 'OptIn' ) |
38 | 40 | ) { |
39 | 41 | // Loads opt-in messages |
40 | 42 | wfLoadExtensionMessages( 'OptIn' ); |