Remove some unneeded local vars from EditPage.php
Looks like a left over from refactoring in r31475 Change-Id: I6ffd2e1db8a842bebc37ce67e6265714258e79f9
This commit is contained in:
parent
820984dd20
commit
c2d4763f6f
1 changed files with 6 additions and 6 deletions
|
|
@ -3446,16 +3446,16 @@ HTML
|
|||
}
|
||||
|
||||
$params = array(
|
||||
$image = $wgStylePath . '/common/images/' . $tool['image'],
|
||||
$wgStylePath . '/common/images/' . $tool['image'],
|
||||
// Note that we use the tip both for the ALT tag and the TITLE tag of the image.
|
||||
// Older browsers show a "speedtip" type message only for ALT.
|
||||
// Ideally these should be different, realistically they
|
||||
// probably don't need to be.
|
||||
$tip = $tool['tip'],
|
||||
$open = $tool['open'],
|
||||
$close = $tool['close'],
|
||||
$sample = $tool['sample'],
|
||||
$cssId = $tool['id'],
|
||||
$tool['tip'],
|
||||
$tool['open'],
|
||||
$tool['close'],
|
||||
$tool['sample'],
|
||||
$tool['id'],
|
||||
);
|
||||
|
||||
$script .= Xml::encodeJsCall( 'mw.toolbar.addButton', $params );
|
||||
|
|
|
|||
Loading…
Reference in a new issue