Anonymous

User:Ricewind/common.js: Difference between revisions

From Melvor Idle
Created page with "$(document).ready(function() { // Create subpage link functionality function createSubpage() { var subpageTitle = prompt('Enter subpage title:'); if (!subpageTitle) return; var encodedTitle = encodeURIComponent(subpageTitle.trim()); var link = mw.config.get('wgScriptPath') + '/index.php?title=' + mw.config.get('wgPageName') + '/' + encodedTitle + '&action=edit&preload=Template:MoneyMakingGuide'; window.location.href = link;..."
(Created page with "$(document).ready(function() { // Create subpage link functionality function createSubpage() { var subpageTitle = prompt('Enter subpage title:'); if (!subpageTitle) return; var encodedTitle = encodeURIComponent(subpageTitle.trim()); var link = mw.config.get('wgScriptPath') + '/index.php?title=' + mw.config.get('wgPageName') + '/' + encodedTitle + '&action=edit&preload=Template:MoneyMakingGuide'; window.location.href = link;...")
(No difference)
2,874

edits