Changes

Jump to navigation Jump to search
m
no edit summary
Line 25: Line 25:  
qId2 = $title2.find( '.wikibase-title-id' ).text().replace( /[()]/g, '' );
 
qId2 = $title2.find( '.wikibase-title-id' ).text().replace( /[()]/g, '' );
   −
var api = new mw.Api();
   
api.get( {
 
api.get( {
 
    action: 'expandtemplates',
 
    action: 'expandtemplates',
    text: '{{Mailto|'+qId2+'}}'
+
    text: '{{MailtoAccess|'+qId2+'}}'
 
} ).done( function ( data ) {
 
} ).done( function ( data ) {
 
    mw.notify( $('<span>Abel\'s <a href="https://wiki.personaldata.io/wiki/User:Abel/experimental.js">experimental script</a>, called from <a href="https://wiki.personaldata.io/wiki/MediaWiki:common.js">sitewide common.js</a>.</span> <a href="'+data.expandtemplates["*"]+'"> Do a SAR to this controller!</a>') , { autoHide: false } );
 
    mw.notify( $('<span>Abel\'s <a href="https://wiki.personaldata.io/wiki/User:Abel/experimental.js">experimental script</a>, called from <a href="https://wiki.personaldata.io/wiki/MediaWiki:common.js">sitewide common.js</a>.</span> <a href="'+data.expandtemplates["*"]+'"> Do a SAR to this controller!</a>') , { autoHide: false } );
530

edits

Navigation menu