Index: trunk/phase3/includes/OutputPage.php |
— | — | @@ -1514,8 +1514,8 @@ |
1515 | 1515 | /** |
1516 | 1516 | * Add a "return to" link pointing to a specified title |
1517 | 1517 | * |
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 |
1520 | 1520 | */ |
1521 | 1521 | public function addReturnTo( $title, $query = array() ) { |
1522 | 1522 | global $wgUser; |
— | — | @@ -1529,8 +1529,9 @@ |
1530 | 1530 | * Add a "return to" link pointing to a specified title, |
1531 | 1531 | * or the title indicated in the request, or else the main page |
1532 | 1532 | * |
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 |
1535 | 1536 | */ |
1536 | 1537 | public function returnToMain( $unused = null, $returnto = null, $returntoquery = null ) { |
1537 | 1538 | global $wgRequest; |