Extension talk:UserAdmin

About this board

specialuseradminpanel::getTitle() error

1
42.106.192.26 (talkcontribs)

Hello, I recently installed UserAdmin extension to my MediaWiki site but when I visit the Special:SpecialPages I am getting this error "/extensions/UserAdmin/SpecialUADMBase.class.php: Call to undefined method SpecialUserAdminPanel::getTitle()" can someone explain why it's happening?

I am using MediaWiki 1.34.0

Thanks

Reply to "specialuseradminpanel::getTitle() error"

No such special page

17
ClementLinz (talkcontribs)

Product Version MediaWiki 1.20.3 PHP 5.3.21 (cgi-fcgi) MySQL 5.1.52-log

+User Administration (Version 0.5.0)

+ required_once for UserAdmin.php in Localettings. By Submitting form (Edit/Add/Purge) -> "No such special page" Can anyone help ?

Thanks.

Smenci (talkcontribs)

I'm having the same problem:
When I go to wiki/index.php?title=Special:UserAdmin I see the first 25 users, and everything looks good.
But if I do any action that adds arguments to the URL, it doesn't work.
For example going to wiki/index.php?title=Special:UserAdmin?pagesize=50 says "You have requested an invalid special page."
MediaWiki version: 1.20.3
User Administration version: 0.5.0

Weiserma (talkcontribs)

I get the same problem installed on an older wiki MediaWiki 1.16.5

130.15.92.149 (talkcontribs)

I'm having the same problem

Product Version

MediaWiki 1.19.0

PHP 5.2.17 (cgi)

MySQL 5.5.28-29.3-log

Btechnix (talkcontribs)

To fix that change SpecialUADMBase.class.php about line 440 in function getURL($params) to replace '?' by '&',

from:

$retvURL .= '?' . http_build_query($nonDefaultParams);

to:

$retvURL .= '&' . http_build_query($nonDefaultParams);

76.118.31.113 (talkcontribs)

Yeah, it definitely seems like this is a main problem. If I manually change the ? to a & on pages that give the error it works fine, although you can't do that with some of the functions obviously.

I tried your fix. Worked like a charm. Thanks!

130.255.16.114 (talkcontribs)

This fix worked fine for me, however, when editing an email address, I need to change back the & to a ? in order to get it to work. Maybe an if which checks if an ? or & is needed needs to be implemented somewhere along this code.. Sadly I don't have the time right now to experiment with this. I don't need to change things that often so changing the ? to an & or vice versa is not that much work, but it is not an ideal situation

206.81.211.98 (talkcontribs)

This fix worked perfect for me. However, editing users and changing passwords only works in Firefox(well not IE10 anyway).

Cheers, Matt H

67.171.158.66 (talkcontribs)

Special:UserAdmin reads, "Fatal error: Call to undefined function wfLoadExtensionMessages() in /home/scratcha/public_html/extensions/UserAdmin/SpecialUADMBase.class.php on line 59"

146.1.1.1 (talkcontribs)

Perform a check if ? exists. Made changes on line 440

if (count($nonDefaultParams) > 0){

 if (strpos($retvURL,'?')!==FALSE){
   $retvURL .= '&' . http_build_query($nonDefaultParams);
 }else{
   $retvURL .= '?' . http_build_query($nonDefaultParams);
 }

}

Adelovieira (talkcontribs)

Hello,

I have the same problem, but it doesn't work for me. It has also disabled Special:SpecialPages

User Administration Version 0.5.0

MediaWiki 1.22.6

PHP 5.3.2-1ubuntu4.24 (apache2handler)

MySQL 5.1.73-0ubuntu0.10.04.1

Thanks for your help.

212.118.223.36 (talkcontribs)
Stoczko (talkcontribs)

Same here. I added this:

require_once("$IP/extensions/UserAdmin/UserAdmin.php"); in LocalSettings.php

