User:Ohconfucius/script/flagcruft.js: Difference between revisions

Content deleted Content added
flagicon (optional "image")
another addportletlink breakage.
Line 341:
}
addOnloadHook$.when(mw.loader.using('mediawiki.util'), $.ready).done(function () {
if(document.forms.editform) {
mw.util.addPortletLink('p-tb', 'javascript:ohc_flagcruft_driver()', 'FLAGCRUFT', 'cruft', 'cruft', '', '');
mw.util.addPortletLink('p-tb', 'javascript:ohc_flagwimbledon1()', 'FLAGWIMBLEDON', 'use template with country identifier', 'cruft', '', '');
mw.util.addPortletLink('p-tb', 'javascript:ohc_flagwimbledon2()', 'FLAGWIMBLEDON', 'use template with country identifier', 'cruft', '', '');
mw.util.addPortletLink('p-tb', 'javascript:Ohc_flag_to_country()', 'FLAG->COUNTRY', 'cruft', 'cruft', '', '');
 
}