Last modified: 2012-10-23 17:21:34 UTC
I don't understand the intent of the case-munging code in experiments/communityClicks.js. Given the page https://www.mediawiki.org/wiki/Requests_for_comment/Account_creation mw.config.get( 'wgTitle' ) -> "Requests for comment/Account creation" toTitleCase( mw.config.get( 'wgTitle' ) ) -> "Requests For Comment/account Creation" , which won't work as a wiki link. generatePageEventName( 'click' ) -> "requestsForComment/accountCreationClick" Could mw.config.get( 'wgRelevantPageName' ) as used in experiments/trackEdits.js replace this code ? That produces -> "Requests_for_comment/Account_creation" I'd love to write tests for it if I knew what it was trying to do ;-)
Code obsoleted.