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:
35a8661
)
added manual purge action
author
Gabriel Wicke
<gwicke@users.mediawiki.org>
Sat, 13 Mar 2004 16:09:00 +0000
(16:09 +0000)
committer
Gabriel Wicke
<gwicke@users.mediawiki.org>
Sat, 13 Mar 2004 16:09:00 +0000
(16:09 +0000)
index.php
patch
|
blob
|
history
diff --git
a/index.php
b/index.php
index
584e555
..
66a5845
100644
(file)
--- a/
index.php
+++ b/
index.php
@@
-125,6
+125,11
@@
if ( $search = $wgRequest->getText( 'search' ) ) {
$history = new PageHistory( $wgArticle );
$history->history();
break;
+ case "purge":
+ wfPurgeSquidServers(array($wgTitle->getInternalURL()));
+ $wgOut->setSquidMaxage( $wgSquidMaxage );
+ $wgArticle->view();
+ break;
default:
$wgOut->errorpage( "nosuchaction", "nosuchactiontext" );
}