User:GhostInTheMachine/GraphicReplyLink

From Wikipedia, the free encyclopedia

GhostInTheMachineTalkAllHelpMiscModulesOtherLayoutPhotosProjectsScriptsTidyingTidyingSDTODOUBXWIP2022-05-27 16:48:34

Purpose[edit]

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[edit]

The script does not change any actions – just the text displayed for the reply link.

Prerequisites[edit]

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

Installing[edit]

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[edit]

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

Alternatives[edit]

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

See also[edit]