to the end of the LocalSettings.php file, and lost the entire wiki. I needed to comment it out to get the wiki back again. I wonder where I am supposed to add the fix mentioned above by Btechnix...?

83.246.9.107 (talkcontribs)

@Stoczo, you need to add only the following line at the end of your LocalSettings.php file

require_once("$IP/extensions/UserAdmin/UserAdmin.php");

Lungpu (talkcontribs)

We finally made it work for MW 1.26. These are the changes you need to make:

1- Mentioned earlier in this thread:

Near line 440 in SpecialUADMBase.class.php change the if to look like

if (strpos($retvURL,'?')!==FALSE){
  $retvURL .= '&' . http_build_query($nonDefaultParams);
}else{
  $retvURL .= '?' . http_build_query($nonDefaultParams);
}

2- Function isValidEmailAddr has been deprecated versions ago, so you need to change that call in SpecialEditUser.class.php and SpecialAddUser.class.php.

User::isValidEmailAddr( ... ) changes to: Sanitizer::validateEmail ( ... )

and that's it.

62.145.36.18 (talkcontribs)

Trying to get this to work with 1.28 mediawiki.. I get a generic server error when loading the UserAdmin and applying the above mentioned changes :(

Anyone figured this out yet with the current stable version?

Reply to "No such special page"

Changes for version 1.27

1
Fbruschetti (talkcontribs)
  • In file "UserAdmin.php":

--- Uncomment lines 56 and 62 to enable "Specia:MassBlock" page

  • In file "SpecialUserAdminPanel.class.php":

--- Change vfMsg() function to vfMessage()->plain() ..... Don't forget "->plain()" ant the end of function

-- Comment line 215 "$wgOut->includeJQuery()" because funtion was deprecated

  • In file SpecialAddUser.class.php":

-- Comment line 161 " #$template = new UsercreateTemplate;"

-- Add "}" prior to the last one of the code

  • In files "SpecialEditUser.class.php" and "SpecialPurgeUser.class.php":

--- Change vfMsg() function to vfMessage()->plain()

This worked for me

Reply to "Changes for version 1.27"

undefined User:isValidEmailAddr

1
76.20.240.14 (talkcontribs)

Are there some dependencies required for this? I get an "undefined" error with MW 1.25

Reply to "undefined User:isValidEmailAddr"

Support for MW 1.25.1

1
Andrew Branscom (talkcontribs)

Will this be updated for MW 1.25.1? If I use 0.9.1 I get a blank page for the special pages and if I use 0.5.0 I get the "No such special page" error. If I make the $retvURL .= '&' . http_build_query($nonDefaultParams); edit I get a blank page when I save an edit and the changes are not saved.

If not, is there any other extension that let you manage user details.

Reply to "Support for MW 1.25.1"

Seems to be working with 1.20.2

13
146.79.254.10 (talkcontribs)

Although the formatting leaves a bit to be desired. I modified line 237 in SpecialUserAdminPanel.class.php to change <table> into <table border="1"> and it is a bit more readable now.

75.72.177.47 (talkcontribs)

Hi Terry,

I'm also using 1.20.2. I'm only a few days old in using Media Wiki so I installed this extension. I see the options to Add User, Delete, etc...but I can't really add a user. When I click on Add a user, it goes onto a new page and shows "No Such Special Page: You have requested an invalid special page.". Am I missing something after I installed this extension?

Any help is appreciated. Thank you!

Abani79 (talkcontribs)

Hi Terry, can you please make a screenshot and upload here, as in the screenshot in the article looks like, it does not look at my wiki?! Hello IP 75.72.177.47, which version do you have installed on your wiki? Latest version is 0.5.0, maybe is your version older?!

Kind regards, Sandro

Abani79 (talkcontribs)

Addendum: I must correct myself, version 0.9.0 is already available. Well my version is 0.5.0 and it works except for CSS quite well so far.

Pandu Peddisetti (talkcontribs)

Hi Abani,

Thanks for responding to my above post (75.72.177.47). I have downloaded only few days ago so I have the latest version 0.9.0. I can see all the new options installed with it. But however I can't create a new user. As I mentioned above when I click the 'Add a User' button, it goes to new page and tells me "No Such Special Page: You have requested an invalid special page.".

Am I missing anything here? Do we need to do any configuration after we install the extention to get it all working?

Appreciate your time. Thanks!

Technoshamman (talkcontribs)

Same issue.

Running MediaWiki 1.20.2 PHP 5.3.20 (cgi-fcgi) MySQL 5.1.67-community-log

Wanted to try out UserAdmin so I could add my own users...

Just downloaded. When I go to create a new user, after I hit "add user" button it states:

No such special page Jump to: navigation, search

You have requested an invalid special page.

A list of valid special pages can be found at Special pages.

Return to Main Page.

... And my user is not added.

(

when I look at useradmin.php I see that the comments states version .9 but the wgExtensionCredits states version .5

line 18: * @version 0.9.0

line 35: 'version' => '0.5.0',

89.212.252.208 (talkcontribs)

Same issue:

After clicking "confirm purge" it takes me to this invalid url (? appears twice).

 www.sdms.si/wiki/index.php?title=Posebno%3APurgeUser?returnto=Posebno%3AUserAdmin&statusmsg=Jmx0O3VhZG0tdW5zdXBwb3J0ZWR2ZXJzaW9ubXNnJmd0Ow%3D%3D&statusok=0&userids%5B0%5D=19
98.195.63.176 (talkcontribs)

Are you using $wgUsePathInfo = false by chance?

I get this error if it's set to false (which I had to do to fix another bug) but when I comment out this line it starts working again.

Gustavormello (talkcontribs)

Not working for me

MediaWiki version: 1.20.2 User Administration: (Version 0.5.0) (at least it what it says) although I know I downloaded 0.9

Getting "No such special page" problem as well.

Pchestek (talkcontribs)

Not working for 1.21.1 either, "no such special page" error.

Btechnix (talkcontribs)

To fix that change SpecialUADMBase.class.php about line 440 in function getURL($params) to replace '?' by '&',

from:

$retvURL .= '?' . http_build_query($nonDefaultParams);

to:

$retvURL .= '&' . http_build_query($nonDefaultParams);

MilkMiruku~mediawikiwiki (talkcontribs)

I tried that but I get;

Bad title

The requested page title was invalid, empty, or an incorrectly linked inter-language or inter-wiki title. It may contain one or more characters which cannot be used in titles.

This goes for trying to purge either one or multiple users.

This post was posted by MilkMiruku~mediawikiwiki, but signed as MilkMiruku.

Btechnix (talkcontribs)

Hi MilkMiruku, Can you post here the URL in the address bar that appears when you get this error

Reply to "Seems to be working with 1.20.2"

Patch for MW 1.24.1 and external authentication

1
Liamgretton (talkcontribs)

We've found a few problems with UserAdmin and MW 1.24.1:

  • User::ValidEmailAddr() is gone, it's necessary to use Sanitizer::validateEmail() instead.
  • wfLoadExtensionMessages() is no longer required.

The patch below for UserAdmin 0.9.1 fixes these problems and adds a configuration variable $wgUserAdminExternalAuth. If true, then UserAdmin basically disables all the password options. In our setup we use LDAP for authNZ and don't want local passwords.

I haven't looked at submitting this to the UserAdmin author for consideration yet, but I post it here in case it's useful for anyone else.

--- README
+++ README
@@ -7,6 +7,9 @@ private wikis that require tighter contr
 Usage:
        require_once("$IP/extensions/UserAdmin/UserAdmin.php"); in LocalSettings.php

+If $wgUserAdminExternalAuth is true, then password options are not used. It is
+assumed that users are authenticated against an external authority such as LDAP.
+
 Docs: http://www.mediawiki.org/wiki/Extension:UserAdmin
 Author: Lance Gatlin <lance.gatlin@gmail.com> Ap.Muthu <apmuthu@usa.net>
 License: http://opensource.org/licenses/gpl-3.0.html GNU Public License 3.0
--- SpecialAddUser.class.php
+++ SpecialAddUser.class.php
@@ -89,7 +89,7 @@ class SpecialAddUser extends SpecialUADM
    */
   function doGET()
   {
-    global $wgLang, $wgOut, $wgUser, $wgAuth;
+    global $wgLang, $wgOut, $wgUser, $wgAuth, $wgUserAdminExternalAuth;

     $this->validateGETParams();

@@ -183,7 +183,7 @@ EOT;
 EOT;
     }

-    return <<<EOT
+    $previewHTML = <<<EOT
 <form id="adduserform" name="input" action="$postURL" method="post" class="visualClear">
   <input type="hidden" name="edittoken" value="$editToken"/>
   <fieldset>
@@ -207,6 +207,10 @@ $domainHTML
       <legend>$this->editgroupslabel</legend>
       $groupsHTML
     </fieldset>
+EOT;
+    # Don't display the password stuff if we're externally authenticating.
+    if ( !$wgUserAdminExternalAuth ) {
+      $previewHTML .= <<<EOT
     <fieldset>
       <legend>$this->editpasswordlabel</legend>
       <input id="pwdmanual" type="radio" name="pwdaction" value="manual" $setPasswordChecked/> <label for="pwdmanual">$this->setpasswordforuserlabel</label><br/>
@@ -223,11 +227,17 @@ $domainHTML
       <input id="pwdemailwelcome" type="radio" name="pwdaction" value="emailwelcome" $emailWelcomeChecked/> <label for="pwdemailwelcome">$this->emailwelcomelabel</label> <button type="submit" name="action" value="emailwelcomepreview">$this->previewactionlabel</button> (<a href="$welcomeTitleHref">$this->subjectlabel</a> | <a href="$welcomeTextHref">$this->bodylabel</a>)<br/>
       $previewWelcomeEmailHTML
     </fieldset>
+EOT;
+    }
+
+    $previewHTML .= <<<EOT
+
     <button type="submit" name="action" value="adduser">$this->adduserlabel</button>
   </fieldset>
 </form>
 $returnToHTML
 EOT;
+    return $previewHTML;
   }

   /*
@@ -235,7 +245,7 @@ EOT;
    */
   function validatePOSTParams()
   {
-    global $wgUser, $wgAuth;
+    global $wgUser, $wgAuth, $wgUserAdminExternalAuth;

     // Validate FORM
     if(empty($this->username))
@@ -266,24 +276,26 @@ EOT;
     if(empty($this->email))
       throw new InvalidPOSTParamException(wfMsg('uadm-fieldisrequiredmsg',$this->emailfield));

-    if(!User::isValidEmailAddr($this->email))
+    if(!Sanitizer::validateEmail($this->email))
       throw new InvalidPOSTParamException(wfMsg('uadm-invalidemailmsg',$this->emailfield));

-    if(empty($this->pwdaction))
-      throw new InvalidPOSTParamException(wfMsg('uadm-formsubmissionerrormsg'));
-
-    if($this->pwdaction == 'manual')
-    {
-      if(empty($this->password1) || empty($this->password2))
-        throw new InvalidPOSTParamException(wfMsg('uadm-fieldisrequiredmsg',$this->passwordfield));
+    # Ignore password bits if we're externally authenticating
+    if ( !$wgUserAdminExternalAuth ) {
+      if(empty($this->pwdaction))
+        throw new InvalidPOSTParamException(wfMsg('uadm-formsubmissionerrormsg'));

-      if($this->password1 != $this->password2)
-        throw new InvalidPOSTParamException(wfMsg('uadm-passwordsmustmatchmsg'));
-
+      if($this->pwdaction == 'manual')
+      {
+        if(empty($this->password1) || empty($this->password2))
+          throw new InvalidPOSTParamException(wfMsg('uadm-fieldisrequiredmsg',$this->passwordfield));
+
+        if($this->password1 != $this->password2)
+          throw new InvalidPOSTParamException(wfMsg('uadm-passwordsmustmatchmsg'));
+
+      }
+      elseif($this->pwdaction != 'email' && $this->pwdaction != 'emailwelcome')
+        throw new InvalidPOSTParamException(wfMsg('uadm-formsubmissionerrormsg'));
     }
-    elseif($this->pwdaction != 'email' && $this->pwdaction != 'emailwelcome')
-      throw new InvalidPOSTParamException(wfMsg('uadm-formsubmissionerrormsg'));
-

   }

@@ -294,7 +306,7 @@ EOT;
    */
   function doPOST()
   {
-    global $wgUser, $wgAuth;
+    global $wgUser, $wgAuth, $wgUserAdminExternalAuth;

     switch($this->action)
     {
@@ -328,29 +340,35 @@ EOT;
     $successWikiText = array();
     $successWikiText[] = wfMsg('uadm-newusersuccessmsg', $this->username);

-    $userPassword = '';
-    switch($this->pwdaction)
-    {
-      case 'manual' :
-        try {
-          $user->setPassword($this->password1);
-          $userPassword = $this->password1;
-        }
-        catch(PasswordError $pe)
-        {
-          return $this->getPOSTRedirectURL(false, wfMsg('uadm-passworderrormsg') . $pe->getText());
-        }
-        $successWikiText[] = wfMsg('uadm-passwordchangesuccessmsg',$this->username);
-        break;
-
-      case 'emailwelcome' :
-        $result = self::mailWelcomeAndPassword($user);
-
-        if( WikiError::isError( $result ) )
-          return $this->getPOSTRedirectURL( false, wfMsg( 'uadm-mailerror', $result->getMessage() ) );
-
-        $successWikiText[] = wfMsg('uadm-welcomeemailsuccessmsg', $this->username, $this->email);
-        break;
+    # Don't bother with password if we're authenticating externally
+    if ( !$wgUserAdminExternalAuth ) {
+      $userPassword = '';
+      switch($this->pwdaction)
+      {
+        case 'manual' :
+          try {
+            $user->setPassword($this->password1);
+            $userPassword = $this->password1;
+          }
+          catch(PasswordError $pe)
+          {
+            return $this->getPOSTRedirectURL(false, wfMsg('uadm-passworderrormsg') . $pe->getText());
+          }
+          $successWikiText[] = wfMsg('uadm-passwordchangesuccessmsg',$this->username);
+          break;
+
+        case 'emailwelcome' :
+          $result = self::mailWelcomeAndPassword($user);
+
+          if( WikiError::isError( $result ) )
+            return $this->getPOSTRedirectURL( false, wfMsg( 'uadm-mailerror', $result->getMessage() ) );
+
+          $successWikiText[] = wfMsg('uadm-welcomeemailsuccessmsg', $this->username, $this->email);
+          break;
+      }
+    } else {
+      # Just set a dummy random password which will never be used
+      $userPassword = substr(str_shuffle(MD5(microtime())), 0, 10);
     }

     $user->setToken();
@@ -408,4 +426,4 @@ EOT;
     // user just added
     return $this->getSpecialPageURL('EditUser',$this->username, array('statusmsg' => base64_encode($successWikiText), 'statusok' => true, 'returnto' => $this->returnto));
   }
-}
\ No newline at end of file
+}
--- SpecialEditUser.class.php
+++ SpecialEditUser.class.php
@@ -124,7 +124,7 @@ class SpecialEditUser extends SpecialUAD
    */
   function doGET()
   {
-    global $wgLang, $wgOut, $wgUser, $wgAuth;
+    global $wgLang, $wgOut, $wgUser, $wgAuth, $wgUserAdminExternalAuth;

     $user = $this->validateGETParams();

@@ -316,7 +316,7 @@ EOT;
 EOT;
     }

-    return <<<EOT
+    $previewHTML = <<<EOT
 <form id="edituserform" name="input" action="$postURL" method="post" class="visualClear">
   <input type="hidden" name="edittoken" value="$editToken"/>
   <fieldset>
@@ -364,6 +364,9 @@ $domainHTML
       <legend>$this->editgroupslabel:</legend>
       $groupsHTML
     </fieldset>
+EOT;
+    if ( !$wgUserAdminExternalAuth ) {
+      $previewHTML .= <<<EOT
     <fieldset>
       <legend>$this->editpasswordlabel:</legend>
       <input id="pwdmanual" type="radio" name="pwdaction" value="manual" $pwdSetPasswordChecked/> <label for="pwdmanual">$this->setpasswordforuserlabel:</label><br/>
@@ -383,6 +386,9 @@ $domainHTML
       $previewWelcomeEmailHTML
       <input id="pwdnochange" type="radio" name="pwdaction" value="nochange" $pwdNoChangeChecked/> <label for="pwdnochange">$this->nochangetopasswordlabel</label><br/>
     </fieldset>
+EOT;
+    }
+    $previewHTML .= <<<EOT
     <label for="reason">$this->reasonlabel:</label> <input id="reason" type="text" name="reason" size="60" maxlength="255" value="$this->reason"/> $this->requiredlabel<br/>
     <button type="submit" name="action" value="saveuser">$this->saveuserlabel</button>
   </fieldset>
@@ -390,6 +396,7 @@ $domainHTML
 $searchFormHTML
 $returnToHTML
 EOT;
+    return $previewHTML;
     }

   /*
@@ -397,7 +404,7 @@ EOT;
    */
   function validatePOSTParams()
   {
-    global $wgUser, $wgAuth;
+    global $wgUser, $wgAuth, $wgUserAdminExternalAuth;

     $user = User::newFromId($this->userid);
     if(!$user->loadFromId())
@@ -436,26 +443,29 @@ EOT;
     if(empty($this->email))
       throw new InvalidPOSTParamException(wfMsg('uadm-fieldisrequiredmsg',$this->emailfield));

-    if(!User::isValidEmailAddr($this->email))
+    if(!Sanitizer::validateEmail($this->email))
       throw new InvalidPOSTParamException(wfMsg('uadm-invalidemailmsg',$this->emailfield));

     if(empty($this->reason))
       throw new InvalidPOSTParamException(wfMsg('uadm-fieldisrequiredmsg',$this->reasonfield));

-    if(empty($this->pwdaction))
-      throw new InvalidPOSTParamException(wfMsg('uadm-formsubmissionerrormsg'));
-
-    if($this->action == 'saveuser' && $this->pwdaction == 'manual')
-    {
-      if(empty($this->password1) || empty($this->password2))
-        throw new InvalidPOSTParamException(wfMsg('uadm-fieldisrequiredmsg',$this->passwordfield));
-
-      if($this->password1 != $this->password2)
-        throw new InvalidPOSTParamException(wfMsg('uadm-passwordsmustmatchmsg'));
-
-//      $result = $user->checkPassword($this->password1);
-//      if($result !== true)
-//        throw new InvalidPOSTParamException(wfMsg('uadm-invalidpasswordmsg'));
+    # Ignore password information if we're authenticating externally
+    if ( !$wgUserAdminExternalAuth ) {
+      if(empty($this->pwdaction))
+        throw new InvalidPOSTParamException(wfMsg('uadm-formsubmissionerrormsg'));
+
+      if($this->action == 'saveuser' && $this->pwdaction == 'manual')
+      {
+        if(empty($this->password1) || empty($this->password2))
+          throw new InvalidPOSTParamException(wfMsg('uadm-fieldisrequiredmsg',$this->passwordfield));
+
+        if($this->password1 != $this->password2)
+          throw new InvalidPOSTParamException(wfMsg('uadm-passwordsmustmatchmsg'));
+
+  //      $result = $user->checkPassword($this->password1);
+  //      if($result !== true)
+  //        throw new InvalidPOSTParamException(wfMsg('uadm-invalidpasswordmsg'));
+      }
     }

     return $user;
@@ -646,4 +656,4 @@ EOT;

     return $this->getPOSTRedirectURL(true, $successWikiText);
   }
-}
\ No newline at end of file
+}
--- SpecialUADMBase.class.php
+++ SpecialUADMBase.class.php
@@ -56,8 +56,6 @@ abstract class SpecialUADMBase extends S
   {
     parent::__construct($name, $rights);

-    wfLoadExtensionMessages('UserAdmin');
-
     $this->mURL = $this->getTitle()->getLocalURL();
   }

