Expose bugzil.la short URL in page header

VERIFIED FIXED

Status

()

bugzilla.mozilla.org
General
VERIFIED FIXED
8 years ago
7 years ago

People

(Reporter: wenzel, Assigned: reed)

Tracking

Details

(Reporter)

Description

8 years ago
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
(Assignee)

Comment 1

8 years ago
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
(Assignee)

Comment 2

8 years ago
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
Last Resolved: 8 years ago
Resolution: --- → FIXED
(Reporter)

Comment 3

8 years ago
Hot, thanks Reed! When can we expect to see this live?
(Assignee)

Comment 4

8 years ago
(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.

Comment 5

8 years ago
(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!
(Assignee)

Comment 6

8 years ago
(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.
(Reporter)

Comment 7

8 years ago
And it works, great!
Status: RESOLVED → VERIFIED
(Assignee)

Comment 8

8 years ago
(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.