a good way to do it. Better probably would be manipulating the
set of special pages, which already have a spot for requiring
a permission key.
$id = User::idFromName($nt->getText());
- if ( ! wfRunHooks( 'wfSpecialContributionsAfterId', array( &$this, &$id ) ) )
- return;
-
if ( 0 == $id ) {
$ul = $nt->getText();
} else {
* $par string (optional) A group to list users from
*/
function wfSpecialListusers( $par = null ) {
- if ( ! wfRunHooks( 'wfSpecialListusers' ) )
- return;
-
global $wgRequest;
-
+
list( $limit, $offset ) = wfCheckLimits();