Last modified: 2011-05-19 19:49:15 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T31036, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29036 - Set class mw-textarea-cprotected to the textarea on edit page for cascade-protected titles
Set class mw-textarea-cprotected to the textarea on edit page for cascade-pro...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
1.17.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-18 15:00 UTC by Erwin Dokter
Modified: 2011-05-19 19:49 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Patch for EditPage.php (514 bytes, application/octet-stream)
2011-05-18 15:00 UTC, Erwin Dokter
Details
Patch for EditPage.php (514 bytes, patch)
2011-05-18 15:01 UTC, Erwin Dokter
Details

Description Erwin Dokter 2011-05-18 15:00:10 UTC
Created attachment 8554 [details]
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.
Comment 1 Erwin Dokter 2011-05-18 15:01:54 UTC
Created attachment 8555 [details]
Patch for EditPage.php
Comment 2 Roan Kattouw 2011-05-19 19:49:15 UTC
Thanks for the patch. Applied in r88424.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links