Page MenuHomePhabricator

Equal handling of text and summary messages for special pages
Closed, InvalidPublic

Description

Author: z9z8z-wps

Description:
MediaWiki:Perfcachedts is placed on special pages that display cached data to display a timestamp that informs the user about the age of this
data.

The message is placed above the page summary in

Special:Disambiguations
Special:DoubleRedirects
Special:BrokenRedirects
Special:Unusedtemplates
Special:Deadendpages
Special:Lonelypages

and below the summary in

Special:Mostrevisions
Special:Wantedcategories
Special:Wantedpages
Special:Mostlinked
Special:Shortpages
Special:Longpages
Special:Ancientpages
Special:Mostcategories
Special:Mostimages
Special:Mostlinkedcategories
Special:Uncategorizedpages
Special:Uncategorizedimages
Special:Uncategorizedcategories
Special:Listredirects
Special:Unwatchedpages

I do not find a summary message for Special:CrossNamespaceLinks.

For consistency please change the placement of perfcachedts so that it will always appear below the summary and above the data.


Version: unspecified
Severity: normal

Details

Reference
bz7609

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 9:28 PM
bzimport set Reference to bz7609.
bzimport added a subscriber: Unknown Object (MLST).

ayg wrote:

It always appears above the summary for me.

z9z8z-wps wrote:

Well hm ... I forgot to provide some proof:

Cache info above summary: http://de.wikipedia.org/wiki/Spezial:Lonelypages

Cache info below summary: http://de.wikipedia.org/wiki/Spezial:Mostlinked

And whatever the outcome of this is, I strongly favor to see the summary first.

jimmy.collins wrote:

(In reply to comment #0)

Special:Disambiguations
Special:DoubleRedirects
Special:BrokenRedirects
Special:Unusedtemplates
Special:Deadendpages
Special:Lonelypages

In this cases not the '*-summary' messages are used (f.e. 'unusedtemplatestext'
instead 'unusedtemplates-summary').

z9z8z-wps wrote:

Thanks, I must have missed that reading the manual.

Perhaps there could be empty fields in Special:Allmessages to show there's an unassigned message.

jimmy.collins wrote:

Done in r17224.

Please verify [[MediaWiki:Disambiguations-summary]], parameter $1 does not work
like in [[MediaWiki:Disambiguationstext]]

z9z8z-wps wrote:

It does not.
It appears the XXX-summary messages are all generated the same way in SpecialPage.php while the XXXtext messages are done separately in
each SpecialXXX.php allowing to pass individual parameters to them.

It would be desirable to have the same parameters working in both messages for all Special pages of this kind. And while I am looking at it:
The limit of apparently 1000 entries for these lists should be a parameter as well and not be hardcoded in the message text.

(Changing summary from "Consistent placement of perfcachedts message" to "Equal handling of text and summary messages for special
pages")

robchur wrote:

Note: Special:Crossnamespacelinks comes from an extension which isn't aware of
the new querycache_info table.

Can someone sum up what needs to be done to fix this bug?

Jdlrobson subscribed.

9 years later, still very unclear and inactionable T9609#124970