Jump to content

User:GhostInTheMachine/GraphicReplyLink

From Wikipedia, the free encyclopedia
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

GhostInTheMachineTalkAllBarnstarsHelpMiscModulesOtherLayoutPhotosProjectsScriptsTidyingTidyingSDUBXWIP2024-08-11 12:47:02

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