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:
9c166a8
)
[PageArchive] Fetch ar_rev_id instead of ar_id
author
David Causse
<dcausse@wikimedia.org>
Fri, 13 Jul 2018 09:25:10 +0000
(11:25 +0200)
committer
David Causse
<dcausse@wikimedia.org>
Fri, 13 Jul 2018 09:25:10 +0000
(11:25 +0200)
Introduced in I92afda8, the query fetches ar_id but the code expects
ar_rev_id.
Change-Id: I4e2031f96257449a264142a6d697aca802e897df
includes/page/PageArchive.php
patch
|
blob
|
history
diff --git
a/includes/page/PageArchive.php
b/includes/page/PageArchive.php
index
fc079e2
..
aa34dd2
100644
(file)
--- a/
includes/page/PageArchive.php
+++ b/
includes/page/PageArchive.php
@@
-329,7
+329,7
@@
class PageArchive {
// Check the previous deleted revision...
$row = $dbr->selectRow( 'archive',
- [ 'ar_id', 'ar_timestamp' ],
+ [ 'ar_
rev_
id', 'ar_timestamp' ],
[ 'ar_namespace' => $this->title->getNamespace(),
'ar_title' => $this->title->getDBkey(),
'ar_timestamp < ' .