r74851 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74850‎ | r74851 | r74852 >
Date:18:58, 16 October 2010
Author:ialex
Status:ok
Tags:
Comment:
Per Platonides, follow-up to r67834: fix doc and removed no more needed return-by-ref of Parser::getTitle()
Modified paths:
  • /trunk/phase3/includes/parser/Parser.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/parser/Parser.php
@@ -538,7 +538,7 @@
539539 *
540540 * @return Title object
541541 */
542 - function &getTitle() {
 542+ function getTitle() {
543543 return $this->mTitle;
544544 }
545545
@@ -647,7 +647,7 @@
648648 *
649649 * @param $elements list of element names. Comments are always extracted.
650650 * @param $text Source text string.
651 - * @param $matches Out parameter, Array: extarcted tags
 651+ * @param $matches Out parameter, Array: extracted tags
652652 * @param $uniq_prefix
653653 * @return String: stripped text
654654 *
@@ -4034,7 +4034,7 @@
40354035 * conversion, substitting signatures, {{subst:}} templates, etc.
40364036 *
40374037 * @param $text String: the text to transform
4038 - * @param &$title Title: the Title object for the current article
 4038+ * @param $title Title: the Title object for the current article
40394039 * @param $user User: the User object describing the current user
40404040 * @param $options ParserOptions: parsing options
40414041 * @param $clearState Boolean: whether to clear the parser state first

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r67834* Fixed some doxygen warnings...ialex21:05, 10 June 2010

Status & tagging log