Mediawiki add user1/30/2024 ![]() Regex restriction include the namespace, so it is now possible to restrict whole namespaces (eg.So none of pages title should be listed whatever the protection mechanism choosed, nor during a search request Now restricted pages and *regex* restricted pages are treated in the same way.SQL requests are not modified anymore to check the restriction (better sustenability of the patch).Two bugs in Articles.php and Skin.php (thanks to Owen, see here).Czech translation (thanks to Michal Ciza).Spanish translation (thanks to Victor Fariña from Queres tecnologias).To contact me (no personal support, use this blog) : restrict-mediawiki/at/ (Jérôme Combaz)Ĭhangelog Version beta-0.72 for MW 1.6.6/1.6.7/1.6.8 (09-01-2006) Send an empty mail to and reply to the confirmation mail. You can subscribe to the mailing list to discuss about this patch, receive news, etc. MediaWiki home page and the page about the patch.windows users), here is the full pre-patched archive : mediawiki-1.6.8-restriction-patch-beta-0.72.tar.gz ( install as usual, but do not forget to enable restriction feature, read the doc above) 1.7.1 : An unstable version (not verified by me) is proposed in a comment below (thanks to JesperZedlitz).1.6.3 (beta 0.64) (old version, quite stable).For MediaWiki 1.4.x see this article (deprecated).Download the patch for MediaWiki version (patch version) :.This is beta and GPL, test and feedback welcome ! If $wgUserPageRestrict is true, user pages are restricted to their respective owner, as well as members of the viewrestrict group.ĭon't write sensible information in page titles, they could be retrieved in some cases. Go to the User rights management page (in special pages) and add users in group restrict (allow to view and restrict pages) or viewrestrict (allow only to view restricted pages). $wgGroupPermissions = true īy default nobody is able to restrict page. 'authors' group members get 'edituser' rights and can edit other users pages and sub pages. with restrict version beta-0.8.2 when $wgUserPageRestrict and $wgUserReadRestrict is true * If true hide log entries related to restriction, except for 'restrict' or 'viewrestrict' users (Special:Log page) * If true do not add recent changes entry for restricted pages * any pages starting with "Public" is un-restricted and all others are restricted. * with restrict version beta-0.8.1 you can also use Inverse regex matching * restrict all pages where title is like 'Secure.' or 'Secret. $wgRegexRestrict = array("^Secure:", "^Secret ") * Regular expression array to restrict matching pages * when wgUserPageRestrict and this option are true, allows user pages to be read but not edited by others? * If true restrict user pages to their owner (as well as viewrestrict/restrict members) * If true, new pages are restricted by default for 'restrict' group users. * If false, all previously restricted pages are accessible again. ![]() * If true, a new menu action allows to restrict pages access to 'restrict' group users. LocalSettings.php file (at the bottom of the file) : Once your wiki works fine you have to enable restriction. mediawiki- version patch -p0 < restriction- diawiki- version.patch Configureįirst, install MediaWiki as usual (to create the database and the LocalSettings.php file). To install restriction-patch, download MediaWiki (do a security backup if you patch your own installation), or see below to dowload a pre-patched archive.Īpply patch mv restriction- diawiki- version.patch. To respect the wiki philosophy, it is not appropriate to use it to restrict public access! This feature is mainly useful for intranet relying on WikiMedia as a non-encyclopedic content management system, like e-learning platforms or informational systems. Currently it is localized in English, German, Dutch, Swedish, Catalan, Finnish, Russian, Hebrew, Polish, Czech, Spanish and French. Optionaly the user's pages can be restricted to their owner. It is also possible to restrict pages or namespaces by providing a regular expression array matching titles, and to restrict new pages by default. All restriction/unrestriction actions are loggued in the wiki log. A restricted page is distinguished by a red background tab, and you have a special page (Special:Restrictedpages) to list the restricted pages. You can still |protect| them for editing. Others users cannot see, search, export, etc, the restricted pages. Users member of the group viewrestrict can read (and modify) the restricted pages. It adds a new |restrict| tab link allowing members of the group restrict to restrict pages. Here is a patch to enable article restriction under MediaWiki. ( Voir le billet en français) This patch is deprecated.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |