https://bugzilla.wikimedia.org/show_bug.cgi?id=28084
Summary: Create a module for MediaWiki:Filepage.css and use it
Product: MediaWiki
Version: 1.17
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: Images and files
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Blocks: 24415
Instead of
<link rel="stylesheet"
href="http://commons.wikimedia.org/w/index.php?title=MediaWiki:Filepage.css&action=raw&maxage=2678400&usemsgcache=yes&ctype=text%2Fcss&smaxage=2678400"
type="text/css" media="all" />
it should be a call to load.php of the foreign wiki loading module=filepage
with only=styles and in the <head> section of the DOM ( addModuleScripts ).
This way it'll be minified and cached accordingly
See also bug 28083 (Only load it if the page exists / non-empty on the remote
wiki)
--
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