r55786 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r55785‎ | r55786 | r55787 >
Date:21:15, 3 September 2009
Author:ialex
Status:ok
Tags:
Comment:
* (bug 20494) OutputPage::getArticleBodyOnly() no longer requires an useless argument
This function seems to not be used anywhere in core :)
Patch by Juliano F. Ravasi - http://bug-attachment.wikimedia.org/attachment.cgi?id=6528
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/OutputPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/OutputPage.php
@@ -306,7 +306,7 @@
307307
308308 function setETag($tag) { $this->mETag = $tag; }
309309 function setArticleBodyOnly($only) { $this->mArticleBodyOnly = $only; }
310 - function getArticleBodyOnly($only) { return $this->mArticleBodyOnly; }
 310+ function getArticleBodyOnly() { return $this->mArticleBodyOnly; }
311311
312312 function addLink( $linkarr ) {
313313 # $linkarr should be an associative array of attributes. We'll escape on output.
Index: trunk/phase3/RELEASE-NOTES
@@ -454,6 +454,8 @@
455455 * (bug 20466) Hidden categories are no more displayed when printing
456456 * (bug 20446) When changing user rights with User@remotewiki and remotewiki is
457457 the local wiki, the user is now treated as the local user
 458+* (bug 20494) OutputPage::getArticleBodyOnly() no longer requires an useless
 459+ argument
458460
459461 == API changes in 1.16 ==
460462

Status & tagging log