Closed
Bug 289809
Opened 20 years ago
Closed 20 years ago
Devmo Wiki underscore hack needed for page title display
Categories
(developer.mozilla.org Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: deb, Assigned: shaver)
Details
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2 StumbleUpon/1.9991 Build Identifier: Akin to the breadcrumbs extension, we need some sort of extension that allows for the display of underscores in page titles. An example of the problem that this would address is here: http://developer-test.mozilla.org/docs/Core_JavaScript_1.5_Reference:Objects:Number:MAX_VALUE The actual page name is fine, as there is an underscore in the "MAX_VALUE" part of the URL. The problem is that when the page name is displayed on the page, the underscore is removed and replaced with a space. Thus "MAX_VALUE" becomes "MAX VALUE". Obviously, this is sub-optimal. To sort this out, I was thinking we could have an extension that behaved thus: If "<title></title>" is encountered in the body of the page, it replaces the tag with the last part of the page name. For example, in a page named "Core JavaScript 1.5 Reference:Objects:Number", the "<title></title>" would be replaced by "Number". If the title element contained text, however, that text would be displayed instead of the last part of the page name, including any underscores included in that text. So, "<title>MAX_VALUE</title>" would be replaced with "MAX_VALUE" and the underscore would be displayed. Reproducible: Always
| Reporter | ||
Updated•20 years ago
|
Assignee: deb → shaver
| Reporter | ||
Updated•20 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Updated•19 years ago
|
Component: developer.mozilla.org → Infrastructure
Product: mozilla.org → Mozilla Developer Center
QA Contact: deb → infrastructure
Version: other → unspecified
Updated•12 years ago
|
Component: Deki Infrastructure → Other
Updated•4 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•