X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDummyLinker.php;h=d9330eebc23dfab43cf7577aee3fc51caa4d7a90;hb=9d788823ff9c7eaea03bceca3bd8f5c1fb7fdac5;hp=45535ceee5b400d16711ad02ab7d8adc08b1c5e3;hpb=77579c6f1037daf2a053cab7ee51280f962f2e36;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DummyLinker.php b/includes/DummyLinker.php index 45535ceee5..d9330eebc2 100644 --- a/includes/DummyLinker.php +++ b/includes/DummyLinker.php @@ -54,9 +54,9 @@ class DummyLinker { public function link( $target, $html = null, - $customAttribs = [ ], - $query = [ ], - $options = [ ] + $customAttribs = [], + $query = [], + $options = [] ) { return Linker::link( $target, @@ -70,9 +70,9 @@ class DummyLinker { public function linkKnown( $target, $html = null, - $customAttribs = [ ], - $query = [ ], - $options = [ 'known', 'noclasses' ] + $customAttribs = [], + $query = [], + $options = [ 'known' ] ) { return Linker::linkKnown( $target, @@ -123,8 +123,8 @@ class DummyLinker { Parser $parser, Title $title, $file, - $frameParams = [ ], - $handlerParams = [ ], + $frameParams = [], + $handlerParams = [], $time = false, $query = "", $widthOption = null @@ -147,7 +147,7 @@ class DummyLinker { $label = '', $alt, $align = 'right', - $params = [ ], + $params = [], $framed = false, $manualthumb = "" ) { @@ -166,8 +166,8 @@ class DummyLinker { public function makeThumbLink2( Title $title, $file, - $frameParams = [ ], - $handlerParams = [ ], + $frameParams = [], + $handlerParams = [], $time = false, $query = "" ) { @@ -232,7 +232,7 @@ class DummyLinker { $text, $escape = true, $linktype = '', - $attribs = [ ], + $attribs = [], $title = null ) { return Linker::makeExternalLink( @@ -329,7 +329,7 @@ class DummyLinker { Title $title, $text, $wikiId = null, - $options = [ ] + $options = [] ) { return Linker::makeCommentLink( $title, @@ -471,7 +471,7 @@ class DummyLinker { return Linker::formatSize( $size ); } - public function titleAttrib( $name, $options = null, array $msgParams = [ ] ) { + public function titleAttrib( $name, $options = null, array $msgParams = [] ) { return Linker::titleAttrib( $name, $options, @@ -491,7 +491,7 @@ class DummyLinker { ); } - public function revDeleteLink( $query = [ ], $restricted = false, $delete = true ) { + public function revDeleteLink( $query = [], $restricted = false, $delete = true ) { return Linker::revDeleteLink( $query, $restricted, @@ -503,7 +503,7 @@ class DummyLinker { return Linker::revDeleteLinkDisabled( $delete ); } - public function tooltipAndAccesskeyAttribs( $name, array $msgParams = [ ] ) { + public function tooltipAndAccesskeyAttribs( $name, array $msgParams = [] ) { return Linker::tooltipAndAccesskeyAttribs( $name, $msgParams