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

--- Comment #5 from mybugs.m...@gmail.com 2011-10-12 12:11:24 UTC ---
Now that we have "Native HTTPS support enabled for all Wikimedia Foundation
wikis"[1], could you try to fix this bug at least for the new
https://*.wikipedia.org addresses?

I think the regex from [2]
/^(http):\/\/[A-Za-z]+\.(wikipedia.org)/

could be changed to
/^(https?):\/\/[A-Za-z\-]+\.(wikipedia.org)/

(notice that the inclusion of the "-" in the character class is necessary for
wikis such as
http://roa-rup.wikipedia.org/
http://be-x-old.wikipedia.org/
http://zh-yue.wikipedia.org/
http://bat-smg.wikipedia.org/
)

Besides, the instructions for "Installing WikiBhasha beta as a Wikipedia
Gadget"[3] should be updated to use protocol relative URLs and mw.loader.load
(because importScriptURI is deprecated[4]), as in:

mw.loader.load(
'//en.wikipedia.org/w/index.php?title=User:WikiBhasha.MSR/WikiBhasha.js&action=raw&ctype=text/js&smaxage=21600&maxage=86400'
);

[1]
http://blog.wikimedia.org/2011/10/03/native-https-support-enabled-for-all-wikimedia-foundation-wikis/
[2] http://www.wikibhasha.org/js/main.js
[3] http://www.wikibhasha.org/wikibhasha/install.htm
[4] http://www.mediawiki.org/wiki/RL/JD#wikibits.js

-- 
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