r55983 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r55982‎ | r55983 | r55984 >
Date:18:20, 7 September 2009
Author:midom
Status:ok (Comments)
Tags:
Comment:
don't lookup any classes for 'known' links - fixes excessive queries caused by links in footer
Modified paths:
  • /trunk/phase3/includes/Linker.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Linker.php
@@ -216,7 +216,7 @@
217217 /**
218218 * Identical to link(), except $options defaults to 'known'.
219219 */
220 - public function linkKnown( $target, $text = null, $customAttribs = array(), $query = array(), $options = 'known' ) {
 220+ public function linkKnown( $target, $text = null, $customAttribs = array(), $query = array(), $options = array('known','noclasses') ) {
221221 return $this->link( $target, $text, $customAttribs, $query, $options );
222222 }
223223

Comments

#Comment by Raymond (talk | contribs)   12:40, 8 September 2009

Deployed per r56025 by Domas.

#Comment by Midom (talk | contribs)   21:59, 8 September 2009

not deployed, merge was just for a specific revision

Status & tagging log