Index: trunk/extensions/AddThis/AddThis.body.php |
— | — | @@ -64,8 +64,7 @@ |
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()->getText() == wfMsg('mainpage') ) && !$wgAddThisMain ) |
69 | | - |
| 68 | + || ( $article->getTitle()->equals( Title::newMainPage() ) && !$wgAddThisMain ) |
70 | 69 | ) { |
71 | 70 | return true; |
72 | 71 | } |
Index: trunk/extensions/AddThis/AddThis.php |
— | — | @@ -9,7 +9,7 @@ |
10 | 10 | * @license GPL |
11 | 11 | * |
12 | 12 | * Loosely based on the Google Translator extension by Joachim De Schrijver |
13 | | - * Thank you to Johnduhart, Roan Kattouw, Unikum111, catrope, and folks at AddThis for feedback, bug reporting and cleaning up code |
| 13 | + * Thank you to Johnduhart, Roan Kattouw, Unikum111, catrope, Nikerabbit, Reedy and folks at AddThis for feedback and cleaning up code |
14 | 14 | * Thank you to Raymond, Kghbln, Michawiki, Toliño, McDutchie, Bjankuloski06, SPQRobin, Veeven, Gucci Mane Burrr, Kaajawa, Purodha, Kwj2772, |
15 | 15 | * Unikum111, Y-M D, Xuacu, Naudefj, Gomoko, Anakmalaysia, פוילישער, Shizhao, and others mentioned in AddThis.i18n.php for translation work |
16 | 16 | */ |