Extension:MirrorTools/Hooks

DifferenceEngine.php

 * wfRunHooks( 'ShowDiffPageOldMinor', array( $this->mOldRev, &$newMinor ) );
 * $wgHooks['ShowDiffPageOldMinor'][] = 'MirrorTools::showDiffPageOldMinor';


 * wfRunHooks( 'ShowDiffPageNewMinor', array( $this->mNewRev, &$newMinor ) );
 * $wgHooks['ShowDiffPageNewMinor'][] = 'MirrorTools::showDiffPageNewMinor';

RecentChange.php

 * wfRunHooks( 'RecentChangesFields', array( &$fields ) );
 * $wgHooks['RecentChangesFields'][] = 'MirrorTools::recentChangesFields';

OldChangesList.php

 * wfRunHooks( 'OldChangesListRecentChangesFlags', array( $rc, &$flags ) );
 * $wgHooks['OldChangesListRecentChangesFlags'][] = 'MirrorTools::oldChangesListRecentChangesFlags';

EnhancedChangesList.php

 * wfRunHooks( 'EnhancedChangesListMainlineRecentChangesFlags', array( &$flags ) );
 * $wgHooks['EnhancedChangesListMainlineRecentChangesFlags'][] = 'MirrorTools::enhancedChangesListMainlineRecentChangesFlags';


 * wfRunHooks( 'EnhancedChangesListSubentryRecentChangesFlags', array( $rcObj, &$flags ) );
 * $wgHooks['EnhancedChangesListSubentryRecentChangesFlags'][] = 'MirrorTools::enhancedChangesListSubentryRecentChangesFlags';


 * wfRunHooks( 'EnhancedChangesBlockLineFlags', array( $rcObj, &$r ) );
 * $wgHooks['EnhancedChangesBlockLineFlags'][] = 'MirrorTools::enhancedChangesBlockLineFlags';

HistoryAction.php

 * wfRunHooks( 'HistoryLineFlags', array( $rev, &$s ) );
 * $wgHooks['HistoryLineFlags'][] = 'MirrorTools::historyLineFlags';

Revision.php

 * wfRunHooks( 'RevisionSelectFields', array( &$fields ) );
 * $wgHooks['RevisionSelectFields'][] = 'MirrorTools::revisionSelectFields';


 * wfRunHooks( 'RevisionAttribs', array( $row, &$attribs ) );
 * $wgHooks['RevisionAttribs'][] = 'MirrorTools::revisionAttribs';