From: Sam Reed Date: Sat, 29 Oct 2011 01:49:00 +0000 (+0000) Subject: Die @private X-Git-Tag: 1.31.0-rc.0~26834 X-Git-Url: http://git.cyclocoop.org/%22%2C%20generer_url_ecrire%28?a=commitdiff_plain;h=82a690a318e5d72f6b23c3fce6671cd5a9886897;p=lhc%2Fweb%2Fwiklou.git Die @private --- diff --git a/includes/LinksUpdate.php b/includes/LinksUpdate.php index 3252fb655f..7eafc4a9f2 100644 --- a/includes/LinksUpdate.php +++ b/includes/LinksUpdate.php @@ -329,7 +329,7 @@ class LinksUpdate { /** * Update a table by doing a delete query then an insert query - * @private + * */ function incrTableUpdate( $table, $prefix, $deletions, $insertions ) { if ( $table == 'page_props' ) { @@ -376,7 +376,7 @@ class LinksUpdate { /** * Get an array of pagelinks insertions for passing to the DB * Skips the titles specified by the 2-D array $existing - * @private + * */ function getLinkInsertions( $existing = array() ) { $arr = array(); @@ -397,7 +397,7 @@ class LinksUpdate { /** * Get an array of template insertions. Like getLinkInsertions() - * @private + * */ function getTemplateInsertions( $existing = array() ) { $arr = array(); @@ -417,7 +417,6 @@ class LinksUpdate { /** * Get an array of image insertions * Skips the names specified in $existing - * @private */ function getImageInsertions( $existing = array() ) { $arr = array(); @@ -433,7 +432,6 @@ class LinksUpdate { /** * Get an array of externallinks insertions. Skips the names specified in $existing - * @private */ function getExternalInsertions( $existing = array() ) { $arr = array(); @@ -453,7 +451,6 @@ class LinksUpdate { * * @param $existing Array mapping existing category names to sort keys. If both * match a link in $this, the link will be omitted from the output - * @private */ function getCategoryInsertions( $existing = array() ) { global $wgContLang, $wgCategoryCollation; @@ -495,7 +492,7 @@ class LinksUpdate { * Get an array of interlanguage link insertions * * @param $existing Array mapping existing language codes to titles - * @private + * */ function getInterlangInsertions( $existing = array() ) { $diffs = array_diff_assoc( $this->mInterlangs, $existing ); @@ -529,7 +526,7 @@ class LinksUpdate { /** * Get an array of interwiki insertions for passing to the DB * Skips the titles specified by the 2-D array $existing - * @private + * */ function getInterwikiInsertions( $existing = array() ) { $arr = array(); @@ -549,7 +546,7 @@ class LinksUpdate { /** * Given an array of existing links, returns those links which are not in $this * and thus should be deleted. - * @private + * */ function getLinkDeletions( $existing ) { $del = array(); @@ -566,7 +563,7 @@ class LinksUpdate { /** * Given an array of existing templates, returns those templates which are not in $this * and thus should be deleted. - * @private + * */ function getTemplateDeletions( $existing ) { $del = array(); @@ -583,7 +580,7 @@ class LinksUpdate { /** * Given an array of existing images, returns those images which are not in $this * and thus should be deleted. - * @private + * */ function getImageDeletions( $existing ) { return array_diff_key( $existing, $this->mImages ); @@ -592,7 +589,7 @@ class LinksUpdate { /** * Given an array of existing external links, returns those links which are not * in $this and thus should be deleted. - * @private + * */ function getExternalDeletions( $existing ) { return array_diff_key( $existing, $this->mExternals ); @@ -601,7 +598,7 @@ class LinksUpdate { /** * Given an array of existing categories, returns those categories which are not in $this * and thus should be deleted. - * @private + * */ function getCategoryDeletions( $existing ) { return array_diff_assoc( $existing, $this->mCategories ); @@ -610,7 +607,7 @@ class LinksUpdate { /** * Given an array of existing interlanguage links, returns those links which are not * in $this and thus should be deleted. - * @private + * */ function getInterlangDeletions( $existing ) { return array_diff_assoc( $existing, $this->mInterlangs ); @@ -618,7 +615,7 @@ class LinksUpdate { /** * Get array of properties which should be deleted. - * @private + * */ function getPropertyDeletions( $existing ) { return array_diff_assoc( $existing, $this->mProperties ); @@ -627,7 +624,7 @@ class LinksUpdate { /** * Given an array of existing interwiki links, returns those links which are not in $this * and thus should be deleted. - * @private + * */ function getInterwikiDeletions( $existing ) { $del = array(); @@ -643,7 +640,7 @@ class LinksUpdate { /** * Get an array of existing links, as a 2-D array - * @private + * */ function getExistingLinks() { $res = $this->mDb->select( 'pagelinks', array( 'pl_namespace', 'pl_title' ), @@ -660,7 +657,7 @@ class LinksUpdate { /** * Get an array of existing templates, as a 2-D array - * @private + * */ function getExistingTemplates() { $res = $this->mDb->select( 'templatelinks', array( 'tl_namespace', 'tl_title' ), @@ -677,7 +674,7 @@ class LinksUpdate { /** * Get an array of existing images, image names in the keys - * @private + * */ function getExistingImages() { $res = $this->mDb->select( 'imagelinks', array( 'il_to' ), @@ -691,7 +688,7 @@ class LinksUpdate { /** * Get an array of existing external links, URLs in the keys - * @private + * */ function getExistingExternals() { $res = $this->mDb->select( 'externallinks', array( 'el_to' ), @@ -705,7 +702,7 @@ class LinksUpdate { /** * Get an array of existing categories, with the name in the key and sort key in the value. - * @private + * */ function getExistingCategories() { $res = $this->mDb->select( 'categorylinks', array( 'cl_to', 'cl_sortkey_prefix' ), @@ -720,7 +717,7 @@ class LinksUpdate { /** * Get an array of existing interlanguage links, with the language code in the key and the * title in the value. - * @private + * */ function getExistingInterlangs() { $res = $this->mDb->select( 'langlinks', array( 'll_lang', 'll_title' ), @@ -751,7 +748,7 @@ class LinksUpdate { /** * Get an array of existing categories, with the name in the key and sort key in the value. - * @private + * */ function getExistingProperties() { $res = $this->mDb->select( 'page_props', array( 'pp_propname', 'pp_value' ),