Content deleted Content added
Polygnotus (talk | contribs) ←Created page with '// Add Templates section to 2010 wikitext editor // Place this code in your common.js file $(document).ready(function() { // Only run on edit pages with the 2010 wikitext editor if (mw.config.get('wgAction') === 'edit' && $('#wpTextbox1').length) { // Create the Templates section var templatesSection = $('<div>') .attr('id', 'templates-section') .css({ 'border': '1px solid #a2a9b1',...' |
Polygnotus (talk | contribs) No edit summary |
||
Line 3:
$(document).ready(function() {
// Only run on edit pages with the 2010 wikitext editor during preview and submit
if ((action === 'edit' || action === 'submit') && $('#wpTextbox1').length) {
// Create the Templates section
|