User:Qwerfjkl/scripts/talkback
< Qwerfjkl's scripts | JS | Base template
This should create links after a link to the user talk page link[note 1] that appears like this: |C|TB, with the first linking to the user's contributions, and the latter giving the option of sending a {{talkback}} notice.[note 2] It also adds a [copy] link next to section headers. This may conflict with User:Writ Keeper/Scripts/teahouseTalkback.js, on which it is based; please disable that script.[note 3]
Testcase: User talk:Example
- ^ Without "/" in the title
- ^ It will add {{Talk header}} to red-linked user pages
- ^ You can use User:Qwerfjkl/scripts/teahouseTalkbackLink.js instead.
Description | Script for quickly adding talkback notices |
---|---|
Author(s) | Qwerfjkl |
Status | Stable |
First released | August 18, 2021 |
Updated | November 22, 2022 |
Skins | Vector 2022 (tested); other skins untested |
Source | User:Qwerfjkl/scripts/talkback.js |
Installation
[edit]Warning: You are not logged in. Please create an account or log in to proceed. After installing the script, bypass your cache.
- Method 1
Click on the button below. If it doesn't appear after a few seconds you can enable script installer in the "Advanced" section of Special:Preferences#mw-prefsection-gadgets, or try this link.
- Method 2
This can only be used on the English Wikipedia.
- Place the following at the bottom of your common.js page or your skin.js page:
importScript('User:Qwerfjkl/scripts/talkback.js'); // [[User:Qwerfjkl/scripts/talkback.js]]
- Press (ignore any error warnings).
- Method 3
This can be used on any Wikimedia project (for instance, globally in your global.js on the Meta-Wiki).
- Place the following on the bottom of your common.js page or your skin.js page:
mw.loader.load('http://en.wiki.x.io/w/index.php?title=User%3AQwerfjkl%2Fscripts%2Ftalkback.js&action=raw&ctype=text/javascript'); // [[User:Qwerfjkl/scripts/talkback.js]]
- Press (ignore any error warnings).