Page MenuHomePhabricator

Special Pages in MiserMode should report Manual:$wgQueryCacheLimit
Closed, ResolvedPublic

Description

Special Pages that are cached display the information:

The following information is cached, and was last updated 16:04, 31 December 2011.

However they omit the information, that only a limited number of records is available. This leads to http://en.wikipedia.org/w/index.php?title=Special:WantedFiles&limit=500&offset=999

Enhancement proposal: Change MediaWiki:perfcachedts from

"The following data is cached, and was last updated $1."

to

"The following information is cached, and was last updated $1. Only the first $2 applicable records are available in the cache."

with $2 being $wgQueryCacheLimit.

(English Wikipedia has overridden this message: "The following information is cached, and was last updated $1. Discuss this [[Help:Special page|special page]] at [[Wikipedia talk:Special:{{PAGENAME}}]]. ''See also:'' [[Template:Specialpageslist|Specialpageslist]] with editable versions." - would need to be updated).


Version: 1.20.x
Severity: enhancement

Details

Reference
bz33456

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:04 AM
bzimport set Reference to bz33456.
bzimport added a subscriber: Unknown Object (MLST).

Adding patch keyword because, even though it isn't in the form of a patch, it could still be considered one.

I'd prefer the wording to be something that implies at most $wgQueryCacheLimit results are available. Its quite possible that there exists less than $wgQueryCacheLimit results in total, especially on smaller wikis. However, I'm having trouble coming up with a suitable sentence. "The following information is cached, and was last updated $1 with at most the first $4 results being available" is the best I can think of, but sounds run-on-ish.

(As an aside, it would have to be $4 instead of $2. $2 and $3 are already taken for that message. It can be $1 for the 'perfcached' (no timestamp) message though)

Perhaps:

"The following information is cached, and was last updated $1. No more than $4 records are available in the cache."

or

"The following information is cached, and was last updated $1. A maximum of $4 records are available in the cache."

Done r108147. I went with: "The following data is cached, and was last updated $1. A maximum of $4 results are available in the cache."