Hi. When moving to a table, a css
.mw-redirect { font-style: italic; }
was lost.
- Open Special:EditWatchlist.
- Find an entry for a redirect.
- Expected: italic link text.
- Got: plain link text.
For example, this page:
Thank you.
| IKhitron | |
| Mar 14 2026, 12:02 PM |
| F73156880: midiawiki-updated-style.png | |
| Mar 19 2026, 5:02 PM |
| F72854548: Screenshot_20260314_140052_Samsung Internet.png | |
| Mar 14 2026, 12:02 PM |
Hi. When moving to a table, a css
.mw-redirect { font-style: italic; }
was lost.
For example, this page:
| Subject | Author | Repo | Branch | Lines +/- | |
|---|---|---|---|---|---|
| Fix mw-redirect styling in Special:EditWatchlist | Shreyansh | mediawiki/core | master | +8 -1 |
Thank you for tagging this task with good first task for Wikimedia newcomers!
Newcomers often may not be aware of things that may seem obvious to seasoned contributors, so please take a moment to reflect on how this task might look to somebody who has never contributed to Wikimedia projects.
A good first task is a self-contained, non-controversial task with a clear approach. It should be well-described with pointers to help a completely new contributor, for example it should clearly point to the codebase URL and provide clear steps to help a contributor get set up for success. We've included some guidelines at https://phabricator.wikimedia.org/tag/good_first_task/ !
Thank you for helping us drive new contributions to our projects <3
Hi, I’ll start working on this task now. I’ll investigate the issue with mw-redirect styling in Special:EditWatchlist and update here with my findings.
Hi, I’ve submitted a patch for this task:
https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1255720
Looking forward to your feedback. Thanks!
Hi, here is the patch demo:
After applying the fix, redirect links in Special:EditWatchlist are now styled correctly using the mw-redirect class (italic text).
As shown in the attached screenshot, the highlighted redirect entry appears in italic, confirming the expected behavior.
Rather looks like not every person has to know what "Patch Demo" implies in Wikimedia slang
Yes, but in this case they could ask, I thought. But maybe you're right. Shreyansh123, if you do not know what it is, I could do it for you in a second if you allow me, or explain you what to do.
Hi! Thanks for your response.
I’m not fully familiar with what “Patch Demo” means in this context.
Could you please explain what exactly is expected? I’d like to learn and do it myself.
Thanks!
Sorry, I missed it earlier.
Patch demo is a Wikitech:Catalyst site at https://patchdemo.wmcloud.org/. You log in, create a new wiki with your patch, open this wiki, add a couple of pages, including redirects, to the watchlist, to be sure your change works.
Change #1255720 had a related patch set uploaded (by Neriah; author: Shreyansh):
[mediawiki/core@master] Fix mw-redirect styling in Special:EditWatchlist