From: Alexandre Emsenhuber Date: Sat, 12 May 2012 20:33:02 +0000 (+0200) Subject: Added missing GPLv2 headers in some places. X-Git-Tag: 1.31.0-rc.0~23627 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=a682b7335a179cd0693d838c9bbd62485fe7cbad;p=lhc%2Fweb%2Fwiklou.git Added missing GPLv2 headers in some places. Also made file/class documentation more consistent. Change-Id: I0db3461139284edcb6ac02923eb83d54e6756ffb --- diff --git a/includes/ImageGallery.php b/includes/ImageGallery.php index f947f09e1c..247acffeda 100644 --- a/includes/ImageGallery.php +++ b/includes/ImageGallery.php @@ -1,4 +1,25 @@ * @copyright Copyright © 2005, Ævar Arnfjörð Bjarmason * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later */ +/** + * A License class for use on Special:Upload + */ class Licenses extends HTMLFormField { /** * @var string diff --git a/includes/LinkFilter.php b/includes/LinkFilter.php index f1e19f9df4..214f49591f 100644 --- a/includes/LinkFilter.php +++ b/includes/LinkFilter.php @@ -1,4 +1,25 @@ . * - * 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 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. + * 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 + * 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 Evan Prodromou * @file diff --git a/includes/MimeMagic.php b/includes/MimeMagic.php index a25eaca9ed..1873e7bfef 100644 --- a/includes/MimeMagic.php +++ b/includes/MimeMagic.php @@ -2,6 +2,21 @@ /** * Module defining helper functions for detecting and dealing with mime types. * + * 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/Namespace.php b/includes/Namespace.php index 9ec69482f3..a2751237cc 100644 --- a/includes/Namespace.php +++ b/includes/Namespace.php @@ -1,6 +1,22 @@