@@ -603,4 +601,4 @@ EOT;
 EOT;
   }

-}
\ No newline at end of file
+}
--- UserAdmin.php
+++ UserAdmin.php
@@ -37,6 +37,9 @@ $wgExtensionCredits['specialpage'][] = a

 $dir = dirname(__FILE__) . '/';

+# wgUserAdminExternalAuth indicates that external auth is used (e.g. LDAP) instead of passwords.
+$wgUserAdminExternalAuth = false;
+
 $wgExtensionMessagesFiles['UserAdmin'] = $dir . 'UserAdmin.i18n.php';

 $wgAutoloadClasses['SpecialUserAdminPanel'] = $dir . 'SpecialUserAdminPanel.class.php';
Reply to "Patch for MW 1.24.1 and external authentication"

<uadm-unsupportedversionmsg>

2
IvanSanders63 (talkcontribs)

Process:

- Select one or more users - Select Purge - Enter reason for purging and Confirm Purge

Error in top of screen > <uadm-unsupportedversionmsg>

MediaWiki 1.21.2 PHP 5.3.26 (litespeed) MySQL 5.5.32-31.0

Special:Version shows UserAdmin 0.5.0 even though I have downloaded 0.9.0

I was getting this error:

Fatal error: Call to undefined function wfLoadExtensionMessages() in /clientdata/apache-www/a/c/actscoutaction.org.au/www/wiki/extensions/UserAdmin/SpecialUADMBase.class.php on line 59

