r60240 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r60239‎ | r60240 | r60241 >
Date:15:08, 20 December 2009
Author:ialex
Status:ok
Tags:
Comment:
Fix OutputPage::addReturnTo() and OutputPage::returnToMain()'s documentation
Modified paths:
  • /trunk/phase3/includes/OutputPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/OutputPage.php
@@ -1514,8 +1514,8 @@
15151515 /**
15161516 * Add a "return to" link pointing to a specified title
15171517 *
1518 - * @param Title $title Title to link
1519 - * @param string $query Query string
 1518+ * @param $title Title to link
 1519+ * @param $query String: query string
15201520 */
15211521 public function addReturnTo( $title, $query = array() ) {
15221522 global $wgUser;
@@ -1529,8 +1529,9 @@
15301530 * Add a "return to" link pointing to a specified title,
15311531 * or the title indicated in the request, or else the main page
15321532 *
1533 - * @param null $unused No longer used
1534 - * @param Title $returnto Title to return to
 1533+ * @param $unused No longer used
 1534+ * @param $returnto Title or String to return to
 1535+ * @param $returntoquery String: query string for the return to link
15351536 */
15361537 public function returnToMain( $unused = null, $returnto = null, $returntoquery = null ) {
15371538 global $wgRequest;

Status & tagging log