Closed Bug 582699 Opened 14 years ago Closed 14 years ago

Expose bugzil.la short URL in page header

Categories

(bugzilla.mozilla.org :: General, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: wenzel, Assigned: reed)

Details

We have short URL that automatically works for any bug.

If you expose it in the page header using: link rev="canonical" href="http://..." an extension like mine [1] can pick it up automatically.

I know that the short URL header has not been sufficiently standardized yet, but if you are worried about that you could add all three options (for an example, look at the HTML header in [2]), otherwise just go for:

<link id="shorturl" rev="canonical" href="...">

which is what flickr uses on its picture pages.


[1] https://addons.mozilla.org/en-US/firefox/addon/197224/
[2] http://arstechnica.com/gadgets/news/2010/07/developers-increasingly-have-android-on-the-brain.ars
Committing to: bzr+ssh://bzr.mozilla.org/bmo/3.6/
added extensions/bmoheader
added extensions/bmoheader/template                                            
added extensions/bmoheader/template/en
added extensions/bmoheader/template/en/default
added extensions/bmoheader/template/en/default/hook
added extensions/bmoheader/template/en/default/hook/global
added extensions/bmoheader/template/en/default/hook/global/additional_header.html.tmpl
modified template/en/default/global/header.html.tmpl
Committed revision 7189.
Assignee: nobody → reed
Status: NEW → ASSIGNED
Committing to: bzr+ssh://bzr.mozilla.org/bmo/3.6/
renamed extensions/bmoheader => extensions/BMOHeader
added extensions/BMOHeader/Config.pm
added extensions/BMOHeader/Extension.pm
renamed extensions/bmoheader/template/en/default/hook/global/additional_header.html.tmpl => extensions/BMOHeader/template/en/default/hook/global/additional_header.html.tmpl
Committed revision 7191.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Hot, thanks Reed! When can we expect to see this live?
(In reply to comment #3)
> Hot, thanks Reed! When can we expect to see this live?

Hopefully later today... I need Dave to do a pull for some changes related to bug 593018.
(In reply to comment #4)
> (In reply to comment #3)
> > Hot, thanks Reed! When can we expect to see this live?
> 
> Hopefully later today... I need Dave to do a pull for some changes related to
> bug 593018.

Could you please put a note in the bug when it's live?  Thanks!
(In reply to comment #5)
> Could you please put a note in the bug when it's live?  Thanks!

It's live.

Just as a side note, I'm working on adding SSL support for bugzil.la.
Should have it soon, if everything works out.
And it works, great!
Status: RESOLVED → VERIFIED
(In reply to comment #6)
> Just as a side note, I'm working on adding SSL support for bugzil.la.
> Should have it soon, if everything works out.

All done. https://bugzil.la works fine now. :)
Component: Bugzilla: Other b.m.o Issues → General
Product: mozilla.org → bugzilla.mozilla.org
You need to log in before you can comment on or make changes to this bug.