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 "Convert Special:NewFiles to use OOUI."
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialUndelete.php
diff --git
a/includes/specials/SpecialUndelete.php
b/includes/specials/SpecialUndelete.php
index
52a3d17
..
5d230c0
100644
(file)
--- a/
includes/specials/SpecialUndelete.php
+++ b/
includes/specials/SpecialUndelete.php
@@
-698,6
+698,10
@@
class SpecialUndelete extends SpecialPage {
parent::__construct( 'Undelete', 'deletedhistory' );
}
parent::__construct( 'Undelete', 'deletedhistory' );
}
+ public function doesWrites() {
+ return true;
+ }
+
function loadRequest( $par ) {
$request = $this->getRequest();
$user = $this->getUser();
function loadRequest( $par ) {
$request = $this->getRequest();
$user = $this->getUser();
@@
-868,7
+872,7
@@
class SpecialUndelete extends SpecialPage {
"ids" => $revisions,
"target" => $this->mTargetObj->getPrefixedText()
];
"ids" => $revisions,
"target" => $this->mTargetObj->getPrefixedText()
];
- $url = SpecialPage::getTitleFor(
"RevisionDelete"
)->getFullURL( $query );
+ $url = SpecialPage::getTitleFor(
'Revisiondelete'
)->getFullURL( $query );
$this->getOutput()->redirect( $url );
}
$this->getOutput()->redirect( $url );
}