From: Bartosz DziewoƄski Date: Sat, 26 Mar 2016 14:34:13 +0000 (+0100) Subject: ApiMain: Correct typo in variable name X-Git-Tag: 1.31.0-rc.0~7484 X-Git-Url: http://git.heureux-cyclage.org/?a=commitdiff_plain;h=771964fdeaadab09210676ca1ba0b3ea874938b3;p=lhc%2Fweb%2Fwiklou.git ApiMain: Correct typo in variable name https://en.wikipedia.org/wiki/Asterisk Change-Id: I6f2d968c92f4e472fe574ebc8a2a5f9932e0d6f2 --- diff --git a/includes/api/ApiMain.php b/includes/api/ApiMain.php index 5566d31775..1f1a1e8f84 100644 --- a/includes/api/ApiMain.php +++ b/includes/api/ApiMain.php @@ -1750,8 +1750,8 @@ class ApiMain extends ApiBase { // Use parent to make default message for the main module $msg = parent::makeHelpMsg(); - $astriks = str_repeat( '*** ', 14 ); - $msg .= "\n\n$astriks Modules $astriks\n\n"; + $asterisks = str_repeat( '*** ', 14 ); + $msg .= "\n\n$asterisks Modules $asterisks\n\n"; foreach ( $this->mModuleMgr->getNames( 'action' ) as $name ) { $module = $this->mModuleMgr->getModule( $name ); @@ -1764,7 +1764,7 @@ class ApiMain extends ApiBase { $msg .= "\n"; } - $msg .= "\n$astriks Permissions $astriks\n\n"; + $msg .= "\n$asterisks Permissions $asterisks\n\n"; foreach ( self::$mRights as $right => $rightMsg ) { $rightsMsg = $this->msg( $rightMsg['msg'], $rightMsg['params'] ) ->useDatabase( false ) @@ -1775,7 +1775,7 @@ class ApiMain extends ApiBase { "\nGranted to:\n " . str_replace( '*', 'all', implode( ', ', $groups ) ) . "\n\n"; } - $msg .= "\n$astriks Formats $astriks\n\n"; + $msg .= "\n$asterisks Formats $asterisks\n\n"; foreach ( $this->mModuleMgr->getNames( 'format' ) as $name ) { $module = $this->mModuleMgr->getModule( $name ); $msg .= self::makeHelpMsgHeader( $module, 'format' ); diff --git a/maintenance/dictionary/mediawiki.dic b/maintenance/dictionary/mediawiki.dic index 6d5472e74f..914336f844 100644 --- a/maintenance/dictionary/mediawiki.dic +++ b/maintenance/dictionary/mediawiki.dic @@ -538,7 +538,6 @@ asctime asdf aspx assert -astriks asymp async at