Last modified: 2007-01-15 16:31:28 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 T10643, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 8643 - Different (and wrong) page-specific CSS class in Standard skin
Different (and wrong) page-specific CSS class in Standard skin
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Normal minor with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/%C5%BD?u...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-01-15 13:23 UTC by Mormegil
Modified: 2007-01-15 16:31 UTC (History)
1 user (show)

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


Attachments

Description Mormegil 2007-01-15 13:23:51 UTC
Every page contains a CSS class containing the page title, e.g. "page-Foobar"
(see bug 5795). However, because the behavior is implemented in (at least) two
places, the generated class names differ between skins. In Monobook, the
behavior is correct, but in Standard, the class is escaped wrongly, using
escapeId instead of escapeClass, so that the class name can contain dots (which
is, while syntactically valid, unusable in CSS selectors).

See r17120, esp. the non-change in Skin.php, where escapeId should have been
changed to escapeClass.
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-01-15 16:30:46 UTC
Thanks for the report!  Fixed in r19299.

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


Navigation
Links