User:GhostInTheMachine/GraphicReplyLink

From WikiProjectMed
Jump to navigation Jump to search

GhostInTheMachineTalkAllHelpMiscModulesOtherLayoutPhotosProjectsScriptsTidyingTidyingSDTODOUBXWIP2022-05-27 16:48:34

Purpose

The Reply tool was enabled by default for everybody on Monday, 7 March 2022. See Wikipedia:Village_pump_(proposals)#Offering_the_Reply_Tool_as_an_opt-out_feature.

This script replaces the reply link (currently the dull text โ€” [ Reply ] ) with a better-looking graphic โ€“ the Speech balloon emoji โ€” ๐Ÿ’ฌ.

Use

The script does not change any actions โ€“ just the text displayed for the reply link.

Prerequisites

The script probably only works on Vector. I have not tried it on other skins or on Evil Vector.

Installing

Add the following line to your common.js file.

{{subst:Lusc|User:GhostInTheMachine/GraphicReplyLink.js}}

Add the following line for elsewhere

mw.loader.load( '/w/index.php?title=User:GhostInTheMachine/GraphicReplyLink.js&action=raw&ctype=text/javascript' ); // Backlink: User:GhostInTheMachine/GraphicReplyLink.js

Notes

The code for this script was copied from WP:Talk pages project ยง Changing the reply label.

Alternatives

Just add the three lines of code directly in the common.js

See also