From 506456c138007c81c2e10f035d4e6193066bad31 Mon Sep 17 00:00:00 2001 From: jeroendedauw Date: Tue, 16 Oct 2012 20:04:32 +0200 Subject: [PATCH] Added docu headers to content(handler) files Change-Id: I9981698a5e4d79db89892ce3f3e007dd5aee5fd1 --- includes/content/AbstractContent.php | 20 ++++++++++++++++++++ includes/content/Content.php | 20 ++++++++++++++++++++ includes/content/ContentHandler.php | 20 ++++++++++++++++++++ includes/content/CssContent.php | 20 ++++++++++++++++++++ includes/content/JavaScriptContent.php | 20 ++++++++++++++++++++ includes/content/MessageContent.php | 20 ++++++++++++++++++++ includes/content/TextContent.php | 20 ++++++++++++++++++++ includes/content/WikitextContent.php | 20 ++++++++++++++++++++ 8 files changed, 160 insertions(+) diff --git a/includes/content/AbstractContent.php b/includes/content/AbstractContent.php index 860b4c38e6..1a730bc47e 100644 --- a/includes/content/AbstractContent.php +++ b/includes/content/AbstractContent.php @@ -3,7 +3,27 @@ * A content object represents page content, e.g. the text to show on a page. * Content objects have no knowledge about how they relate to Wiki pages. * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * http://www.gnu.org/copyleft/gpl.html + * * @since 1.21 + * + * @file + * @ingroup Content + * + * @author Daniel Kinzler */ abstract class AbstractContent implements Content { diff --git a/includes/content/Content.php b/includes/content/Content.php index 6cb9d89372..3ef73db6ac 100644 --- a/includes/content/Content.php +++ b/includes/content/Content.php @@ -3,7 +3,27 @@ * A content object represents page content, e.g. the text to show on a page. * Content objects have no knowledge about how they relate to wiki pages. * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * http://www.gnu.org/copyleft/gpl.html + * * @since 1.21 + * + * @file + * @ingroup Content + * + * @author Daniel Kinzler */ interface Content { diff --git a/includes/content/ContentHandler.php b/includes/content/ContentHandler.php index 4bb4e408e2..84800e3161 100644 --- a/includes/content/ContentHandler.php +++ b/includes/content/ContentHandler.php @@ -24,7 +24,27 @@ class MWContentSerializationException extends MWException { * type), but wikitext content may be represented by a DOM or AST structure in * the future. * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * http://www.gnu.org/copyleft/gpl.html + * * @since 1.21 + * + * @file + * @ingroup Content + * + * @author Daniel Kinzler */ abstract class ContentHandler { diff --git a/includes/content/CssContent.php b/includes/content/CssContent.php index c881380e88..29527cfbd4 100644 --- a/includes/content/CssContent.php +++ b/includes/content/CssContent.php @@ -1,6 +1,26 @@