Index: trunk/extensions/ArticleFeedbackv5/ArticleFeedbackv5.hooks.php |
— | — | @@ -307,7 +307,7 @@ |
308 | 308 | * @see http://www.mediawiki.org/wiki/Manual:Hooks/EditPage::attemptSave |
309 | 309 | */ |
310 | 310 | public static function trackEditAttempt( $editpage ) { |
311 | | - self::trackEvent( 'edit_attempt', $editpage->getTitle() ); |
| 311 | + self::trackEvent( 'edit_attempt', $editpage->getArticle()->getTitle() ); // EditPage::getTitle() doesn't exist in 1.18wmf1 |
312 | 312 | return true; |
313 | 313 | } |
314 | 314 | |