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 "Improve docs for Title::getInternalURL/getCanonicalURL"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryIWLinks.php
diff --git
a/includes/api/ApiQueryIWLinks.php
b/includes/api/ApiQueryIWLinks.php
index
9313af3
..
e841788
100644
(file)
--- a/
includes/api/ApiQueryIWLinks.php
+++ b/
includes/api/ApiQueryIWLinks.php
@@
-2,8
+2,6
@@
/**
* API for MediaWiki 1.17+
*
/**
* API for MediaWiki 1.17+
*
- * Created on May 14, 2010
- *
* Copyright © 2010 Sam Reed
* Copyright © 2006 Yuri Astrakhan "<Firstname><Lastname>@gmail.com"
*
* Copyright © 2010 Sam Reed
* Copyright © 2006 Yuri Astrakhan "<Firstname><Lastname>@gmail.com"
*
@@
-75,7
+73,7
@@
class ApiQueryIWLinks extends ApiQueryBase {
$this->dieContinueUsageIf( count( $cont ) != 3 );
$op = $params['dir'] == 'descending' ? '<' : '>';
$db = $this->getDB();
$this->dieContinueUsageIf( count( $cont ) != 3 );
$op = $params['dir'] == 'descending' ? '<' : '>';
$db = $this->getDB();
- $iwlfrom =
intval( $cont[0] )
;
+ $iwlfrom =
(int)$cont[0]
;
$iwlprefix = $db->addQuotes( $cont[1] );
$iwltitle = $db->addQuotes( $cont[2] );
$this->addWhere(
$iwlprefix = $db->addQuotes( $cont[1] );
$iwltitle = $db->addQuotes( $cont[2] );
$this->addWhere(