Hello,
This is what I have in my LocalSettings.php (in order to enable only to registered users to edit and view my wiki) 1.11.1 ver. installed in Hebrew language.
I also wanted that only admins could create user accounts:
$wgGroupPermissions["*"]["edit"] = false;
$wgGroupPermissions['*']['createaccount'] = false;
$wgGroupPermissions['user']['createaccount'] = false;
$wgGroupPermissions['sysop']['createaccount'] = true;
$wgGroupPermissions['*']['read'] = false;
$wgWhitelistRead = array ("Main Page", "Special:Userlogin", "Wikipedia:Help");
$wgWhitelistRead = array(
# "Special":Userlogin (in Hebrew)
urldecode("%D7%9E%D7%99%D7%95%D7%97%D7%93:Userlogin"),
# "MainPage" in Hebrew
urldecode("%D7%A2%D7%9E%D7%95%D7%93_%D7%A8%D7%90%D7%A9%D7%99") ) ;
The problem is with the following snippet:
$wgWhitelistRead = array(
# "Special":Userlogin (in Hebrew)
urldecode("%D7%9E%D7%99%D7%95%D7%97%D7%93:Userlogin"),
# "MainPage" in Hebrew
urldecode("%D7%A2%D7%9E%D7%95%D7%93_%D7%A8%D7%90%D7%A9%D7%99") ) ;
Not registered users can't see the "Main page" but they can see the login page.
So as I see it, this code:
urldecode("%D7%A2%D7%9E%D7%95%D7%93_%D7%A8%D7%90%D7%A9%D7%99")
is not working :(
Could someone tell me why and how to resolve this problem, please?
Best Regards,
Leon
Has the parser just been changed with regards to tildes (~~~~) inside
HTML comments? It appears they used to be ignored, and are now
suddenly being replaced en masse the next time someone edits the page
(and can't be easily reverted - it just changes the sig to the
reverter's instead). See
http://en.wikipedia.org/wiki/Wikipedia:Articles_for_creation/2006-06-02-ear…
for an example.
Hello all! I have a little problem with including subpages into basepages. When i use this: {{/subpagename}}, on the page is red link to Template:/subpagename. But with {{{{PAGENAME}}/subpagename}} it's OK. What do I have to do for using the short form?
Morning all,
I've installed a fresh copy of Mediawiki on an Ubunto 7.10 server.
This is on a private network.
Here is the Version output:-
* MediaWiki: 1.11.0
* PHP: 5.2.3-1ubuntu6.3 (apache2handler)
* MySQL: 5.0.45-Debian_1ubuntu3.1-log
I'm having trouble with the Upload Files option.
I'm trying to upload a .png image file. Initially when selected I was
getting a message along the lines of an invalid filetype despite png
being an allowed extension. I disabled mimetype checking to get round
this.
Now I receive the following emssage whenever I try to upload anything:-
Upload warning
This file contains HTML or script code that may be erroneously be
interpreted by a web browser.
Any ideas how I can correct this?
The images directory on my server is publically writeable.
Rob
Is there a way I can include my main page's header in every page as it's
created?
I want on every page..
| -- logo --| | -- tabs --|
| -- left nav --| | -- main page header on all pages --|
| -- left nav --| | -- page content --|
Thxs!
Hello all! I have a little problem with including subpages into basepages. When i use this: {{/subpagename}}, on the page is red link to Template:/subpagename. But with {{{{PAGENAME}}/subpagename}} it's OK. What do I have to do for using the short form?
I am trying to make an external link to our forum area. But instead I get *
Community Forums [1]. The [1] links correctly to our forums, but I want it
to read "community forums" not "[1]".
Thanks!
> Hello,
>
>
> This is what I have in my LocalSettings.php (in order to enable only to
> registered users to edit and view my wiki) 1.11.1 ver. installed in Hebrew
> language.
> I also wanted that only admins could create user accounts:
> $wgGroupPermissions["*"]["edit"] = false;
> $wgGroupPermissions['*']['createaccount'] = false;
> $wgGroupPermissions['user']['createaccount'] = false;
> $wgGroupPermissions['sysop']['createaccount'] = true;
> $wgGroupPermissions['*']['read'] = false;
> $wgWhitelistRead = array ("Main Page", "Special:Userlogin",
> "Wikipedia:Help");
> $wgWhitelistRead = array(
> # "Special":Userlogin (in Hebrew)
> urldecode("%D7%9E%D7%99%D7%95%D7%97%D7%93:Userlogin"),
> # "MainPage" in Hebrew
> urldecode("%D7%A2%D7%9E%D7%95%D7%93_%D7%A8%D7%90%D7%A9%D7%99") ) ;
>
> The problem is with the following snippet:
> $wgWhitelistRead = array(
> # "Special":Userlogin (in Hebrew)
> urldecode("%D7%9E%D7%99%D7%95%D7%97%D7%93:Userlogin"),
> # "MainPage" in Hebrew
> urldecode("%D7%A2%D7%9E%D7%95%D7%93_%D7%A8%D7%90%D7%A9%D7%99") ) ;
>
> Not registered users can't see the "Main page" but they can see the login
> page.
> So as I see it, this code:
> urldecode("%D7%A2%D7%9E%D7%95%D7%93_%D7%A8%D7%90%D7%A9%D7%99")
> is not working :(
>
> Could someone tell me why and how to resolve this problem, please?
>
>
> Best Regards,
> Leon
Any takers for this question please?
Leon