From ddf601f7d31dbfa069fa9d097bb9bed9bfa00f9f Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Thu, 20 Dec 2012 20:44:47 +0100 Subject: [PATCH] Improve documentation of content handler stuff - Split file and class documentation - Add some missing file/class descriptions - Add missing @ingroup Content Change-Id: I7f7e3056570ca13a92f36a408c9b961c938f09a1 --- includes/content/AbstractContent.php | 6 +++ includes/content/Content.php | 6 +++ includes/content/ContentHandler.php | 53 +++++++++++-------- includes/content/CssContent.php | 8 +++ includes/content/CssContentHandler.php | 6 +++ includes/content/JavaScriptContent.php | 11 +++- includes/content/JavaScriptContentHandler.php | 8 ++- includes/content/MessageContent.php | 16 ++++-- includes/content/TextContent.php | 11 ++-- includes/content/TextContentHandler.php | 9 +++- includes/content/WikitextContent.php | 8 +++ includes/content/WikitextContentHandler.php | 9 +++- 12 files changed, 114 insertions(+), 37 deletions(-) diff --git a/includes/content/AbstractContent.php b/includes/content/AbstractContent.php index 386f55aee50..cab65a5f4c5 100644 --- a/includes/content/AbstractContent.php +++ b/includes/content/AbstractContent.php @@ -25,6 +25,12 @@ * * @author Daniel Kinzler */ + +/** + * Base implementation for content objects. + * + * @ingroup Content + */ abstract class AbstractContent implements Content { /** diff --git a/includes/content/Content.php b/includes/content/Content.php index 35b51c346f9..75ac5f2993a 100644 --- a/includes/content/Content.php +++ b/includes/content/Content.php @@ -25,6 +25,12 @@ * * @author Daniel Kinzler */ + +/** + * Base interface for content objects. + * + * @ingroup Content + */ interface Content { /** diff --git a/includes/content/ContentHandler.php b/includes/content/ContentHandler.php index cff49dfab73..2e9052854eb 100644 --- a/includes/content/ContentHandler.php +++ b/includes/content/ContentHandler.php @@ -1,28 +1,6 @@