https://bugzilla.wikimedia.org/show_bug.cgi?id=40284
Web browser: ---
Bug #: 40284
Summary: The CSS of each gadget is included two times
Product: MediaWiki extensions
Version: unspecified
Platform: All
URL: https://test.wikipedia.org/w/index.php?title=TestPage&
action=edit&debug=1
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Gadgets
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
I noticed that when I enable this gadget
https://test.wikipedia.org/wiki/Special:Gadgets/export/EditTools
and go to
https://test.wikipedia.org/w/index.php?title=TestPage&action=edit&debug=1
the HTML source code of the page contains two copies of
https://test.wikipedia.org/w/index.php?title=MediaWiki:Gadget-EditTools.css&oldid=144099
Indeed, searching for elements containing "ext.gadget.EditTools&only=styles" on
Google Chrome 21.0.1180.89 I find:
<link rel="stylesheet"
href="//test.wikipedia.org/w/load.php?debug=true&lang=en&modules=ext.gadget.EditTools&only=styles&skin=vector&*">
and
<link type="text/css" rel="stylesheet"
href="//test.wikipedia.org/w/load.php?debug=true&lang=en&modules=ext.gadget.EditTools&only=styles&skin=vector&version=20120916T155758Z&*">
The same happens for "ext.gadget.hlist-test&only=styles":
<link rel="stylesheet"
href="//test.wikipedia.org/w/load.php?debug=true&lang=en&modules=ext.gadget.hlist-test&only=styles&skin=vector&*">
<link type="text/css" rel="stylesheet"
href="//test.wikipedia.org/w/load.php?debug=true&lang=en&modules=ext.gadget.hlist-test&only=styles&skin=vector&version=20120916T155758Z&*">
--
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