https://bugzilla.wikimedia.org/show_bug.cgi?id=67291
Bug ID: 67291
Summary: Creating a link to TitleCase page changes text to
titlecase
Product: MediaWiki extensions
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: ContentTranslation
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected],
[email protected]
Web browser: ---
Mobile Platform: ---
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- } );
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l