https://bugzilla.wikimedia.org/show_bug.cgi?id=19165

       Web browser: ---
           Summary: Pick a single head tag for the Universal Edit Button
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: Page rendering
        AssignedTo: [email protected]
        ReportedBy: [email protected]


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.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to