Merge "(bug 45887) Improve error popup discoverability"

This commit is contained in:
jenkins-bot 2013-03-08 18:25:37 +00:00 committed by Gerrit Code Review
commit 2cbaae6673
3 changed files with 8 additions and 1 deletions

View file

@ -71,6 +71,7 @@ $sbtpl = array(
$wgResourceModules['ext.scribunto'] = $sbtpl + array(
'scripts' => 'ext.scribunto.js',
'styles' => 'ext.scribunto.css',
'dependencies' => array( 'jquery.ui.dialog' ),
'messages' => array(
'scribunto-parser-dialog-title'

View file

@ -0,0 +1,7 @@
.scribunto-error {
cursor: pointer;
}
.scribunto-error:hover, .scribunto-error:focus {
text-decoration: underline;
}

View file

@ -25,7 +25,6 @@
}
var errorId = parseInt( matches[1] );
$( span )
.css( 'cursor', 'pointer' )
.bind( 'click', function ( evt ) {
if ( typeof that.errors[ errorId ] !== 'string' ) {
console.log( "mw.scribunto.init: error " + matches[1] + " not found, " +