r38705 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r38704‎ | r38705 | r38706 >
Date:11:41, 6 August 2008
Author:raymond
Status:old
Tags:
Comment:
Tweak doc of link() to reflect the order in function.
Modified paths:
  • /trunk/phase3/includes/Linker.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Linker.php
@@ -149,14 +149,14 @@
150150 * the link text. This is raw HTML and will not be escaped. If null,
151151 * defaults to the prefixed text of the Title; or if the Title is just a
152152 * fragment, the contents of the fragment.
153 - * @param $query array The query string to append to the URL
154 - * you're linking to, in key => value array form. Query keys and values
155 - * will be URL-encoded.
156153 * @param $customAttribs array A key => value array of extra HTML attri-
157154 * butes, such as title and class. (href is ignored.) Classes will be
158155 * merged with the default classes, while other attributes will replace
159156 * default attributes. All passed attribute values will be HTML-escaped.
160157 * A false attribute value means to suppress that attribute.
 158+ * @param $query array The query string to append to the URL
 159+ * you're linking to, in key => value array form. Query keys and values
 160+ * will be URL-encoded.
161161 * @param $options mixed String or array of strings:
162162 * 'known': Page is known to exist, so don't check if it does.
163163 * 'broken': Page is known not to exist, so don't check if it does.

Status & tagging log