From 0fc8c8e14e7ff4e490e1a70863001afdb18600f8 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Mon, 30 Apr 2012 11:22:16 +0200 Subject: [PATCH] Added missing GPLv2 headers in some places. Also made file/class documentation more consistent. Change-Id: I10c077f27a2077a266a64048fa137f7b1f8e226c --- includes/parser/CoreLinkFunctions.php | 16 ++++++++++++++++ includes/parser/CoreParserFunctions.php | 16 ++++++++++++++++ includes/parser/CoreTagHooks.php | 16 ++++++++++++++++ includes/parser/DateFormatter.php | 16 ++++++++++++++++ includes/parser/LinkHolderArray.php | 16 ++++++++++++++++ includes/parser/Parser.php | 21 +++++++++++++++++++-- includes/parser/ParserCache.php | 16 ++++++++++++++++ includes/parser/ParserOptions.php | 17 ++++++++++++++++- includes/parser/ParserOutput.php | 16 +++++++++++++++- includes/parser/Parser_DiffTest.php | 16 ++++++++++++++++ includes/parser/Parser_LinkHooks.php | 16 ++++++++++++++++ includes/parser/Preprocessor.php | 16 ++++++++++++++++ includes/parser/Preprocessor_DOM.php | 15 +++++++++++++++ includes/parser/Preprocessor_Hash.php | 15 +++++++++++++++ includes/parser/Preprocessor_HipHop.hphp | 15 +++++++++++++++ includes/parser/StripState.php | 21 +++++++++++++++++++++ includes/parser/Tidy.php | 18 ++++++++++++++++++ 17 files changed, 278 insertions(+), 4 deletions(-) diff --git a/includes/parser/CoreLinkFunctions.php b/includes/parser/CoreLinkFunctions.php index 8de13278c2..4bfa9d35da 100644 --- a/includes/parser/CoreLinkFunctions.php +++ b/includes/parser/CoreLinkFunctions.php @@ -2,7 +2,23 @@ /** * Link functions provided by MediaWiki core; experimental * + * 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 + * * @file + * @ingroup Parser */ /** diff --git a/includes/parser/CoreParserFunctions.php b/includes/parser/CoreParserFunctions.php index 8be99468aa..912de41365 100644 --- a/includes/parser/CoreParserFunctions.php +++ b/includes/parser/CoreParserFunctions.php @@ -2,7 +2,23 @@ /** * Parser functions provided by MediaWiki core * + * 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 + * * @file + * @ingroup Parser */ /** diff --git a/includes/parser/CoreTagHooks.php b/includes/parser/CoreTagHooks.php index 7d488c4b69..296be66f5b 100644 --- a/includes/parser/CoreTagHooks.php +++ b/includes/parser/CoreTagHooks.php @@ -2,7 +2,23 @@ /** * Tag hooks provided by MediaWiki core * + * 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 + * * @file + * @ingroup Parser */ /** diff --git a/includes/parser/DateFormatter.php b/includes/parser/DateFormatter.php index 2199004a77..1638fb0f19 100644 --- a/includes/parser/DateFormatter.php +++ b/includes/parser/DateFormatter.php @@ -2,7 +2,23 @@ /** * Date formatter * + * 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 + * * @file + * @ingroup Parser */ /** diff --git a/includes/parser/LinkHolderArray.php b/includes/parser/LinkHolderArray.php index b5d5cb42e7..def1aee4b0 100644 --- a/includes/parser/LinkHolderArray.php +++ b/includes/parser/LinkHolderArray.php @@ -2,7 +2,23 @@ /** * Holder of replacement pairs for wiki links * + * 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 + * * @file + * @ingroup Parser */ /** diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index 56197ea8be..d5868a71d0 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -1,12 +1,29 @@