17,233
edits
mNo edit summary |
(load mediawiki.util) |
||
Line 8: | Line 8: | ||
// @todo: Use mw.msg when Gadgets 2.0 is out and messages can be loaded | // @todo: Use mw.msg when Gadgets 2.0 is out and messages can be loaded | ||
mw.util.addPortletLink( | mw.loader.using(['mediawiki.util']).then(function() { | ||
mw.util.addPortletLink( | |||
'p-cactions', | |||
mw.util.wikiGetlink( 'Special:Block/' + title ), | |||
); | 'Block', 't-blockip', 'Block "' + title + '"' | ||
); | |||
}); | |||
}); | }); |