User:Justlettersandnumbers/common.js: Difference between revisions
Appearance
Content deleted Content added
Pathoschild (talk | contribs) m updated link |
Cat-a-lot |
||
Line 12: | Line 12: | ||
]); |
]); |
||
}); |
}); |
||
{{subst:iusc|User:קיפודנחש/cat-a-lot.js}} |
Revision as of 00:38, 8 December 2014
importScript('User:Dr pda/prosesize.js'); //[[User:Dr pda/prosesize.js]]
/**
* TemplateScript adds configurable templates and scripts to the sidebar, and adds an example regex editor.
* @see https://meta.wikimedia.org/wiki/TemplateScript
*/
// <pre>
$.getScript('//tools.wmflabs.org/meta/scripts/pathoschild.templatescript.js', function() {
pathoschild.TemplateScript.Add([
{ name: 'welcome', template: '{{subst:welcome}} ~~~~', position: 'after', editSummary: 'welcome!', forNamespaces: 3, forActions: 'edit' },
// add your own templates or scripts here
]);
});
{{subst:iusc|User:קיפודנחש/cat-a-lot.js}}