dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f884ded
)
Fix r56091: cache URLs with and without ?version separately
author
Roan Kattouw
<catrope@users.mediawiki.org>
Thu, 17 Sep 2009 15:47:44 +0000
(15:47 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Thu, 17 Sep 2009 15:47:44 +0000
(15:47 +0000)
includes/api/ApiMain.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiMain.php
b/includes/api/ApiMain.php
index
779a83c
..
63f90da
100644
(file)
--- a/
includes/api/ApiMain.php
+++ b/
includes/api/ApiMain.php
@@
-559,7
+559,8
@@
class ApiMain extends ApiBase {
$this->mPrinter->setHelp();
// Get help text from cache if present
$key = wfMemcKey( 'apihelp', $this->getModuleName(),
- SpecialVersion::getVersion( 'nodb' ) );
+ SpecialVersion::getVersion( 'nodb' ).
+ $this->getMain()->getShowVersions() );
if ( $wgAPICacheHelp ) {
$cached = $wgMemc->get( $key );
if ( $cached )