Last modified: 2007-09-15 16:09:53 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 11351 - The source-languagename class on a <pre> tag generated by a <source> tag has inconsistent capitalisation
The source-languagename class on a <pre> tag generated by a <source> tag has ...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Highlight (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Rob Church
http://en.wikipedia.org/wiki/User:ais...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-09-15 16:00 UTC by ais523
Modified: 2007-09-15 16:09 UTC (History)
0 users

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


Attachments

Description ais523 2007-09-15 16:00:07 UTC
The following MediaWiki wikimarkup:

<source lang="javascript">
/* This comment is inside a source tag with lang="javascript". */
</source>

<source lang="Javascript">
/* This comment is inside a source tag with lang="Javascript". */
</source>

leads to the following HTML output (if the Highlight extension is installed):

<div dir="ltr">
<pre class="source-javascript">
<span class="coMULTI">/* This comment is inside a source tag with lang="javascript". */</span>
</pre></div>
<div dir="ltr">
<pre class="source-Javascript">
<span class="coMULTI">/* This comment is inside a source tag with lang="Javascript". */</span>
</pre></div>

The problem is that capitals in the lang parameter seem to end up as capitals in the <pre> that the <source> tag generates; this inconsistency makes it harder to specify language styling in [[MediaWiki:Geshi.css]]. The class name should probably be forced to lowercase.
Comment 1 Rob Church 2007-09-15 16:09:53 UTC
Fixed in r25873; now normalising language name.

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


Navigation
Links