UsersPager: Fix typo in formDescriptor array
authorJayprakash12345 <0freerunning@gmail.com>
Wed, 22 Aug 2018 18:53:05 +0000 (00:23 +0530)
committerKunal Mehta <legoktm@member.fsf.org>
Wed, 29 Aug 2018 02:14:34 +0000 (19:14 -0700)
Bug: T202550
Change-Id: I06c6cf596ab0f159ad6a50251788ff3917125ae7
(cherry picked from commit eee4385869fab8d1b5dde7bd3f6520ed880ef673)

RELEASE-NOTES-1.31
includes/specials/pagers/UsersPager.php

index b22f75e..3fd8dbc 100644 (file)
@@ -18,6 +18,8 @@ This is a security and maintenance release of the MediaWiki 1.31 branch.
 * (T182377, T196793) Exif: Guard against uncountable tag values.
 * (T200861) Fix total breakage of SQLite web upgrade.
 * (T200864) Fix pingback over-reporting on non-MySQL databases
+* (T202550) Unbreak SpecialListusersHeaderForm and SpecialListusersHeader
+  hooks. 
 
 === Changes since MediaWiki 1.31.0-rc.2 ===
 * (T195783) Initialize PSR-4 namespaces at same stage as normal autoloader.
index 09d4b5e..3b9f9a1 100644 (file)
@@ -321,7 +321,7 @@ class UsersPager extends AlphabeticPager {
                Hooks::run( 'SpecialListusersHeaderForm', [ $this, &$beforeSubmitButtonHookOut ] );
 
                if ( $beforeSubmitButtonHookOut !== '' ) {
-                       $formDescriptior[ 'beforeSubmitButtonHookOut' ] = [
+                       $formDescriptor[ 'beforeSubmitButtonHookOut' ] = [
                                'class' => HTMLInfoField::class,
                                'raw' => true,
                                'default' => $beforeSubmitButtonHookOut
@@ -337,7 +337,7 @@ class UsersPager extends AlphabeticPager {
                Hooks::run( 'SpecialListusersHeader', [ $this, &$beforeClosingFieldsetHookOut ] );
 
                if ( $beforeClosingFieldsetHookOut !== '' ) {
-                       $formDescriptior[ 'beforeClosingFieldsetHookOut' ] = [
+                       $formDescriptor[ 'beforeClosingFieldsetHookOut' ] = [
                                'class' => HTMLInfoField::class,
                                'raw' => true,
                                'default' => $beforeClosingFieldsetHookOut