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
follow-up r60272. replace $_GET with $wgRequest->getText.
[lhc/web/wiklou.git]
/
maintenance
/
attachLatest.php
diff --git
a/maintenance/attachLatest.php
b/maintenance/attachLatest.php
index
fa07649
..
67f3088
100644
(file)
--- a/
maintenance/attachLatest.php
+++ b/
maintenance/attachLatest.php
@@
-43,7
+43,7
@@
class AttachLatest extends Maintenance {
__METHOD__ );
$n = 0;
-
while( $row = $dbw->fetchObject( $result )
) {
+
foreach( $result as $row
) {
$pageId = intval( $row->page_id );
$title = Title::makeTitle( $row->page_namespace, $row->page_title );
$name = $title->getPrefixedText();