Changes

Jump to navigation Jump to search
m
Undo revision 2524 by Abel (talk)
Line 9: Line 9:  
   mw.notify( $('<span>Welcome, Abel, your <a href="https://wiki.personaldata.io/wiki/User:Abel/common.js">user script</a> is loading!</span>') );
 
   mw.notify( $('<span>Welcome, Abel, your <a href="https://wiki.personaldata.io/wiki/User:Abel/common.js">user script</a> is loading!</span>') );
   −
  api.get( {
+
var api2 = new mw.Api();
 +
api2.get( {
 
    action: 'expandtemplates',
 
    action: 'expandtemplates',
 
    text: '{{Mailto|'+qId2+'}}'
 
    text: '{{Mailto|'+qId2+'}}'
530

edits

Navigation menu