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:
d4c27f5
)
Followup r106046, pull ar_sha1 in getRevision
author
Sam Reed
<reedy@users.mediawiki.org>
Tue, 13 Dec 2011 16:58:52 +0000
(16:58 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Tue, 13 Dec 2011 16:58:52 +0000
(16:58 +0000)
includes/specials/SpecialUndelete.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialUndelete.php
b/includes/specials/SpecialUndelete.php
index
f58aa1d
..
68e35b7
100644
(file)
--- a/
includes/specials/SpecialUndelete.php
+++ b/
includes/specials/SpecialUndelete.php
@@
-187,10
+187,12
@@
class PageArchive {
'ar_flags',
'ar_text_id',
'ar_deleted',
'ar_flags',
'ar_text_id',
'ar_deleted',
- 'ar_len' ),
+ 'ar_len',
+ 'ar_sha1',
+ ),
array( 'ar_namespace' => $this->title->getNamespace(),
array( 'ar_namespace' => $this->title->getNamespace(),
- 'ar_title' => $this->title->getDBkey(),
- 'ar_timestamp' => $dbr->timestamp( $timestamp ) ),
+
'ar_title' => $this->title->getDBkey(),
+
'ar_timestamp' => $dbr->timestamp( $timestamp ) ),
__METHOD__ );
if( $row ) {
return Revision::newFromArchiveRow( $row, array( 'page' => $this->title->getArticleId() ) );
__METHOD__ );
if( $row ) {
return Revision::newFromArchiveRow( $row, array( 'page' => $this->title->getArticleId() ) );
@@
-656,7
+658,7
@@
class SpecialUndelete extends SpecialPage {
if ( is_null( $this->mTargetObj ) ) {
$out->addWikiMsg( 'undelete-header' );
if ( is_null( $this->mTargetObj ) ) {
$out->addWikiMsg( 'undelete-header' );
-
+
# Not all users can just browse every deleted page from the list
if ( $user->isAllowed( 'browsearchive' ) ) {
$this->showSearchForm();
# Not all users can just browse every deleted page from the list
if ( $user->isAllowed( 'browsearchive' ) ) {
$this->showSearchForm();