Extension:ForceLogin

From mediawiki.org
MediaWiki extensions manual
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

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

Installation[edit]

  • 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 file:
    wfLoadExtension( 'ForceLogin' );
    
  • Add the next line to the file "extension.json:
"manifest_version": 2,
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.