Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F6898
b24792.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
•
bzimport
Nov 21 2014, 11:09 PM
2014-11-21 23:09:43 (UTC+0)
Size
733 B
Referenced Files
None
Subscribers
None
b24792.patch
View Options
Index: ApiMain.php
===================================================================
--- ApiMain.php (revision 74738)
+++ ApiMain.php (working copy)
@@ -805,10 +805,10 @@
* Override the parent to generate help messages for all available modules.
*/
public function makeHelpMsg() {
- global $wgMemc, $wgAPICacheHelp, $wgAPICacheHelpTimeout;
+ global $wgMemc, $wgAPICacheHelp, $wgAPICacheHelpTimeout, $wgUser;
$this->setHelp();
// Get help text from cache if present
- $key = wfMemcKey( 'apihelp', $this->getModuleName(),
+ $key = wfMemcKey( 'apihelp', $this->getModuleName(), $wgUser->isAnon(),
SpecialVersion::getVersion( 'nodb' ) .
$this->getMain()->getShowVersions() );
if ( $wgAPICacheHelp ) {
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6436
Default Alt Text
b24792.patch (733 B)
Attached To
Mode
T26792: API help caching doesn't vary on $wgUser->isAnon(), causes staleness
Attached
Detach File
Event Timeline
Log In to Comment