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:
5ed6917
)
always order by page_id for dumps of current revisions
author
Ariel T. Glenn
<ariel@wikimedia.org>
Thu, 25 Oct 2018 10:23:01 +0000
(13:23 +0300)
committer
ArielGlenn
<ariel@wikimedia.org>
Mon, 27 May 2019 18:42:54 +0000
(18:42 +0000)
Also drop ordering of revs within pages, since there is only one
revision being dumped
Bug: T207628
Change-Id: I5e4f0bea7b54506ca389818407c43152a290da6e
includes/export/WikiExporter.php
patch
|
blob
|
history
diff --git
a/includes/export/WikiExporter.php
b/includes/export/WikiExporter.php
index
ca63dfe
..
e8044af
100644
(file)
--- a/
includes/export/WikiExporter.php
+++ b/
includes/export/WikiExporter.php
@@
-399,6
+399,7
@@
class WikiExporter {
$this->do_list_authors( $cond );
}
$join['revision'] = [ 'JOIN', 'page_id=rev_page AND page_latest=rev_id' ];
+ $opts[ 'ORDER BY' ] = [ 'page_id ASC' ];
} elseif ( $this->history & self::STABLE ) {
# "Stable" revision dumps...
# Default JOIN, to be overridden...