r11802 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r11801
|
r11802
|
r11803
>
Date:
22:12, 26 November 2005
Author:
avar
Status:
old
Tags:
Comment:
* When called with action=purge just ->view() the article under that url rather
than redirecting the user agent, i.e. work like action=view except do a purge
Modified paths:
/trunk/phase3/includes/Article.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/Article.php
—
—
@@ -940,8 +940,7 @@
941
941
$update = SquidUpdate::newSimplePurge( $this->mTitle );
942
942
$update->doUpdate();
943
943
}
944
- // Redirect to the article
945
- $wgOut->redirect( $this->mTitle->getFullURL() );
944
+ $this->view();
946
945
} else {
947
946
$msg = $wgOut->parse( wfMsg( 'confirm_purge' ) );
948
947
$action = $this->mTitle->escapeLocalURL( 'action=purge' );
Status & tagging log
01:58, 13 October 2010
😂
(
talk
|
contribs
)
changed the
status
of r11802
[
removed:
new
added:
old]