User:The Transhumanist/QuickPortal.js: Difference between revisions

Content deleted Content added
use redir instead
use redir (bpsp) because it is shorter
Line 141:
var wpTextbox1 = document.getElementById('wpTextbox1');
 
// Insert \{\{subst:Basic portal start pagebpsp\}\} into the editing box
// The following is a modification from "Your first script" in
// https://en.wikipedia.org/w/index.php?title=Wikipedia:User_scripts/Guide&oldid=852316213
 
document.editform.wpTextbox1.value = "{" + "{subst:Basic portal start pagebpsp}}" + "[" + "[Category:Portals needing placement of incoming links]]";
 
// Generate a preview of the page.