https://bugzilla.wikimedia.org/show_bug.cgi?id=27427
Summary: mw.util.getParamValue returns wrong value if param is only present in hash Product: MediaWiki Version: 1.18-svn Platform: All OS/Version: All Status: NEW Severity: normal Priority: Normal Component: Resource Loader AssignedTo: tpars...@wikimedia.org ReportedBy: listenle...@gmail.com CC: roan.katt...@gmail.com, krinklem...@gmail.com mw.util.getParamValue( "foo", "http://mw.org/#&foo=bad" ) returns 'bad' istead of null. Anchoring the regular expression at the beginning of the string should solve this. -- 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