Last modified: 2014-07-22 14:33:06 UTC
1) Go to any Special:CX page with article 2) In translation column, type in Finland 3) Select the word 4) Add link Observed: The text now says "finland" Expected: The text remains "Finland" with link added This is because the string is lowercased (without explanation) at modules/source/ext.cx.source.js 141- var selection = window.getSelection().toString(); 142- if ( selection ) { 143: mw.hook( 'mw.cx.select.word' ).fire( selection.toLowerCase() ); 144- } 145- } );
Change 147078 had a related patch set uploaded by Santhosh: Do not make the selection lowercase while passing to hook https://gerrit.wikimedia.org/r/147078
Change 147078 merged by jenkins-bot: Do not make the selection lowercase while passing to hook https://gerrit.wikimedia.org/r/147078