CopyTitle
Description
Adds buttons to copy a page's title (with or without the namespace)
Updated
November 11, 2025
English (en) العربية (ar) Deutsch (de) Ελληνικά (el) français (fr) हिन्दी (hi) português do Brasil (pt-br) русский (ru) Tagalog (tl) Türkçe (tr) українська (uk) Tiếng Việt (vi) 中文(简体) (zh-hans) 中文(繁體) (zh-hant) Translate! [
View ]
CopyTitle adds buttons next to the title of pages allowing you to copy either just the title (top button) or the title with namespace (bottom button, only on non-mainspace pages).
Installation
importArticles:
Add this JavaScript on your wiki (or add the highlighted text to your existing import statement):
importArticles ({ type : 'script' , articles : [ 'u:dev:MediaWiki:CopyTitle.js' , ] });
Local:
Special:MyPage/common.js
Importing multiple scripts? This quick guide shows how to combine the imports. For personal use, note that personal JS must be enabled for your account.
Text above can be found
here (edit )