User:DWalden (WMF)/Copy paste diffs/2021-10-05 dwalden
Charter
editTesting different types of wiki, types of edit and using "Show Changes".
Also, if possible, want to test bi-directional content a bit more.
Coverage
editBrowsers | Firefox (78), Chromium (87) |
Languages | https://en.wikisource.beta.wmflabs.org, https://he.wiktionary.beta.wmflabs.org, https://ar.wikipedia.beta.wmflabs.org |
Skins | Vector (new) |
MediaWiki version | 1.38.0-alpha (bf8839c) 07:39, 4 October 2021 |
Notes
editTested a few different types of edits on https://en.wikisource.beta.wmflabs.org.
Removing all the text for a page, I notice that clicking the blank right side of the diff will still lock the selection to the right side, even though there is nothing to select.
If you move a line of text somewhere else, the anchor for the arrow still works (i.e. clicking the arrow will take you to the place where you moved the text to/from).
Selection works across rows separated by "Line #".
I did similar testing on hewiktionary and arwiki, but couldn't find any interesting bi-directional cases.
Bugs
edit- The second time I click on one side of the diff, the
data-selected-side
attribute (which controls which side of the diff the selection is locked to) is removed. So far, I have not observed any bad behaviour as a result of this. - On Chrome on RTL wiki, when starting to select far to the left of the page, it starts its selection at the top right of the page. This bug seems to predate this change. Might be a Chrome RTL-support bug.