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
moment: Correct support language codes sr-el and sr
[lhc/web/wiklou.git]
/
maintenance
/
compareParserCache.php
diff --git
a/maintenance/compareParserCache.php
b/maintenance/compareParserCache.php
index
e5f0bb3
..
245b613
100644
(file)
--- a/
maintenance/compareParserCache.php
+++ b/
maintenance/compareParserCache.php
@@
-43,15
+43,15
@@
class CompareParserCache extends Maintenance {
$withdiff = 0;
while ( $pages-- > 0 ) {
$row = $dbr->selectRow( 'page', '*',
$withdiff = 0;
while ( $pages-- > 0 ) {
$row = $dbr->selectRow( 'page', '*',
- array(
+ [
'page_namespace' => $this->getOption( 'namespace' ),
'page_is_redirect' => 0,
'page_random >= ' . wfRandom()
'page_namespace' => $this->getOption( 'namespace' ),
'page_is_redirect' => 0,
'page_random >= ' . wfRandom()
-
)
,
+
]
,
__METHOD__,
__METHOD__,
- array(
+ [
'ORDER BY' => 'page_random',
'ORDER BY' => 'page_random',
- )
+ ]
);
if ( !$row ) {
);
if ( !$row ) {