https://bugzilla.wikimedia.org/show_bug.cgi?id=29720
Web browser: ---
Bug #: 29720
Summary: Duplicate CSS declarations while using root URLs
Product: MediaWiki
Version: 1.17.0
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: Unprioritized
Component: Resource Loader
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Created attachment 8741
--> https://bugzilla.wikimedia.org/attachment.cgi?id=8741
fix
For some reason, on my wiki there were four, exactly identical CSS declarations
like <link rel="stylesheet"
href="/load.php?debug=false&lang=it&modules=site&only=styles&skin=vector&*"
/>. The cause of this, I was told on #mediawiki, is probably that I'm using
root URLs (example.com/Page). However, I was able to fix this issue by adding
an array_unique function (see attached patch).
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l