Property changes on: branches/wmf/1.19wmf1/extensions/ArticleFeedbackv5/api/ApiArticleFeedbackv5.php |
___________________________________________________________________ |
Modified: svn:mergeinfo |
1 | 1 | Merged /trunk/extensions/ArticleFeedbackv5/api/ApiArticleFeedbackv5.php:r113962 |
Index: branches/wmf/1.19wmf1/extensions/ArticleFeedbackv5/ArticleFeedbackv5.hooks.php |
— | — | @@ -442,7 +442,8 @@ |
443 | 443 | public static function trackEditSuccess( &$article, &$user, $text, |
444 | 444 | $summary, $minoredit, $watchthis, $sectionanchor, &$flags, |
445 | 445 | $revision, &$status, $baseRevId /*, &$redirect */ ) { // $redirect not passed in 1.18wmf1 |
446 | | - self::trackEvent( 'edit_success', $article->getTitle(), $baseRevId ); |
| 446 | + $revID = $revision instanceof Revision ? $revision->getID() : 0; |
| 447 | + self::trackEvent( 'edit_success', $article->getTitle(), $revID ); |
447 | 448 | return true; |
448 | 449 | } |
449 | 450 | |
Property changes on: branches/wmf/1.19wmf1/extensions/ArticleFeedbackv5 |
___________________________________________________________________ |
Modified: svn:mergeinfo |
450 | 451 | Merged /trunk/extensions/ArticleFeedbackv5:r113962 |