Page MenuHomePhabricator

if disable createaccount user can't log-in
Closed, ResolvedPublic

Description

Author: me

Description:
i need protect private wiki from non-authorized visiters and creation account by
anonymous(only by admins)

in this case
$wgGroupPermissions['*']['createaccount'] = false; disable create account,
only log-in
$wgGroupPermissions['*']['edit'] = false;
disable edit
$wgGroupPermissions['*']['read'] = false; disable read, but except one page
$wgWhitelistRead = array("Special:Userlogin");
excluded page ..

but this not work ... when i attempt to open Special:Userlogin i get message -
you must log-in before ...
what to do ?


Version: 1.5.x
Severity: major

Details

Reference
bz3902

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:54 PM
bzimport set Reference to bz3902.
bzimport added a subscriber: Unknown Object (MLST).

I reproduced this case and it showed the exact same thing. But then I went on to
change the
$wgWhitelistRead = array("Special:Userlogin"); excluded page ..
line into
$wgWhitelistRead = array("Посебно:Userlogin");
excluded page .. (i'm not sure
if this will be completely legible)
since I'm using a Serbian interface. It worked and it seems to me that the
software doesn't do redirects when every page is locked for viewing. So it's
only logical that you're using a non-english interface language, so insted of
"Special", write "Служебная" (Sluzhebnaya), since you are probably using a
Russian interface.
Hope this solves it

me wrote:

hm... okey i will try "Служебная" (Sluzhebnaya)
what charset i must use ? KOI8-R? UTF-8 ?

me wrote:

super! ... i type "Служебная" (Sluzhebnaya) in UTF-8 and this solve my problem!
thank you

Marking this as fixed... (my first "fixation" :)

me wrote:

;)

anyway, i think that is not a normal solution..
mediawiki must eat English(International) name of page and self-convert to used
language before apply.