Gadget - Copy title
· ☕ 8 min read · ✍️ River
A gadget that provides one-click buttons to copy the title or (or pageName) of a MediaWiki page
#vardefine
doesn’t always play nice with the order in which you need to evaluate code. Here are some solutions.
{{#if:{{NAMESPACE}}|<!-- do nothing -->|<!-- otherwise...-->}}