From: Ori Livneh Date: Sun, 15 Oct 2017 01:41:58 +0000 (-0400) Subject: Fix letter-case of several namespace and class names X-Git-Tag: 1.31.0-rc.0~1772 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=a603ae73a79c4652b1cd9637f932f18523d773bd;p=lhc%2Fweb%2Fwiklou.git Fix letter-case of several namespace and class names 'Mediawiki\Widget\SelectWithInputWidget' is the only one that shows up in the logs, but I tidied up a few others I came across. Change-Id: I700dec858007a8013e6d7b9e37ddf518f223d8b7 --- diff --git a/includes/Preferences.php b/includes/Preferences.php index ba90121a83..94854fa23d 100644 --- a/includes/Preferences.php +++ b/includes/Preferences.php @@ -1350,7 +1350,7 @@ class Preferences { * @param IContextSource $context * @param string $formClass * @param array $remove Array of items to remove - * @return PreferencesForm|HtmlForm + * @return PreferencesForm|HTMLForm */ static function getFormObject( $user, diff --git a/includes/htmlform/fields/HTMLSelectAndOtherField.php b/includes/htmlform/fields/HTMLSelectAndOtherField.php index 910a053065..cdb8f5b909 100644 --- a/includes/htmlform/fields/HTMLSelectAndOtherField.php +++ b/includes/htmlform/fields/HTMLSelectAndOtherField.php @@ -126,7 +126,7 @@ class HTMLSelectAndOtherField extends HTMLSelectField { } public function getInputWidget( $params ) { - return new Mediawiki\Widget\SelectWithInputWidget( $params ); + return new MediaWiki\Widget\SelectWithInputWidget( $params ); } /** diff --git a/includes/htmlform/fields/HTMLSelectOrOtherField.php b/includes/htmlform/fields/HTMLSelectOrOtherField.php index f6c0b07102..fb133f20e5 100644 --- a/includes/htmlform/fields/HTMLSelectOrOtherField.php +++ b/includes/htmlform/fields/HTMLSelectOrOtherField.php @@ -136,7 +136,7 @@ class HTMLSelectOrOtherField extends HTMLTextField { } public function getInputWidget( $params ) { - return new Mediawiki\Widget\SelectWithInputWidget( $params ); + return new MediaWiki\Widget\SelectWithInputWidget( $params ); } /** diff --git a/includes/specials/SpecialExport.php b/includes/specials/SpecialExport.php index 8e6c446238..eb7be510bd 100644 --- a/includes/specials/SpecialExport.php +++ b/includes/specials/SpecialExport.php @@ -23,7 +23,7 @@ * @ingroup SpecialPage */ -use Mediawiki\MediaWikiServices; +use MediaWiki\MediaWikiServices; /** * A special page that allows users to export pages in a XML file diff --git a/includes/specials/SpecialPreferences.php b/includes/specials/SpecialPreferences.php index ba5a57ea5a..7c55e5c8cb 100644 --- a/includes/specials/SpecialPreferences.php +++ b/includes/specials/SpecialPreferences.php @@ -121,7 +121,7 @@ class SpecialPreferences extends SpecialPage { * Get the preferences form to use. * @param User $user The user. * @param IContextSource $context The context. - * @return PreferencesForm|HtmlForm + * @return PreferencesForm|HTMLForm */ protected function getFormObject( $user, IContextSource $context ) { return Preferences::getFormObject( $user, $context ); diff --git a/includes/specials/pagers/NewPagesPager.php b/includes/specials/pagers/NewPagesPager.php index 53362d9cbc..a87bbb7567 100644 --- a/includes/specials/pagers/NewPagesPager.php +++ b/includes/specials/pagers/NewPagesPager.php @@ -28,7 +28,7 @@ class NewPagesPager extends ReverseChronologicalPager { protected $opts; /** - * @var HtmlForm + * @var HTMLForm */ protected $mForm;