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
API: Update api-help-datatypes for Timestamp library changes
[lhc/web/wiklou.git]
/
maintenance
/
generateSitemap.php
diff --git
a/maintenance/generateSitemap.php
b/maintenance/generateSitemap.php
index
7d43f21
..
05dd0d0
100644
(file)
--- a/
maintenance/generateSitemap.php
+++ b/
maintenance/generateSitemap.php
@@
-27,6
+27,7
@@
*/
use MediaWiki\MediaWikiServices;
*/
use MediaWiki\MediaWikiServices;
+use Wikimedia\Rdbms\IResultWrapper;
require_once __DIR__ . '/Maintenance.php';
require_once __DIR__ . '/Maintenance.php';
@@
-299,7
+300,7
@@
class GenerateSitemap extends Maintenance {
* Return a database resolution of all the pages in a given namespace
*
* @param int $namespace Limit the query to this namespace
* Return a database resolution of all the pages in a given namespace
*
* @param int $namespace Limit the query to this namespace
- * @return
Resource
+ * @return
IResultWrapper
*/
function getPageRes( $namespace ) {
return $this->dbr->select( 'page',
*/
function getPageRes( $namespace ) {
return $this->dbr->select( 'page',