https://bugzilla.wikimedia.org/show_bug.cgi?id=71482
Krinkle <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|shared.css gives a 404 |Erwin's tools: Broken |breaking layout. |layour due to shared.css | |404 Not Found --- Comment #2 from Krinkle <[email protected]> --- Loading raw css files hasn't been the standard practice since 2010. Instead of requesting the raw file directly - which is unsupported (MediaWiki can change this at any time with no announcement, this is not a documented interface) - Use ResourceLoader instead, for example: https://bits.wikimedia.org/www.mediawiki.org/load.php?debug=false&lang=en&modules=mediawiki.legacy.shared&only=styles This avoids requesting raw files and forces you to make the same decisions the wiki software does (pick a specific wiki, language and module name). Advantages: * More caching. * Smaller file size (minification). * Officially supported and documented (we'll let you know if it is planned to change, plus migration period). Regardless of whether the wiki upgrades to a newer version and whether the files are moved around internally (or split up into several files), it will continue to work as expected. -- 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
