In MediaWiki, how can a user be given permission to edit only certain pages? This way, the administrator can create a page for the user and the user will be able to edit this particular page only.
相关问题
- Using AJAX to get a specific DOM Element (using Ja
- Get URL for mediawiki page given the Title - progr
- LDAP on local domain with Mediawiki on Debian 10
- LDAP on local domain with Mediawiki
- mediawiki: is there a way to automatically create
相关文章
- Passing an equal sign ('=') to a parameter
- Get location with Wikimedia API
- Creating custom edit buttons for MediaWiki
- Working example of wikitext-to-HTML in ANTLR 3
- Python regex for finding contents of MediaWiki mar
- What's wrong with this authorization exchange?
- Query Wikipedia pages with properties
- Which wiki to use after MediaWiki? [closed]
I think you're looking for SimpleSecurity.
I tried SimpleSecurity on wiki 1.17.0 and it works ok. But you are limited on 'Category' and 'Namespace' so you can't restrict some user to specific page.
The only solution I see is that you make categories and subcategories and add groups and restrict with Category and Groups. Add users to different groups and add to your LocalSettings.php:
$wgPageRestrictions['Category:Our_people']['edit'] = array('sysop', 'management');
I also looked other restriction extensions on http://www.mediawiki.org/wiki/Category:Page_specific_user_rights_extensions but a lot of them are not maintained anymore and some require that you edin core.... SimpleSecurity is very straighforward.
I use extensions ImprovedAccessControlas well as PermissionACL.
Both work well for page by page, user by user, and namespace by namespace control.
This is an old question, MediaWiki has evolved and there appeared the "Access_Control_List" extension. This nice page may help anyone who's still looking for the answer: https://www.mediawiki.org/wiki/Category:Page_specific_user_rights_extensions
Best regards!
/Ángel
Not directly, there's plenty of hacks/extensions that try to do the same thing.
See the Extensions page at the MediaWiki webpage:
MediaWiki Extensions
SimpleSecurity does not work anymore with 1.21.1...
What other methods are there to prevent reading on specific page or page of an category?
AccessControl, PreventPage and Lockdown are also not very good extensions.