Jump to content

User:GhostInTheMachine/GraphicReplyLink

From Wikipedia, the free encyclopedia

This is the current revision of this page, as edited by GhostInTheMachine (talk | contribs) at 12:47, 11 August 2024 (use t/script). The present address (URL) is a permanent link to this version.

(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

GhostInTheMachineTalkAllHelpMiscModulesOtherLayoutPhotosProjectsScriptsTidyingTidyingSDTODOUBXWIP2024-08-11 12:47:02

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]