From: Brion Vibber Date: Tue, 11 Apr 2006 22:16:10 +0000 (+0000) Subject: whitespace fixes to r13575 X-Git-Tag: 1.31.0-rc.0~57518 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=16adeaf2b64abaa46521a31856e0cd87d3eaf303;p=lhc%2Fweb%2Fwiklou.git whitespace fixes to r13575 --- diff --git a/includes/LinksUpdate.php b/includes/LinksUpdate.php index bea37c1b3c..44df436c67 100644 --- a/includes/LinksUpdate.php +++ b/includes/LinksUpdate.php @@ -19,8 +19,8 @@ class LinksUpdate { $mImages, # DB keys of the images used, in the array key only $mTemplates, # Map of title strings to IDs for the template references, including broken ones $mExternals, # URLs of external links, array key only - $mCategories, # Map of category names to sort keys - $mInterlangs, # Map of language codes to titles + $mCategories, # Map of category names to sort keys + $mInterlangs, # Map of language codes to titles $mDb, # Database connection reference $mOptions, # SELECT options to be used (array) $mRecursive; # Whether to queue jobs for recursive updates @@ -104,10 +104,10 @@ class LinksUpdate { $this->incrTableUpdate( 'externallinks', 'el', $this->getExternalDeletions( $existing ), $this->getExternalInsertions( $existing ) ); - # Language links - $existing = $this->getExistingInterlangs(); - $this->incrTableUpdate( 'langlinks', 'll', $this->getInterlangDeletions( $existing ), - $this->getInterlangInsertions( $existing ) ); + # Language links + $existing = $this->getExistingInterlangs(); + $this->incrTableUpdate( 'langlinks', 'll', $this->getInterlangDeletions( $existing ), + $this->getInterlangInsertions( $existing ) ); # Template links $existing = $this->getExistingTemplates(); @@ -121,7 +121,7 @@ class LinksUpdate { require_once( 'JobQueue.php' ); Job::queueLinksJobs( $tlto ); } - } + } # Category links $existing = $this->getExistingCategories(); @@ -136,9 +136,9 @@ class LinksUpdate { } /** - * Link update which clears the previous entries and inserts new ones - * May be slower or faster depending on level of lock contention and write speed of DB - * Also useful where link table corruption needs to be repaired, e.g. in refreshLinks.php + * Link update which clears the previous entries and inserts new ones + * May be slower or faster depending on level of lock contention and write speed of DB + * Also useful where link table corruption needs to be repaired, e.g. in refreshLinks.php */ function doDumbUpdate() { $fname = 'LinksUpdate::doDumbUpdate'; @@ -163,8 +163,8 @@ class LinksUpdate { $this->dumbTableUpdate( 'imagelinks', $this->getImageInsertions(), 'il_from' ); $this->dumbTableUpdate( 'categorylinks', $this->getCategoryInsertions(), 'cl_from' ); $this->dumbTableUpdate( 'templatelinks', $this->getTemplateInsertions(), 'tl_from' ); - $this->dumbTableUpdate( 'externallinks', $this->getExternalInsertions(), 'el_from' ); - $this->dumbTableUpdate( 'langlinks', $this->getInterlangInsertions(), 'll_from' ); + $this->dumbTableUpdate( 'externallinks', $this->getExternalInsertions(), 'el_from' ); + $this->dumbTableUpdate( 'langlinks', $this->getInterlangInsertions(), 'll_from' ); # Update the cache of all the category pages and image description pages which were changed $this->invalidateCategories( $categoryUpdates ); diff --git a/includes/Parser.php b/includes/Parser.php index 58047db449..7a2c92cede 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -4084,7 +4084,7 @@ class ParserOutput $this->getCacheTime() <= $wgCacheEpoch || !isset( $this->mVersion ) || version_compare( $this->mVersion, MW_PARSER_VERSION, "lt" ); - } + } } /**