What is the problem?
On Special:RecentChanges in the MinervaNeue skin, the IPInfo icon appears on the opposite side when compared to other skins and other places (e.g. revision history, Special:Log).
It appears on the left side of the IP in an LTR language and on the right side in an RTL language.
Note: This may only be true for Recent Change entries for edits. For example, it is not the case for entries for blocks.
Steps to reproduce problem
- Make an anonymous edit
- Change your user preference skin to MinervaNeue (i.e. go to Special:Preferences and the "Appearance" tab)
- Go to Special:RecentChanges to see the edit you made in step 1
Environment
Browser: Firefox 78
Wiki(s): https://en.wikipedia.beta.wmflabs.org IP Info 0.0.0 (f689abd) 07:25, 7 January 2022.
Screenshots
Recent Changes on Minerva (in an LTR language; this is the wrong behaviour):
The same edit as it appears in the revision history on Minerva:
Recent Changes on Vector:
Recent Changes entries for a block on Minerva:
To Do
- Investigate if the DOM is different from the default skin. It might be a DOM element placement issue that would be related to this existing ticket. Some things to consider:
- Can we use some other DOM element that is stable between skins?
- Or do we need different scripts depending on the skin? (If so, we could do something like this: https://gerrit.wikimedia.org/r/c/mediawiki/core/+/556485/4/tests/phpunit/includes/resourceloader/ResourceLoaderFileModuleTest.php )
- If it's not a DOM issue, investigate other possibilities
- Fix the icon and verify the change does not have an impact on other skins (especially the default one)