User talk:Hoggwild5/Restricting Access to User Pages

From mediawiki.org

a question by Meddurenos 16:38, 27 June 2007 (UTC)[edit]

I have tried this hack with version 1.10 on my linux box.

I have not been successful in trying to make it work. Indeed even coding

public function userCanMove( $doExpensiveQueries = true ) {
       return false;
}
public function userCanEdit( $doExpensiveQueries = true ) {
       return false;
}

did not prevent user from doing the edition.

So maybe I did not understood its purpose? I was trying to prevent anyone but the user Toto to edit the page named User:Toto/private with that hack.