Index: trunk/phase3/includes/SpecialContributions.php |
— | — | @@ -216,6 +216,9 @@ |
217 | 217 | |
218 | 218 | $id = User::idFromName($nt->getText()); |
219 | 219 | |
| 220 | + if ( ! wfRunHooks( 'wfSpecialContributionsAfterId', array( &$this, &$id ) ) ) |
| 221 | + return; |
| 222 | + |
220 | 223 | if ( 0 == $id ) { |
221 | 224 | $ul = $nt->getText(); |
222 | 225 | } else { |
Index: trunk/phase3/includes/SpecialListusers.php |
— | — | @@ -209,8 +209,11 @@ |
210 | 210 | * $par string (optional) A group to list users from |
211 | 211 | */ |
212 | 212 | function wfSpecialListusers( $par = null ) { |
| 213 | + if ( ! wfRunHooks( 'wfSpecialListusers' ) ) |
| 214 | + return; |
| 215 | + |
213 | 216 | global $wgRequest; |
214 | | - |
| 217 | + |
215 | 218 | list( $limit, $offset ) = wfCheckLimits(); |
216 | 219 | |
217 | 220 | |