From: Alexandre Emsenhuber Date: Thu, 3 Sep 2009 21:15:07 +0000 (+0000) Subject: * (bug 20494) OutputPage::getArticleBodyOnly() no longer requires an useless argument X-Git-Tag: 1.31.0-rc.0~39953 X-Git-Url: http://git.cyclocoop.org/%22%2C%20generer_url_ecrire%28?a=commitdiff_plain;h=3d6c4a9b2126876c87ebc3f041a68e097a3ecca4;p=lhc%2Fweb%2Fwiklou.git * (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 --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 1234eb707b..8a20f61b05 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -454,6 +454,8 @@ this. Was used when mwEmbed was going to be an extension. * (bug 20466) Hidden categories are no more displayed when printing * (bug 20446) When changing user rights with User@remotewiki and remotewiki is the local wiki, the user is now treated as the local user +* (bug 20494) OutputPage::getArticleBodyOnly() no longer requires an useless + argument == API changes in 1.16 == diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 4bb2f95737..4c818b0d47 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -306,7 +306,7 @@ class OutputPage { function setETag($tag) { $this->mETag = $tag; } function setArticleBodyOnly($only) { $this->mArticleBodyOnly = $only; } - function getArticleBodyOnly($only) { return $this->mArticleBodyOnly; } + function getArticleBodyOnly() { return $this->mArticleBodyOnly; } function addLink( $linkarr ) { # $linkarr should be an associative array of attributes. We'll escape on output.