So commented out:

  1. wfLoadExtensionMessages('UserAdmin');

Any help appreciated

125.18.106.145 (talkcontribs)

Tried wfLoadExtensionMessages('UserAdmin'); commented this line but still getting this message

Reply to "<uadm-unsupportedversionmsg>"
2.25.57.93 (talkcontribs)

Going to purge user, I enter a username ("1t6a0t19942") and hit search.

This takes me to the following URL;

http://www.liblfds.org/mediawiki/index.php?username=1t6a0t19942

Which simply shows the root wiki page.

Total fail. Third extension I've tried to obtain the capability to mass delete spam users, not a one of them works.

Slashme (talkcontribs)

It really doesn't seem to be working on 1.19: I'm also getting redirected to the main page of my wiki.

Reply to "Purge User not working"

MW = 1.21.1 + UserAdmin : error and solution ‎

1
Kraba (talkcontribs)

According to mediawiki from MW1.21.1 the function wfLoadExtensionMessages() is removed. (other interesting link https://www.mediawiki.org/wiki/Special:Code/MediaWiki/52503 )

Now, UserAdmin don't works and you have to edit extensions/UserAdmin/SpecialUADMBase.class.php and comment (with //) row 59 :

wfLoadExtensionMessages('UserAdmin');

and it works!

Reply to "MW = 1.21.1 + UserAdmin : error and solution ‎"
Return to "UserAdmin" page.