From: Alexandre Emsenhuber Date: Sat, 2 Jun 2012 13:09:36 +0000 (+0200) Subject: Added missing GPLv2 headers in some places. X-Git-Tag: 1.31.0-rc.0~23198^2~5 X-Git-Url: http://git.heureux-cyclage.org/?a=commitdiff_plain;h=2c7bf8b8b86965f4d55357010fda558d3bd012ff;p=lhc%2Fweb%2Fwiklou.git Added missing GPLv2 headers in some places. Also made file/class documentation more consistent. Change-Id: Ie95c594fcd686ef30dadc7574d3e5b47236a8638 --- diff --git a/includes/actions/CachedAction.php b/includes/actions/CachedAction.php index 3f73ea4285..d21f9aeb42 100644 --- a/includes/actions/CachedAction.php +++ b/includes/actions/CachedAction.php @@ -17,13 +17,25 @@ * computations here. This function should returns the HTML to be cached. * It should not add anything to the PageOutput object! * - * @since 1.20 + * 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. * - * @file CachedAction.php - * @ingroup Action + * 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 * - * @licence GNU GPL v2 or later + * @file + * @ingroup Action * @author Jeroen De Dauw < jeroendedauw@gmail.com > + * @since 1.20 */ abstract class CachedAction extends FormlessAction implements ICacheHelper { @@ -167,4 +179,4 @@ abstract class CachedAction extends FormlessAction implements ICacheHelper { } } -} \ No newline at end of file +} diff --git a/includes/actions/HistoryAction.php b/includes/actions/HistoryAction.php index c49d23299e..8e6bcd9529 100644 --- a/includes/actions/HistoryAction.php +++ b/includes/actions/HistoryAction.php @@ -3,6 +3,22 @@ * Page history * * Split off from Article.php and Skin.php, 2003-12-22 + * + * 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 */ diff --git a/includes/actions/RawAction.php b/includes/actions/RawAction.php index 5615ad5221..174ca3f86c 100644 --- a/includes/actions/RawAction.php +++ b/includes/actions/RawAction.php @@ -7,7 +7,20 @@ * * Based on HistoryPage and SpecialExport * - * License: GPL (http://www.gnu.org/copyleft/gpl.html) + * 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 * * @author Gabriel Wicke * @file diff --git a/includes/normal/UtfNormalDefines.php b/includes/normal/UtfNormalDefines.php index 6c4d8b76d8..5142a4143b 100644 --- a/includes/normal/UtfNormalDefines.php +++ b/includes/normal/UtfNormalDefines.php @@ -6,6 +6,21 @@ * since this file will not be executed during request startup for a compiled * MediaWiki. * + * 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 UtfNormal */ diff --git a/includes/normal/UtfNormalTest2.php b/includes/normal/UtfNormalTest2.php index f478fa9190..691bfaa74d 100644 --- a/includes/normal/UtfNormalTest2.php +++ b/includes/normal/UtfNormalTest2.php @@ -1,7 +1,22 @@ #!/usr/bin/php + * @since 1.20 */ abstract class SpecialCachedPage extends SpecialPage implements ICacheHelper { @@ -166,4 +178,4 @@ abstract class SpecialCachedPage extends SpecialPage implements ICacheHelper { } } -} \ No newline at end of file +} diff --git a/includes/specials/SpecialUploadStash.php b/includes/specials/SpecialUploadStash.php index 1fa14ff30a..6052d094a6 100644 --- a/includes/specials/SpecialUploadStash.php +++ b/includes/specials/SpecialUploadStash.php @@ -1,7 +1,28 @@