Changes
Jump to navigation
Jump to search
← Older edit
MediaWiki:PopupMenu.js
(view source)
Revision as of 06:01, 25 September 2019
53 bytes removed
,
5 years ago
no edit summary
Line 1:
Line 1:
// License: GPL
// License: GPL
−
console.log( "popupmenu" )
+
var $title = $( '.wikibase-title' ),
var $title = $( '.wikibase-title' ),
qId = $title.find( '.wikibase-title-id' ).text().replace( /[()]/g, '' );
qId = $title.find( '.wikibase-title-id' ).text().replace( /[()]/g, '' );
Line 11:
Line 11:
} ).done( function ( data ) {
} ).done( function ( data ) {
var expanded = data.expandtemplates["*"]
var expanded = data.expandtemplates["*"]
−
console.log(expanded)
+
mw.notify( expanded , { autoHide: false } );
mw.notify( expanded , { autoHide: false } );
} );
} );
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