Last modified: 2011-03-13 18:04:51 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 26785 - Text replacement broken in IE9
Text replacement broken in IE9
Product: MediaWiki extensions
Classification: Unclassified
WikiEditor (Other open bugs)
All All
: Lowest normal (vote)
: ---
Assigned To: Trevor Parscal
Depends on:
Blocks: 640
  Show dependency treegraph
Reported: 2011-01-17 21:39 UTC by Alex Z.
Modified: 2011-03-13 18:04 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Alex Z. 2011-01-17 21:39:08 UTC
In the current IE9 beta, when using the IE9 standards document mode (set with the F12 developer tools), text replacement/insertion does not work correctly. In the wikitext at attempting to link the last word with the link dialog produces:

"... deserunt mollit anim id es[[laborum]]um."

The correct result is:

"... deserunt mollit anim id est [[laborum]]."

The problem seems to be related to the number of line breaks that occur before the text selection. On (with more line breaks), the same attempt produces:

"... deserunt mollit anim[[laborum]] laborum."

A similar result is seen when trying to insert text. When inserting a link to [[Foo]] after the last word, before the period, the result is:

"... deserunt mollit anim id est [[Foo]]laborum ."
Comment 1 Krinkle 2011-01-18 19:40:20 UTC
Could be related to \r\n\ vs. \n.
Haven't investigated deeply yet.
Comment 2 Antoine "hashar" Musso (WMF) 2011-01-19 07:18:59 UTC
Krinkle, do not spend too much time on this : browsers beta always have such bugs.

Alex> please make sure you report this bug to Microsoft.
Comment 3 Krinkle 2011-01-19 12:22:00 UTC
I got the impression it wasn't a beta but yeah IE9 is in beta (Alex even stated so in the opening line). 

/me removes CC.

Note You need to log in before you can comment on or make changes to this bug.