Changes
Jump to navigation
Jump to search
← Older edit
MediaWiki:Gadget-EasyQuery.js
(view source)
Revision as of 23:28, 17 February 2020
70 bytes added
,
4 years ago
no edit summary
Line 7:
Line 7:
function createPopupAndAddIcon( element, url, title, label ) {
function createPopupAndAddIcon( element, url, title, label ) {
−
mw.loader.using( [ 'oojs-ui-core', 'oojs-ui-widgets' ] ).then( function () {
+
mw.loader.using( [ 'oojs-ui-core', 'oojs-ui-widgets
', 'oojs-ui.styles.icons-interactions
' ] ).then( function () {
var searchIcon = new OO.ui.IconWidget( {
var searchIcon = new OO.ui.IconWidget( {
icon: 'ellipsis',
icon: 'ellipsis',
Line 105:
Line 105:
qid = amount;
qid = amount;
} else {
} else {
+
qLabel = $( this ).text();
qid = '"' + qLabel + '"';
qid = '"' + qLabel + '"';
}
}
Podehaye
Bureaucrats
, editors,
Interface administrators
,
Ninjas
, nuke,
Administrators
,
Widget editors
15,627
edits
Navigation menu
Personal tools
Log in
Request account
Namespaces
Message
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
New Item
New Property
All items
All properties
All pages
Active Users
SAR service dev
Query Service
Maintenance
Administrator
Tools
Special pages
Printable version
Interaction
Community portal
WebXray
Recent changes
Contact Page
Telegram
Discourse forum
MyData Slack