Extension talk:Login At Edit

From mediawiki.org

Hi, I'm getting this error:

Detected bug in an extension! Hook loginAtEdit_InsertLoginForm failed to return a value; should return true to continue hook processing or false to abort.

Backtrace:

  1. 0 C:\wamp\www\wiki\includes\EditPage.php(920): wfRunHooks('EditPage::showE...', Array)
  2. 1 C:\wamp\www\wiki\includes\EditPage.php(433): EditPage->showEditForm()
  3. 2 C:\wamp\www\wiki\includes\EditPage.php(285): EditPage->edit()
  4. 3 C:\wamp\www\wiki\includes\Wiki.php(437): EditPage->submit()
  5. 4 C:\wamp\www\wiki\includes\Wiki.php(48): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))
  6. 5 C:\wamp\www\wiki\index.php(89): MediaWiki->initialize(Object(Title), Object(OutputPage), Object(User), Object(WebRequest))
  7. 6 {main}

Best regards,

--86.88.44.213 21:12, 26 May 2008 (UTC)Reply

change from

function loginAtEdit_InsertLoginForm($form) {
    global $wgOut, $wgUser;
 
    if ($wgUser->isLoggedIn()) {
    return;
    }
 

to:

function loginAtEdit_InsertLoginForm($form) {
    global $wgOut, $wgUser;
 
    if ($wgUser->isLoggedIn()) {
    return true;
    }
 

how do i edit the "create account" page on my own mediawiki site?[edit]

i can't figure out how to do this with the current help files? i want to change the create account page for new people to signup. RobbinsDick (talk) 12:41, 28 April 2013 (UTC)Reply