Hello
I am using mediawiki 1.9.3 and I have set up a wiki with a lot of restrictions. All articles can only be edited by the administrator and even most of that articles can be read by anonymous users, they are a dozen articles which can only be read by registered users.
In order to achieve that, I have the following configuration. $wgGroupPermissions['*']['createaccount'] = false; $wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['user']['edit'] = false; $wgGroupPermissions['sysop']['edit'] = true; $wgGroupPermissions['*']['read'] = false; $wgWhitelistRead = array(":Main Page",":Article1");
Now since there are far more articles which should be read anonymously I find this solution not very comfortable, since I have to add every new article into the white list.
It would fit my needs much better if there where a blacklist in which I add the article not to be read anonymously.
$wgGroupPermissions['*']['read'] = true; $wgBlacklistNoRead = array(":ForbiddenArticle1");
Will there be such a feature in the future?
thanks
Uwe Brauer
Uwe Brauer schreef:
It would fit my needs much better if there where a blacklist in which I add the article not to be read anonymously.
$wgGroupPermissions['*']['read'] = true; $wgBlacklistNoRead = array(":ForbiddenArticle1");
Will there be such a feature in the future?\
There is the Blacklist extension [1], which implements this.
Roan Kattouw (Catrope)
"Roan" == Roan Kattouw roan.kattouw@home.nl writes:
Uwe Brauer schreef:
It would fit my needs much better if there where a blacklist in which I add the article not to be read anonymously.
$wgGroupPermissions['*']['read'] = true; $wgBlacklistNoRead = array(":ForbiddenArticle1");
Will there be such a feature in the future?\
There is the Blacklist extension [1], which implements this.
Roan Kattouw (Catrope)
thanks this is what I was looking for
Uwe Brauer
On 23/11/2007, Thomas Dalton thomas.dalton@gmail.com wrote:
All articles can only be edited by the administrator
Then why are you using MediaWiki? A wiki is a site where anyone (or, at least, a large number of people) can edit the pages. If you only want one person to be able to edit the pages, just use a regular website...
I know quite a few people who use MediaWiki as a CMS for their personal site because it saves them effort and more suits what they want to do than a blog.
- d.
Moin,
On Friday 23 November 2007 12:23:34 David Gerard wrote:
On 23/11/2007, Thomas Dalton thomas.dalton@gmail.com wrote:
All articles can only be edited by the administrator
Then why are you using MediaWiki? A wiki is a site where anyone (or, at least, a large number of people) can edit the pages. If you only want one person to be able to edit the pages, just use a regular website...
I know quite a few people who use MediaWiki as a CMS for their personal site because it saves them effort and more suits what they want to do than a blog.
Plus, sometimes you want an Internal: namespace that cannot edited by just everyone. (Maybe because it sets the guidelines for editing the rest of the pages :)
Speaking of that, what is the easiest way to inhibit editing of an entire namespace? The blacklist extension seems to be able to handle it, but I guess it will just build a giant whitelist of all other pages to set them to be editable?
Best wishes,
Tels
Plus, sometimes you want an Internal: namespace that cannot edited by just everyone. (Maybe because it sets the guidelines for editing the rest of the pages :)
Having one namespace protected is very different to having the entire site protected.
Speaking of that, what is the easiest way to inhibit editing of an entire namespace? The blacklist extension seems to be able to handle it, but I guess it will just build a giant whitelist of all other pages to set them to be editable?
Use $wgProtectedNamespaces in LocalSettings.php (examples in DefaultSettings.php and on mediawiki.org).
Moin,
On Friday 23 November 2007 12:52:41 Thomas Dalton wrote:
Plus, sometimes you want an Internal: namespace that cannot edited by just everyone. (Maybe because it sets the guidelines for editing the rest of the pages :)
Having one namespace protected is very different to having the entire site protected.
Speaking of that, what is the easiest way to inhibit editing of an entire namespace? The blacklist extension seems to be able to handle it, but I guess it will just build a giant whitelist of all other pages to set them to be editable?
Use $wgProtectedNamespaces in LocalSettings.php (examples in DefaultSettings.php and on mediawiki.org).
Neither google nor the search engine on mediawiki.org produce any hits for wgProtectedNamedspaces, nor for shorter variants:
Sorry, there were no exact matches to your query.
!?
Best wishes,
Tels
Moin,
On Friday 23 November 2007 13:09:56 Roan Kattouw wrote:
Tels schreef:
Neither google nor the search engine on mediawiki.org produce any hits for wgProtectedNamedspaces, nor for shorter variants:
It's Namespaces, not NameDspaces
Duh! But even then mediawiki.org does not produce really any direct hits. And DefaultSettings from 1.9.x doesn't contain it either. Google didn't help, the only hit it produces is pointing to an archive of this very thread. :/
http://www.google.de/search?q=wgProtectedNamespaces&ie=utf-8&oe=utf-...
Can't you simple give me the URL where I can read more instead of letting me chase around the web?
All the best,
Tels
Duh! But even then mediawiki.org does not produce really any direct hits. And DefaultSettings from 1.9.x doesn't contain it either. Google didn't help, the only hit it produces is pointing to an archive of this very thread. :/
http://www.google.de/search?q=wgProtectedNamespaces&ie=utf-8&oe=utf-...
Can't you simple give me the URL where I can read more instead of letting me chase around the web?
That's because I gave you the wrong name. It's $wgNamespaceProtection. I'm really sorry about sending you on a wild goose chase. Here's a URL that explains it:
http://www.mediawiki.org/wiki/Manual:Preventing_access#1.10_upwards
Moin,
On Friday 23 November 2007 19:41:07 Thomas Dalton wrote:
Duh! But even then mediawiki.org does not produce really any direct hits. And DefaultSettings from 1.9.x doesn't contain it either. Google didn't help, the only hit it produces is pointing to an archive of this very thread. :/
http://www.google.de/search?q=wgProtectedNamespaces&ie=utf-8&oe=utf -8&aq=t&rls=com.ubuntu:en-US:official&client=firefox-a
Can't you simple give me the URL where I can read more instead of letting me chase around the web?
That's because I gave you the wrong name. It's $wgNamespaceProtection. I'm really sorry about sending you on a wild goose chase. Here's a URL that explains it:
http://www.mediawiki.org/wiki/Manual:Preventing_access#1.10_upwards
Yeehaw, thank you! :)
Don't worry about the goose chase, I was so proud that for the first time in my life google displayed 0 hits :P
All the best,
Tels
"Thomas" == Thomas Dalton thomas.dalton@gmail.com writes:
All articles can only be edited by the administrator
Then why are you using MediaWiki? A wiki is a site where anyone (or, at least, a large number of people) can edit the pages. If you only want one person to be able to edit the pages, just use a regular website...
Well wiki has a sort of built in editor and more important a data base connected to it which allows me to recover older versions and besides even in that wiki I talked about, there will be some pages editable for some users.
Uwe Brauer
On 11/23/07, Uwe Brauer oub@mat.ucm.es wrote:
It would fit my needs much better if there where a blacklist in which I add the article not to be read anonymously.
$wgGroupPermissions['*']['read'] = true; $wgBlacklistNoRead = array(":ForbiddenArticle1");
Will there be such a feature in the future?
The answer to that has always been: no. MediaWiki will not support fine-grained viewing control of pages, ever. You can use extensions like Lockdown to achieve a similar effect, but because of some fairly basic MediaWiki structural decisions, they will not work very completely (and should clearly note this in their readme, I would hope -- I know, for Lockdown).
"Simetrical" == Simetrical Simetrical+wikilist@gmail.com writes:
On 11/23/07, Uwe Brauer oub@mat.ucm.es wrote:
[snip]
The answer to that has always been: no. MediaWiki will not support fine-grained viewing control of pages, ever. You can use extensions like Lockdown to achieve a similar effect, but because of some fairly basic MediaWiki structural decisions, they will not work very completely (and should clearly note this in their readme, I would hope -- I know, for Lockdown).
Could you please send me a pointer? Google did not return anything useful
Uwe Brauer
The answer to that has always been: no. MediaWiki will not support fine-grained viewing control of pages, ever. You can use extensions like Lockdown to achieve a similar effect, but because of some fairly basic MediaWiki structural decisions, they will not work very completely (and should clearly note this in their readme, I would hope -- I know, for Lockdown).
Could you please send me a pointer? Google did not return anything useful
I would guess: http://www.mediawiki.org/wiki/Extension:Lockdown
wikitech-l@lists.wikimedia.org