Page MenuHomePhabricator

Semiprotected pages don't have monospace textarea
Closed, ResolvedPublic

Description

https://en.wikipedia.org/w/index.php?title=Leapfrog_sex_position&action=edit does not have a monospace textarea when it should. This applies to both the MonoBook and Vector skins. I think semiprotected pages aren't getting the appropriate CSS class in the HTML output. Semiprotected pages get class="mw-textarea-sprotected" while it should probably be class="mw-textarea-sprotected mw-editfont-monospace"?

Screenshot:

Screen Shot 2016-10-08 at 1.49.17 AM.png (1×2 px, 349 KB)

Compare with the talk page, which is not semiprotected and has a monospace textarea:

Screen Shot 2016-10-08 at 1.49.25 AM.png (1×2 px, 500 KB)

Event Timeline

FYI not reproducing this issue on my own laptop, Win10, Firefox 49.0.1, vector skin

Change 314833 had a related patch set uploaded (by Brian Wolff):
Fix merging of class attribute on edit page textbox

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

Change 314833 merged by jenkins-bot:
Fix merging of class attribute on edit page textbox

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

matmarex assigned this task to Bawolff.
matmarex removed a project: Patch-For-Review.