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 "ApiQueryLinks: Remove index forcing"
[lhc/web/wiklou.git]
/
maintenance
/
populatePPSortKey.php
diff --git
a/maintenance/populatePPSortKey.php
b/maintenance/populatePPSortKey.php
index
519c665
..
7e3c2c3
100644
(file)
--- a/
maintenance/populatePPSortKey.php
+++ b/
maintenance/populatePPSortKey.php
@@
-43,6
+43,7
@@
class PopulatePPSortKey extends LoggedUpdateMaintenance {
$lastPageValue = 0;
$editedRowCount = 0;
$lastPageValue = 0;
$editedRowCount = 0;
+ $this->output( "Populating page_props.pp_sortkey...\n" );
while ( true ) {
$conditions = [ 'pp_sortkey IS NULL' ];
if ( $lastPageValue !== 0 ) {
while ( true ) {
$conditions = [ 'pp_sortkey IS NULL' ];
if ( $lastPageValue !== 0 ) {
@@
-88,12
+89,12
@@
class PopulatePPSortKey extends LoggedUpdateMaintenance {
$this->commitTransaction( $dbw, __METHOD__ );
// We need to get the last element's page ID
$this->commitTransaction( $dbw, __METHOD__ );
// We need to get the last element's page ID
- $lastPageValue = $row->pp_
valu
e;
+ $lastPageValue = $row->pp_
pag
e;
// And the propname...
$lastProp = $row->pp_propname;
}
// And the propname...
$lastProp = $row->pp_propname;
}
- $this->output( "
Done!
\n" );
+ $this->output( "
Populating page_props.pp_sortkey complete.
\n" );
}
protected function getUpdateKey() {
}
protected function getUpdateKey() {