Last modified: 2009-06-23 00:32:49 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 T21165, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 19165 - Pick a single head tag for the Universal Edit Button
Pick a single head tag for the Universal Edit Button
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-06-11 18:45 UTC by Laurence 'GreenReaper' Parry
Modified: 2009-06-23 00:32 UTC (History)
1 user (show)

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


Attachments

Description Laurence 'GreenReaper' Parry 2009-06-11 18:45:51 UTC
The Universal Edit Button code originally added a meta tag similar to the following:

<link rel="alternate" type="application/x-wiki" title="Edit this page" href="/w/index.php?title=Furry_fandom&amp;action=edit" />

A suggestion on the discussion page of the Universal Edit Button website (http://universaleditbutton.org/Talk:Add_The_Link#Linking_Scheme) led to the implementation of a duplicate meta tag to provide the same functionality in r42339, looking something like this:

<link rel="edit" title="Edit this page" href="/w/index.php?title=Furry_fandom&amp;action=edit" />

As $wgUniversalEditButton is on by default, these tags combined take up over 500 bytes in the head of every page rendered by MediaWiki when you have longer, non-English URLs like /w/index.php?title=%D0%92%D0%B8%D0%BA%D0%B8%D0%A4%D1%83%D1%80:%D0%98%D0%BD%D1%84%D0%BE%D1%80%D0%BC%D0%B0%D1%86%D0%B8%D0%BE%D0%BD%D0%BD%D1%8B%D0%B9_%D0%A4%D1%83%D1%80%D1%80%D0%B8-%D0%BF%D0%BE%D1%80%D1%82%D0%B0%D0%BB&action=edit.

While the use of rel="edit" may actually be cleaner, the fact is it is even less of a standard than that supported by the Firefox plugin. If we're going to have one, it would be better to just pick one.
Comment 1 Brion Vibber 2009-06-23 00:32:49 UTC
Back-compat.

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


Navigation
Links