Index: trunk/extensions/AddThis/AddThis.body.php |
— | — | @@ -64,7 +64,8 @@ |
65 | 65 | # Check if page is in content namespace and the setting to enable/disable article header tooblar either on the main page or at all |
66 | 66 | if ( !MWNamespace::isContent( $article->getTitle()->getNamespace() ) |
67 | 67 | || !$wgAddThisHeader |
68 | | - || ( $article->getTitle()->isMainPage() && !$wgAddThisMain ) |
| 68 | + || ( ($article->getTitle()->getText() == wfMsg('mainpage') ) && !$wgAddThisMain ) |
| 69 | + |
69 | 70 | ) { |
70 | 71 | return true; |
71 | 72 | } |
Index: trunk/extensions/AddThis/RELEASE NOTES |
— | — | @@ -1,2 +1,2 @@ |
2 | 2 | For the latest release notes, please see: |
3 | | -http://www.mediawiki.org/wiki/Extension:AddThis#Release_notes |
\ No newline at end of file |
| 3 | +https://www.mediawiki.org/wiki/Extension:AddThis#Release_notes |
\ No newline at end of file |