From 3d6c4a9b2126876c87ebc3f041a68e097a3ecca4 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Thu, 3 Sep 2009 21:15:07 +0000 Subject: [PATCH] * (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 --- RELEASE-NOTES | 2 ++ includes/OutputPage.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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. -- 2.20.1