Last modified: 2012-01-05 16:15:39 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T35456, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33456 - Special Pages in MiserMode should report Manual:$wgQueryCacheLimit
Special Pages in MiserMode should report Manual:$wgQueryCacheLimit
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.20.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-01-01 13:27 UTC by Gregor Hagedorn
Modified: 2012-01-05 16:15 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Gregor Hagedorn 2012-01-01 13:27:04 UTC
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).
Comment 1 Mark A. Hershberger 2012-01-02 02:31:19 UTC
Adding patch keyword because, even though it isn't in the  form of a patch, it could still be considered one.
Comment 2 Bawolff (Brian Wolff) 2012-01-05 14:16:48 UTC
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)
Comment 3 Gregor Hagedorn 2012-01-05 14:39:42 UTC
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."
Comment 4 Bawolff (Brian Wolff) 2012-01-05 16:15:39 UTC
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."

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links