Page MenuHomePhabricator

Enable syntax highlighting on Special:MassMessage
Closed, ResolvedPublic

Description

"Body of the message" field takes in wikitext. This is usually long-form, so could benefit from syntax highlighting, potentially reducing lint errors introduced via mass messages that need to be cleaned up by bots.

Screenshot 2025-07-17 at 12.30.39 PM.png (1×1 px, 436 KB)

Event Timeline

Change #1192671 had a related patch set uploaded (by Bhsd; author: Bhsd):

[mediawiki/extensions/CodeMirror@master] Hooks: allow extensions to load CodeMIrror on special pages

https://gerrit.wikimedia.org/r/1192671

Change #1192887 had a related patch set uploaded (by Bhsd; author: Bhsd):

[mediawiki/extensions/MassMessage@master] CodeMirrorHooks: load CodeMirror on Special:MassMessage

https://gerrit.wikimedia.org/r/1192887

Change #1197050 had a related patch set uploaded (by MusikAnimal; author: MusikAnimal):

[integration/config@master] zuul: add CodeMirror as a Phan dependency for MassMessage

https://gerrit.wikimedia.org/r/1197050

Change #1192671 merged by jenkins-bot:

[mediawiki/extensions/CodeMirror@master] Hooks: allow extensions to load CodeMIrror on special pages

https://gerrit.wikimedia.org/r/1192671

Change #1197050 merged by jenkins-bot:

[integration/config@master] zuul: add CodeMirror as a Phan dependency for MassMessage

https://gerrit.wikimedia.org/r/1197050

Change #1192887 merged by jenkins-bot:

[mediawiki/extensions/MassMessage@master] CodeMirrorHooks: load CodeMirror on Special:MassMessage

https://gerrit.wikimedia.org/r/1192887

@SD0001 Could you confirm the state of this task?

@SD0001 Could you confirm the state of this task?

Works for me. This is great, thanks. There have been many bot tasks on enwiki to clean up botched mass messages. Hopefully they won't be needed now.

Screenshot 2025-11-02 at 9.02.30 AM.png (1×1 px, 115 KB)