mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-24 00:05:00 +00:00
Minor code cleanup.
* Remove an unused message. * Remove an unused skin reference which caused notices. Change-Id: I5d051f3a04da089e1789fd785a80c91b5be9a340
This commit is contained in:
parent
fa6dd44957
commit
f311f8bc96
|
@ -21,7 +21,6 @@ $messages['en'] = array(
|
||||||
'scribunto-error-long' => 'Script errors:
|
'scribunto-error-long' => 'Script errors:
|
||||||
|
|
||||||
$1',
|
$1',
|
||||||
'scribunto-common-toofewargs' => 'Lua error: Too few arguments to function $2',
|
|
||||||
'scribunto-common-nosuchmodule' => 'Script error: No such module',
|
'scribunto-common-nosuchmodule' => 'Script error: No such module',
|
||||||
'scribunto-common-nofunction' => 'Script error: You must specify a function to call.',
|
'scribunto-common-nofunction' => 'Script error: You must specify a function to call.',
|
||||||
'scribunto-common-nosuchfunction' => 'Script error: The function you specified did not exist.',
|
'scribunto-common-nosuchfunction' => 'Script error: The function you specified did not exist.',
|
||||||
|
|
|
@ -241,8 +241,6 @@ class Scribunto_LuaError extends ScribuntoException {
|
||||||
if ( !isset( $this->params['trace'] ) ) {
|
if ( !isset( $this->params['trace'] ) ) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
global $wgUser;
|
|
||||||
$skin = $wgUser->getSkin();
|
|
||||||
if ( isset( $options['msgOptions'] ) ){
|
if ( isset( $options['msgOptions'] ) ){
|
||||||
$msgOptions = $options['msgOptions'];
|
$msgOptions = $options['msgOptions'];
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue