diff options
author | Héctor Arroyo <hector.arroyo@wikimedia.org> | 2025-04-04 14:57:25 +0200 |
---|---|---|
committer | Héctor Arroyo <hector.arroyo@wikimedia.org> | 2025-04-04 17:09:49 +0200 |
commit | b2dab1611fe7eb3888ffec3a860827c22946fa40 (patch) | |
tree | 473fed1a92f32c59d917bbc98c24f3fc80e685b9 /tests/phpunit/includes/resourceloader/ResourceLoaderFileModuleTest.php | |
parent | 95485727e1d333be0995ff8b48b5f6e5593918b2 (diff) | |
download | mediawikicore-b2dab1611fe7eb3888ffec3a860827c22946fa40.tar.gz mediawikicore-b2dab1611fe7eb3888ffec3a860827c22946fa40.zip |
contributions: Use CSS classes for user links
Why:
- Currently, the list of changes provided by ContributionsPager has
links to user pages that start with a separator, then followed by a
link to the user page, then followed by a link to the user talk
page.
- For each row, the link to the user talk page is wrapped in
parenthesis by explicitly adding them to the HTML code. However, that
doesn't work as expected when using the the Minerva skin: The CSS
rules for that skin make the link to be shown out of the parenthesis.
- Moreover, the different parts of each line do not provide CSS classes
indicating their semantic meaning, making it difficult for skins to
modify their appearance.
What:
- Stop providing the parenthesis as part of the HTML output, replacing
them by the usage of semantic CSS classes 'mw-usertoollinks',
'mw-changeslist-links' and 'mw-usertoollinks-talk'.
Bug: T389478
Change-Id: I44cc510eb37458b03c217b91f24eeaa8866e6cfd
Diffstat (limited to 'tests/phpunit/includes/resourceloader/ResourceLoaderFileModuleTest.php')
0 files changed, 0 insertions, 0 deletions