Extension:ForceLogin

MediaWiki extensions manual
OOjs UI icon advanced-invert.svg
ForceLogin
Release status: unmaintained
Implementation MyWiki
Description Forces login on Edit action of a page and redirects user back to the edit page on login.
Author(s) Kuldeep Ghogre, Manit Hirani (manithiranitalk)
Latest version 1.0 (2018-07-05)
MediaWiki 1.30+
PHP 5.3+
Database changes No
License GNU General Public License 2.0 or later
Download

Check usage and version matrix.

The ForceLogin extension forces login on edit action of a page and redirects user back to the edit page on login.

InstallationEdit

  • Download and place the file(s) in a directory called ForceLogin in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php :
    wfLoadExtension( 'ForceLogin' );
    
  • Add the next line to the file "extension.json:
"manifest_version": 2,
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.