Special:SpecialPages should show if such special page is out of use.
Typically Special:WantedPages is off, thus there should be some notice about that on Special:SpecialPages, say:
- Wanted pages (off)
Version: unspecified
Severity: enhancement
Danny_B | |
Jun 25 2008, 5:26 PM |
F4869: 14645.patch | |
Nov 21 2014, 10:10 PM |
Special:SpecialPages should show if such special page is out of use.
Typically Special:WantedPages is off, thus there should be some notice about that on Special:SpecialPages, say:
Version: unspecified
Severity: enhancement
Functional patch v1
My first attempt to hack MW, feel free to adjust / reject / laugh at it at will.
In short, it moves over to a semantically valid CSS-only markup, then readds the bolding for restricted pages and adds a new class for cache-only pages. Then it adds italics as the default styling for these.
It could just as easily leave them un-styled by default, but I suppose then the new default notes message might look a little odd.
attachment 14645.patch ignored as obsolete
OK, tested the patch. Found a few small issues:
(Also, ideally the message would be split so that we could only show the parts matching pages actually present in the list, but I think it's good enough as it is.)
Patch v2
Thanks for the review. Yes, I was going to implement an OR feature for showing the notes, seems reasonable (obviously forgot).
attachment 14645.patch ignored as obsolete
Patch v3
Oops. Meant to attach this one instead. Sorry all.
attachment 14645.patch ignored as obsolete
Patch v4
Okay, this is definitely the patch I meant to attach this time. I think. :)
Attached:
Applied with a few tweaks in r83554. I decided to move the isExpensive() method up to the SpecialPage class and get rid of the method_exists() kluge -- it's IMO more elegant this way.
Oh, and thanks!