

* 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.
MEDIA WIKI TAB RIGHT INSTALL
mediawiki- version patch -p0 < restriction- diawiki- version.patch Configureįirst, install MediaWiki as usual (to create the database and the LocalSettings.php file).
MEDIA WIKI TAB RIGHT DOWNLOAD
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.
