User:Enterprisey/rename-reason-fixer

From Wikipedia, the free encyclopedia
rename-reason-fixer
Author(s)Enterprisey
StatusStable
UpdatedDecember 8, 2019; 4 years ago (2019-12-08)
Browser supportFirefox
Skin supportVector
SourceUser:Enterprisey/rename-reason-fixer.js

Fixes some templates that used to depend on the REVISIONID magic word so that they continue to have appropriate reason parameters in their links. See this discussion. On the English Wikipedia, this was created for {{Renameuser2}}, {{Usurp2}}, and {{Unblock-un}}.

Installation instructions[edit]

Hint: It's much easier if you get ScriptInstaller, then navigate to User:Enterprisey/rename-reason-fixer.js and click "Install" at the top.

However, here's the manual method:

  1. Place {{subst:iusc|User:Enterprisey/rename-reason-fixer.js}} on Special:MyPage/common.js or a skin-specific page, like Special:MyPage/vector.js.
  2. Clear your cache and enjoy!

If you're not on the English Wikipedia[edit]

mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Enterprisey/rename-reason-fixer.js&action=raw&ctype=text/javascript");

See also[edit]