https://bugzilla.wikimedia.org/show_bug.cgi?id=27328

--- Comment #20 from Krinkle <krinklem...@gmail.com> 2011-02-14 21:55:47 UTC ---
(In reply to comment #18)
> Page names can also begin with "http://"; or "https://";.
> 
> In JavaScript loading there are importScript("MediaWiki:Page.js"); and
> importScriptURI("http://example.com/script.js";); in legacy JS libs, and in new
> JS libs loading by page name without constructing URLs manually is not
> supported (bug 27281).
> 
> For CSS loading with JavaScript there are
> importStylesheet("MediaWiki:Page.js"); and
> importStylesheetURI("http://example.com/style.css";); but it may be unfriendly
> to people with CSS support but without JavaScript support.

Importing CSS via a shorthand method without JavaScript is indeed not possible,
but please note that hit has never been possible. That's not a regression but a
feature request.

People using relative paths in import with query strings (which is fairly
rare), can simply complete the url.

ie. 


@import
url("?title=MediaWiki:Common.css/Autocount.css&action=raw&ctype=text/css")
screen;

-->

@import
url("/w/index.php?title=MediaWiki:Common.css/Autocount.css&action=raw&ctype=text/css")
screen;

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to