Test Page: Difference between revisions

From Calontiri Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
Testing stuff...
Testing stuff...
Fixing account creation and editorial access in LocalSettings.php
<nowiki>##</nowiki> User Group Settings
$wgGroupPermissions['*']['edit'] = true;
$wgGroupPermissions['*']['createpage'] = false;
$wgGroupPermissions['*']['createaccount'] = false;
<nowiki>##</nowiki> Login Message
function efLoginFormMessage( &$template ) {
$template->set( 'header', "For an account to create articles, contact Sofya la Rus on Facebook or sofya at heraldshill dot org ");
return true;
}
$wgHooks['UserLoginForm'][]='efLoginFormMessage';

Revision as of 16:57, 4 August 2018

Testing stuff...

Fixing account creation and editorial access in LocalSettings.php

## User Group Settings

$wgGroupPermissions['*']['edit'] = true;

$wgGroupPermissions['*']['createpage'] = false;

$wgGroupPermissions['*']['createaccount'] = false;

## Login Message

function efLoginFormMessage( &$template ) {

$template->set( 'header', "For an account to create articles, contact Sofya la Rus on Facebook or sofya at heraldshill dot org ");

return true;

}

$wgHooks['UserLoginForm'][]='efLoginFormMessage';