Page MenuHomePhabricator

Use monospaced font for diffs of css/js/scribunto pages
Open, Needs TriagePublic


It is easy for the eyes to look at diffs of code pages (CSS/JS/Scribunto/Sanitized-CSS content model) in monospaced font. All code editors by default use monospaced fonts after all. This would be useful across all projects.

While this is simple to achieve with some custom JS, as I suggested at enwiki common.js talk page, TheDJ said that it would be better to apply this via the core software as things that benefit only a small group of users should not require JS on every page of the wiki.

Event Timeline

SD0001 created this task.May 16 2019, 9:37 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 16 2019, 9:37 AM
Izno updated the task description. (Show Details)May 16 2019, 1:14 PM

@SD0001 , At the very least, this should be done with CSS in the page source - not with javascript to insert the styling.