Extension:Unregistered Edit Links

MediaWiki extensions manual
Unregistered Edit Links
Release status: stable
Implementation User interface
Description Restores the Edit and Create links in article navigation
Author(s) alex4401 (Alex44019talk)
Latest version 2.0.0
MediaWiki v2.0+: 1.39
v1.0+: 1.37
PHP >= 7.4
Database changes No
License GNU General Public License 2.0 or later
Download
Parameters

  • $wgAEFAdvertiseCreationInContentNs
  • $wgAEFAdvertiseCreationIfCanExist
Hooks used
  • SkinTemplateNavigation::Universal
  • LoginFormValidErrorMessages

The Unregistered Edit Links extension restores the Edit and Create links in article navigation on wikis where editing requires having an account, so anonymous users do not get the impression the wiki is completely locked down and only editable by staff. The links lead to Special:CreateAccount with an additional notice notifying them of the requirement.

As of version 2.0.0, the links are labeled "Sign up to edit" and "Sign up to create." These can be customized by editing the unregistered-edit and unregistered-create system messages in the MediaWiki namespace, however, translations should be done through the Website linked below.

Installation

  • Download, extract, and place the file(s) in a directory called UnregisteredEditLinks in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'UnregisteredEditLinks' );
    
  • Configure as required.
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Coniguration

  • $wgAEFAdvertiseCreationInContentNs, defaults to true and sets ...
  • $wgAEFAdvertiseCreationIfCanExist, defaults to false and sets ...

Known issues

  • Section edit links are not restored, and probably can't be without modifications to MediaWiki itself.

Please use the issue tracker to report issues.

Translating

Please submit translations via the project's Weblate panel (log in with Discord).