Erweiterung:PrivateDomains
Appearance
Freigabestatus: stabil |
|
|---|---|
| Einbindung | Spezialseite |
| Beschreibung | Allows to restrict editing to users with a certain email address. |
| Autor(en) | Inez Korczyński Jack Phoenix |
| Letzte Version | 1.5.0 |
| MediaWiki | 1.43+ |
|
|
| Licence | GNU General Public License 2.0 oder neuer |
| Herunterladen | |
| Übersetze die PrivateDomains-Erweiterung, wenn sie auf translatewiki.net verfügbar ist | |
The PrivateDomains extension restricts wiki editing to users with a certain email address. It adds a new special page, Special:PrivateDomains, to allow changing the name of the organization and to add "trusted" email addresses. Bureaucrats and staff members can access this special page by default.
If a non-privileged user (someone who does not have the organization's email address) tries to edit, they see a warning box about the fact that they cannot change pages on the wiki. Be aware that the user can't view pages' wikitext source either.
Installation
- Die Erweiterung herunterladen und die Datei(en) in ein Verzeichnis namens
PrivateDomainsim Ordnerextensions/ablegen.
Entwickler und Code-Beitragende sollten stattdessen die Erweiterung von Git installieren, mit:cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/PrivateDomains
- Folgenden Code am Ende deiner LocalSettings.php-Datei einfügen:
wfLoadExtension( 'PrivateDomains' );
Erledigt – Navigiere zu Special:Version in deinem Wiki, um zu überprüfen, ob die Erweiterung erfolgreich installiert wurde.
Konfiguration
While PrivateDomains settings are meant to be edited via Special:PrivateDomains, they are stored in the MediaWiki: namespace and thus they can also be directly edited.
- MediaWiki:Privatedomains-domains — contains the list of allowed email domains
- MediaWiki:Privatedomains-affiliatename — contains the name of the organization, i.e. FooCorp, Inc. or Bar State University
- MediaWiki:Privatedomains-emailadmin — contains the name of a wiki user whom users can contact if they're having issues
