Index: trunk/phase3/docs/hooks.txt |
— | — | @@ -1554,7 +1554,7 @@ |
1555 | 1555 | $opts: FormOptions for this request |
1556 | 1556 | |
1557 | 1557 | 'SpecialRecentChangesQuery': called when building sql query for |
1558 | | -SpecialRecentChanges |
| 1558 | +SpecialRecentChanges and SpecialRecentChangesLinked |
1559 | 1559 | &$conds: array of WHERE conditionals for query |
1560 | 1560 | &$tables: array of tables to be queried |
1561 | 1561 | &$join_conds: join conditions for the tables |
Index: trunk/phase3/includes/specials/SpecialRecentchangeslinked.php |
— | — | @@ -109,8 +109,8 @@ |
110 | 110 | $query_options, $opts['tagfilter'] ); |
111 | 111 | } |
112 | 112 | |
113 | | - // XXX: parent class does this, should we too? |
114 | | - // wfRunHooks('SpecialRecentChangesQuery', array( &$conds, &$tables, &$join_conds, $opts ) ); |
| 113 | + if ( !wfRunHooks( 'SpecialRecentChangesQuery', array( &$conds, &$tables, &$join_conds, $opts, &$query_options ) ) ) |
| 114 | + return false; |
115 | 115 | |
116 | 116 | if( $ns == NS_CATEGORY && !$showlinkedto ) { |
117 | 117 | // special handling for categories |