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

--- Comment #1 from Neil Kandalgaonkar <ne...@wikimedia.org> 2011-03-08 
18:10:16 UTC ---
Re: rawurlencode:

Had a look at mediawiki.util.js -- it's got a lot of miscellaneous stuff and
the dependencies pull in a lot of other jQuery modules. There are three methods
which are URI-related 
 - rawurlencode
 - wikiurlencode
 - getParamValue

Seems to me that the right thing is actually to:
- move mw.Uri.js to be a new module, mediaWiki.uri.js, ideally no dependencies
- refactor rawurlencode, and a few other such methods, into mediaWiki.Uri.js.
- refactor/rethink getParamValue, it is way better to do 
    mw.Uri( currentUrl ).query[ 'name' ]

Also see bug #27730 which was discussing yet another method for url
manipulation

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