https://bugzilla.wikimedia.org/show_bug.cgi?id=30198
Web browser: ---
Bug #: 30198
Summary: Empty img tag for copyright icon causes performance
problem
Product: MediaWiki
Version: 1.17
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: User interface
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
In monobook skin, the following div gets produced at the bottom of each page if
the site has no copyright icon assigned:
<div id="f-copyrightico">
<img src="" alt="1" width="88" height="31" />
</div>
Because the img "src" value is the empty string, this causes a redundant HTTP
GET request to the current page. This tries to load the current page as an
image resource, which seems to impact performance, particularly on the edit
page in IE8 (where we see a pause due to trying to load this image).
Correct behavior: if there is no icon image, this div should not be rendered at
all.
This might be related to bug 26921: I don't know.
Shared credit goes to Jimbo Wilson for finding this bug.
--
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