mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-11 17:01:58 +00:00
build: Updating mediawiki/mediawiki-codesniffer to 0.10.1
Change-Id: I66b497f2afbb966465d084bf6d0a8e5e26917d57
This commit is contained in:
parent
0f605ae1f5
commit
8fe3da853e
|
@ -298,7 +298,7 @@ class WikiEditorHooks {
|
|||
*/
|
||||
public static function resourceLoaderGetConfigVars( &$vars ) {
|
||||
// expose magic words for use by the wikieditor toolbar
|
||||
WikiEditorHooks::getMagicWords( $vars );
|
||||
self::getMagicWords( $vars );
|
||||
|
||||
$vars['mw.msg.wikieditor'] = wfMessage( 'sig-text', '~~~~' )->inContentLanguage()->text();
|
||||
|
||||
|
@ -382,7 +382,7 @@ class WikiEditorHooks {
|
|||
*
|
||||
* @param EditPage $editPage
|
||||
* @param Status $status
|
||||
* @return boolean
|
||||
* @return bool
|
||||
*/
|
||||
public static function editPageAttemptSave( EditPage $editPage ) {
|
||||
$article = $editPage->getArticle();
|
||||
|
@ -403,7 +403,7 @@ class WikiEditorHooks {
|
|||
*
|
||||
* @param EditPage $editPage
|
||||
* @param Status $status
|
||||
* @return boolean
|
||||
* @return bool
|
||||
*/
|
||||
public static function editPageAttemptSaveAfter( EditPage $editPage, Status $status ) {
|
||||
$article = $editPage->getArticle();
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"license": "GPL-2.0+",
|
||||
"require-dev": {
|
||||
"jakub-onderka/php-parallel-lint": "0.9.2",
|
||||
"mediawiki/mediawiki-codesniffer": "0.10.0",
|
||||
"mediawiki/mediawiki-codesniffer": "0.10.1",
|
||||
"jakub-onderka/php-console-highlighter": "0.3.2"
|
||||
},
|
||||
"scripts": {
|
||||
|
|
Loading…
Reference in a new issue