dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Removed half-assed $wgDBtransactions global."
[lhc/web/wiklou.git]
/
includes
/
Wiki.php
diff --git
a/includes/Wiki.php
b/includes/Wiki.php
index
08e06ea
..
7efb082
100644
(file)
--- a/
includes/Wiki.php
+++ b/
includes/Wiki.php
@@
-482,9
+482,7
@@
class MediaWiki {
$action = Action::factory( $act, $page );
if ( $action instanceof Action ) {
$action = Action::factory( $act, $page );
if ( $action instanceof Action ) {
- # When it's a known action, let Squid cache things if we can purge them.
- # If the action is unknown, we don't know what may happen in an extension,
- # but not caching can be always safe.
+ # Let Squid cache things if we can purge them.
if ( $wgUseSquid &&
in_array( $request->getFullRequestURL(), $title->getSquidURLs() )
) {
if ( $wgUseSquid &&
in_array( $request->getFullRequestURL(), $title->getSquidURLs() )
) {