From 08aa4418c30cfc18ccc69a0f0f9cb9e17be6c196 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Mon, 12 Aug 2013 09:28:15 +0200 Subject: Update to MediaWiki 1.21.1 --- includes/actions/ViewAction.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'includes/actions/ViewAction.php') diff --git a/includes/actions/ViewAction.php b/includes/actions/ViewAction.php index d57585ee..e227197d 100644 --- a/includes/actions/ViewAction.php +++ b/includes/actions/ViewAction.php @@ -23,17 +23,24 @@ * @author Timo Tijhof */ +/** + * An action that views article content + * + * This is a wrapper that will call Article::render(). + * + * @ingroup Actions + */ class ViewAction extends FormlessAction { public function getName() { return 'view'; } - public function onView(){ + public function onView() { return null; } - public function show(){ + public function show() { $this->page->view(); } -- cgit v1.2.2