Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php |
— | — | @@ -445,7 +445,7 @@ |
446 | 446 | # Mark items in RC |
447 | 447 | $wgHooks['SpecialRecentChangesQuery'][] = 'FlaggedRevsHooks::addToRCQuery'; |
448 | 448 | $wgHooks['SpecialWatchlistQuery'][] = 'FlaggedRevsHooks::addToWatchlistQuery'; |
449 | | -$wgHooks['ChangesListInsertArticleLink'][] = 'FlaggedRevsHooks::addTochangeListLine'; |
| 449 | +$wgHooks['ChangesListInsertArticleLink'][] = 'FlaggedRevsHooks::addToChangeListLine'; |
450 | 450 | # Mark items in user contribs |
451 | 451 | $wgHooks['ContribsPager::getQueryInfo'][] = 'FlaggedRevsHooks::addToContribsQuery'; |
452 | 452 | $wgHooks['ContributionsLineEnding'][] = 'FlaggedRevsHooks::addToContribsLine'; |
Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php |
— | — | @@ -1513,7 +1513,7 @@ |
1514 | 1514 | return true; |
1515 | 1515 | } |
1516 | 1516 | |
1517 | | - public static function addTochangeListLine( &$list, &$articlelink, &$s, &$rc, $unpatrolled, $watched ) { |
| 1517 | + public static function addToChangeListLine( &$list, &$articlelink, &$s, &$rc, $unpatrolled, $watched ) { |
1518 | 1518 | global $wgUser; |
1519 | 1519 | if( $rc->getTitle()->getNamespace() < 0 || !isset($rc->mAttribs['fpp_rev_id']) ) |
1520 | 1520 | return true; // reviewed pages only |