Page MenuHomePhabricator

b24792.patch

Authored By
bzimport
Nov 21 2014, 11:09 PM
Size
733 B
Referenced Files
None
Subscribers
None

b24792.patch

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

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6436
Default Alt Text
b24792.patch (733 B)

Event Timeline