Page MenuHomePhabricator

Set class mw-textarea-cprotected to the textarea on edit page for cascade-protected titles
Closed, ResolvedPublic


Patch for EditPage.php

The textarea on an edit page normally has a class assigned to it when the title is (semi)protected (mw-textarea-sprotected or mw-textarea-protected), but not when the title is cascade-protected. This makes styling of cascade-protected edit pages impossible.

Attached patch will add the mw-textarea-cprotected class in case the title is cascade-protected.

Version: 1.17.x
Severity: normal

attachment EditPage.php.patch ignored as obsolete



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:36 PM
bzimport set Reference to bz29036.
bzimport added a subscriber: Unknown Object (MLST).

Created attachment 8555
Patch for EditPage.php


Thanks for the patch. Applied in r88424.