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 "Introducing pp_sortkey."
[lhc/web/wiklou.git]
/
includes
/
deferred
/
LinksUpdate.php
diff --git
a/includes/deferred/LinksUpdate.php
b/includes/deferred/LinksUpdate.php
index
65c04d6
..
0789b21
100644
(file)
--- a/
includes/deferred/LinksUpdate.php
+++ b/
includes/deferred/LinksUpdate.php
@@
-269,7
+269,7
@@
class LinksUpdate extends SqlDataUpdate {
}
/**
}
/**
- * @param $cats
+ * @param
array
$cats
*/
function invalidateCategories( $cats ) {
$this->invalidatePages( NS_CATEGORY, array_keys( $cats ) );
*/
function invalidateCategories( $cats ) {
$this->invalidatePages( NS_CATEGORY, array_keys( $cats ) );
@@
-288,7
+288,7
@@
class LinksUpdate extends SqlDataUpdate {
}
/**
}
/**
- * @param $images
+ * @param
array
$images
*/
function invalidateImageDescriptions( $images ) {
$this->invalidatePages( NS_FILE, array_keys( $images ) );
*/
function invalidateImageDescriptions( $images ) {
$this->invalidatePages( NS_FILE, array_keys( $images ) );
@@
-329,7
+329,7
@@
class LinksUpdate extends SqlDataUpdate {
$toField = $prefix . '_to';
}
if ( count( $deletions ) ) {
$toField = $prefix . '_to';
}
if ( count( $deletions ) ) {
- $where[
] = "$toField IN (" . $this->mDb->makeList( array_keys( $deletions ) ) . ')'
;
+ $where[
$toField] = array_keys( $deletions )
;
} else {
$where = false;
}
} else {
$where = false;
}
@@
-432,7
+432,7
@@
class LinksUpdate extends SqlDataUpdate {
/**
* Get an array of category insertions
*
/**
* Get an array of category insertions
*
- * @param array $existing
m
apping existing category names to sort keys. If both
+ * @param array $existing
M
apping existing category names to sort keys. If both
* match a link in $this, the link will be omitted from the output
*
* @return array
* match a link in $this, the link will be omitted from the output
*
* @return array
@@
-477,7
+477,7
@@
class LinksUpdate extends SqlDataUpdate {
/**
* Get an array of interlanguage link insertions
*
/**
* Get an array of interlanguage link insertions
*
- * @param array $existing
m
apping existing language codes to titles
+ * @param array $existing
M
apping existing language codes to titles
*
* @return array
*/
*
* @return array
*/
@@
-820,7
+820,7
@@
class LinksUpdate extends SqlDataUpdate {
/**
* Get an array of existing categories, with the name in the key and sort key in the value.
*
/**
* Get an array of existing categories, with the name in the key and sort key in the value.
*
- * @return array of property names and values
+ * @return array
Array
of property names and values
*/
private function getExistingProperties() {
$res = $this->mDb->select( 'page_props', array( 'pp_propname', 'pp_value' ),
*/
private function getExistingProperties() {
$res = $this->mDb->select( 'page_props', array( 'pp_propname', 'pp_value' ),
@@
-882,7
+882,7
@@
class LinksUpdate extends SqlDataUpdate {
/**
* Fetch page links added by this LinksUpdate. Only available after the update is complete.
* @since 1.22
/**
* Fetch page links added by this LinksUpdate. Only available after the update is complete.
* @since 1.22
- * @return null|array of Titles
+ * @return null|array
Array
of Titles
*/
public function getAddedLinks() {
if ( $this->linkInsertions === null ) {
*/
public function getAddedLinks() {
if ( $this->linkInsertions === null ) {
@@
-899,7
+899,7
@@
class LinksUpdate extends SqlDataUpdate {
/**
* Fetch page links removed by this LinksUpdate. Only available after the update is complete.
* @since 1.22
/**
* Fetch page links removed by this LinksUpdate. Only available after the update is complete.
* @since 1.22
- * @return null|array of Titles
+ * @return null|array
Array
of Titles
*/
public function getRemovedLinks() {
if ( $this->linkDeletions === null ) {
*/
public function getRemovedLinks() {
if ( $this->linkDeletions === null ) {