-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Language select allows users to hide foreign languages on multilingual pages. This would, for example, allow a French reader to see only French text on multilingual pages (though they would still see Spanish on a Spanish-only page). (as seen from http://meta.wikimedia.org/wiki/Meta:Language_select )
The feature's been implemented and is currently live on Meta, however, the version control currently is happening privately on my own machine. Since it is licensed under an open license (at least implicitly, since it's been posted on the site), I would like to make the repository public.
I was going to open a SourceForge project, but then it occurred to me that if it was going to be mainly deployed on Wikimedia websites, why not store the code on Wikimedia's SVN server?
So my question is would it be feasible to store the code as an extension Javascript file in the repository? This would mean that if multiple projects wanted to use the code, all they would have to do is include an extra Javascript file, rather than have the entire code copied out on Monobook.js . And also, of course, would it happen?
- -- Edward Z. Yang Personal: edwardzyang@thewritingpot.com SN:Ambush Commander Website: http://www.thewritingpot.com/ GPGKey:0x869C48DA http://www.thewritingpot.com/gpgpubkey.asc 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA
Edward Z. Yang wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Language select allows users to hide foreign languages on multilingual pages. This would, for example, allow a French reader to see only French text on multilingual pages (though they would still see Spanish on a Spanish-only page). (as seen from http://meta.wikimedia.org/wiki/Meta:Language_select )
I'd love to have this in the MediaWiki core, we were discussing just a few days ago how much a feature like this would help Commons. Adding a javascript variable describing the user's currently selected language is on my to do list, for this exact application.
I think we could put a loader stub in wikibits.js and have the bulk of the feature in a separate file, how does that sound?
-- Tim Starling
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
So... who do I ask for Subversion access?
wikitech-l@lists.wikimedia.org