Changes

Jump to navigation Jump to search
no edit summary
Line 5: Line 5:  
  * https://phabricator.wikimedia.org/T107693
 
  * https://phabricator.wikimedia.org/T107693
 
  *
 
  *
  * @author [[User:Efly]]
+
  * @author [https://meta.wikimedia.org/wiki/User:Efly]
 
  */
 
  */
    
( function ( $, mw ) {
 
( function ( $, mw ) {
 
'use strict';
 
'use strict';
   
// To translators:
 
// To translators:
 
// $1 is the original error message (e.g. "No match was found.")
 
// $1 is the original error message (e.g. "No match was found.")
Line 87: Line 86:     
function init() {
 
function init() {
                mw.notify( $('<span>init</span>') );
+
//                mw.notify( $('<span>init Gadget-CreateNewItem</span>') );
 
var currentField = $( 'input' );
 
var currentField = $( 'input' );
 
var willEntitySelectorListUpdate = false;
 
var willEntitySelectorListUpdate = false;
Line 108: Line 107:  
return false;
 
return false;
 
} );
 
} );
$innerA.text( mw.message( 'not-found-message', $innerA.text(), $( '#n-special-newitem' ).text() ) );
+
$innerA.text( mw.message( 'not-found-message', $innerA.text(),  
 +
// $( '#n-special-newitem' ).text()  
 +
"Create New Item"
 +
) );
 
}
 
}
 
}
 
}

Navigation menu