https://bugzilla.wikimedia.org/show_bug.cgi?id=54887

Chris Steipp <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #2 from Chris Steipp <[email protected]> ---
There are probably extensions that could do that, or it would be a very simple
extension to write. Actually, just add something like this in your
LocalSettings:

$wgHooks['userCan'][] = function ( &$title, &$user, $action, &$result ) {
    if ( ( $action === 'edit' || $action === 'create' )
        && $title->getNsText() === "User"
        && !$user->isLoggedIn()
    ) {
        return false;
    }
    return true;
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to