Difference between revisions of "MediaWiki:Access.js"

From Wikibase Personal data
Jump to navigation Jump to search
Line 2: Line 2:
 
var qId = "Q101"
 
var qId = "Q101"
 
var url = "/w/api.php?action=expandtemplates&format=json&text=%7B%7BMailtoAccess%7C" + qId +"%7D%7D&prop=wikitext"
 
var url = "/w/api.php?action=expandtemplates&format=json&text=%7B%7BMailtoAccess%7C" + qId +"%7D%7D&prop=wikitext"
 +
mw.notify(url)

Revision as of 23:39, 29 March 2019

mw.notify( 'Access!', { autoHide: false } );
var qId = "Q101"
var url = "/w/api.php?action=expandtemplates&format=json&text=%7B%7BMailtoAccess%7C" + qId +"%7D%7D&prop=wikitext"
mw.notify(url)