r56025 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56024‎ | r56025 | r56026 >
Date:10:42, 8 September 2009
Author:midom
Status:ok
Tags:
Comment:
MFT: 55983 - don't lookup any classes for 'known' links - fixes excessive queries caused by links in footer (midom)
Modified paths:
  • /branches/wmf-deployment/includes/Linker.php (modified) (history)

Diff [purge]

Index: branches/wmf-deployment/includes/Linker.php
@@ -222,7 +222,7 @@
223223 /**
224224 * Identical to link(), except $options defaults to 'known'.
225225 */
226 - public function linkKnown( $target, $text = null, $customAttribs = array(), $query = array(), $options = 'known' ) {
 226+ public function linkKnown( $target, $text = null, $customAttribs = array(), $query = array(), $options = array('known','noclasses') ) {
227227 return $this->link( $target, $text, $customAttribs, $query, $options );
228228 }
229229

Status & tagging log