Remove various redundant '@license' tags in file headers
Redundant given this is the project-wide license already, especially in file headers that already include the GPL license header. This and other minor fixups based on feedback from Ie0cea0ef5027c7e5. * Add @file where missing. * Move @ingroup and @deprecated from file to class doc where needed. Change-Id: I7067abb7abee1f0c238cb2536e16192e946d8daa
This commit is contained in:
parent
92f9cb0551
commit
bee9f4db96
31 changed files with 86 additions and 44 deletions
|
|
@ -1,7 +1,5 @@
|
|||
<?php
|
||||
/**
|
||||
* Functions and constants to deal with grants
|
||||
*
|
||||
* 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
|
||||
|
|
@ -16,6 +14,8 @@
|
|||
* 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
|
||||
*/
|
||||
use MediaWiki\MediaWikiServices;
|
||||
|
||||
|
|
|
|||
|
|
@ -18,14 +18,13 @@
|
|||
* http://www.gnu.org/copyleft/gpl.html
|
||||
*
|
||||
* @file
|
||||
* @license GPL 2+
|
||||
* @author Matthew Flaschen
|
||||
*/
|
||||
|
||||
use Wikimedia\Rdbms\IDatabase;
|
||||
|
||||
/**
|
||||
* An individual filter in a boolean group
|
||||
* Represents a hide-based boolean filter (used on ChangesListSpecialPage and descendants)
|
||||
*
|
||||
* @since 1.29
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@
|
|||
* http://www.gnu.org/copyleft/gpl.html
|
||||
*
|
||||
* @file
|
||||
* @license GPL 2+
|
||||
* @author Matthew Flaschen
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@
|
|||
* http://www.gnu.org/copyleft/gpl.html
|
||||
*
|
||||
* @file
|
||||
* @license GPL 2+
|
||||
* @author Matthew Flaschen
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@
|
|||
* http://www.gnu.org/copyleft/gpl.html
|
||||
*
|
||||
* @file
|
||||
* @license GPL 2+
|
||||
* @author Matthew Flaschen
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,23 @@
|
|||
<?php
|
||||
/**
|
||||
* 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 Database
|
||||
*/
|
||||
|
||||
namespace Wikimedia\Rdbms;
|
||||
|
||||
|
|
@ -11,7 +30,6 @@ use InvalidArgumentException;
|
|||
*
|
||||
* @since 1.29
|
||||
*
|
||||
* @license GPL-2.0+
|
||||
* @author Addshore
|
||||
*/
|
||||
class ConnectionManager {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,23 @@
|
|||
<?php
|
||||
/**
|
||||
* 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 Database
|
||||
*/
|
||||
|
||||
namespace Wikimedia\Rdbms;
|
||||
|
||||
|
|
@ -20,7 +39,6 @@ namespace Wikimedia\Rdbms;
|
|||
*
|
||||
* @since 1.29
|
||||
*
|
||||
* @license GPL-2.0+
|
||||
* @author Daniel Kinzler
|
||||
* @author Addshore
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -1,4 +1,22 @@
|
|||
<?php
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
|
||||
use Wikimedia\Http\HttpAcceptParser;
|
||||
use Wikimedia\Http\HttpAcceptNegotiator;
|
||||
|
|
@ -6,11 +24,9 @@ use Wikimedia\Http\HttpAcceptNegotiator;
|
|||
/**
|
||||
* Request handler implementing a data interface for mediawiki pages.
|
||||
*
|
||||
* @license GPL-2.0+
|
||||
* @author Daniel Kinzler
|
||||
* @author Amir Sarabadanai
|
||||
*/
|
||||
|
||||
class PageDataRequestHandler {
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
* http://www.gnu.org/copyleft/gpl.html
|
||||
*
|
||||
* @file
|
||||
* @license GPL-2.0+
|
||||
* @author Kunal Mehta <legoktm@member.fsf.org>
|
||||
*/
|
||||
namespace MediaWiki\Linker;
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
* http://www.gnu.org/copyleft/gpl.html
|
||||
*
|
||||
* @file
|
||||
* @license GPL-2.0+
|
||||
* @author Kunal Mehta <legoktm@member.fsf.org>
|
||||
*/
|
||||
namespace MediaWiki\Linker;
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
* http://www.gnu.org/copyleft/gpl.html
|
||||
*
|
||||
* @file
|
||||
* @license GPL 2+
|
||||
* @author Addshore
|
||||
*/
|
||||
namespace MediaWiki\Linker;
|
||||
|
|
|
|||
|
|
@ -1,11 +1,32 @@
|
|||
<?php
|
||||
/**
|
||||
* Special page to act as an endpoint for accessing raw page data.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
/**
|
||||
* Special page to act as an endpoint for accessing raw page data.
|
||||
* The web server should generally be configured to make this accessible via a canonical URL/URI,
|
||||
* such as <http://my.domain.org/data/main/Foo>.
|
||||
*
|
||||
* @license GPL-2.0+
|
||||
* @class
|
||||
* @ingroup SpecialPage
|
||||
*/
|
||||
class SpecialPageData extends SpecialPage {
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@
|
|||
* @ingroup SpecialPage
|
||||
* @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
|
||||
* @copyright Copyright © 2005, Ævar Arnfjörð Bjarmason
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
* http://www.gnu.org/copyleft/gpl.html
|
||||
*
|
||||
* @file
|
||||
* @license GPL 2+
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
* http://www.gnu.org/copyleft/gpl.html
|
||||
*
|
||||
* @file
|
||||
* @license GPL 2+
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
/**
|
||||
* A codec for %MediaWiki page titles.
|
||||
* A codec for MediaWiki page titles.
|
||||
*
|
||||
* 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
|
||||
|
|
@ -18,7 +18,6 @@
|
|||
* http://www.gnu.org/copyleft/gpl.html
|
||||
*
|
||||
* @file
|
||||
* @license GPL 2+
|
||||
* @author Daniel Kinzler
|
||||
*/
|
||||
use MediaWiki\Interwiki\InterwikiLookup;
|
||||
|
|
@ -26,7 +25,7 @@ use MediaWiki\MediaWikiServices;
|
|||
use MediaWiki\Linker\LinkTarget;
|
||||
|
||||
/**
|
||||
* A codec for %MediaWiki page titles.
|
||||
* A codec for MediaWiki page titles.
|
||||
*
|
||||
* @note Normalization and validation is applied while parsing, not when formatting.
|
||||
* It's possible to construct a TitleValue with an invalid title, and use MediaWikiTitleCodec
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
* http://www.gnu.org/copyleft/gpl.html
|
||||
*
|
||||
* @file
|
||||
* @license GPL 2+
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
* http://www.gnu.org/copyleft/gpl.html
|
||||
*
|
||||
* @file
|
||||
* @license GPL 2+
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
* http://www.gnu.org/copyleft/gpl.html
|
||||
*
|
||||
* @file
|
||||
* @license GPL 2+
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
* http://www.gnu.org/copyleft/gpl.html
|
||||
*
|
||||
* @file
|
||||
* @license GPL 2+
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
* http://www.gnu.org/copyleft/gpl.html
|
||||
*
|
||||
* @file
|
||||
* @license GPL 2+
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
/**
|
||||
* A title formatter service for %MediaWiki.
|
||||
* A title formatter service for 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
|
||||
|
|
@ -18,7 +18,6 @@
|
|||
* http://www.gnu.org/copyleft/gpl.html
|
||||
*
|
||||
* @file
|
||||
* @license GPL 2+
|
||||
* @author Daniel Kinzler
|
||||
*/
|
||||
use MediaWiki\Linker\LinkTarget;
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@
|
|||
* http://www.gnu.org/copyleft/gpl.html
|
||||
*
|
||||
* @file
|
||||
* @license GPL 2+
|
||||
* @author Daniel Kinzler
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
/**
|
||||
* Representation of a page title within %MediaWiki.
|
||||
* Representation of a page title within 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
|
||||
|
|
@ -18,14 +18,13 @@
|
|||
* http://www.gnu.org/copyleft/gpl.html
|
||||
*
|
||||
* @file
|
||||
* @license GPL 2+
|
||||
* @author Daniel Kinzler
|
||||
*/
|
||||
use MediaWiki\Linker\LinkTarget;
|
||||
use Wikimedia\Assert\Assert;
|
||||
|
||||
/**
|
||||
* Represents a page (or page fragment) title within %MediaWiki.
|
||||
* Represents a page (or page fragment) title within MediaWiki.
|
||||
*
|
||||
* @note In contrast to Title, this is designed to be a plain value object. That is,
|
||||
* it is immutable, does not use global state, and causes no side effects.
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ use Wikimedia\Http\HttpAcceptNegotiator;
|
|||
/**
|
||||
* @covers Wikimedia\Http\HttpAcceptNegotiator
|
||||
*
|
||||
* @license GPL-2.0+
|
||||
* @author Daniel Kinzler
|
||||
*/
|
||||
class HttpAcceptNegotiatorTest extends \PHPUnit_Framework_TestCase {
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ use Wikimedia\Http\HttpAcceptParser;
|
|||
/**
|
||||
* @covers Wikimedia\Http\HttpAcceptParser
|
||||
*
|
||||
* @license GPL-2.0+
|
||||
* @author Daniel Kinzler
|
||||
*/
|
||||
class HttpAcceptParserTest extends \PHPUnit_Framework_TestCase {
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@ use Wikimedia\Rdbms\ConnectionManager;
|
|||
/**
|
||||
* @covers Wikimedia\Rdbms\ConnectionManager
|
||||
*
|
||||
* @license GPL-2.0+
|
||||
* @author Daniel Kinzler
|
||||
*/
|
||||
class ConnectionManagerTest extends \PHPUnit_Framework_TestCase {
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@ use Wikimedia\Rdbms\SessionConsistentConnectionManager;
|
|||
/**
|
||||
* @covers Wikimedia\Rdbms\SessionConsistentConnectionManager
|
||||
*
|
||||
* @license GPL-2.0+
|
||||
* @author Daniel Kinzler
|
||||
*/
|
||||
class SessionConsistentConnectionManagerTest extends \PHPUnit_Framework_TestCase {
|
||||
|
|
|
|||
|
|
@ -2,10 +2,7 @@
|
|||
|
||||
/**
|
||||
* @covers PageDataRequestHandler
|
||||
*
|
||||
* @group PageData
|
||||
*
|
||||
* @license GPL-2.0+
|
||||
*/
|
||||
class PageDataRequestHandlerTest extends \MediaWikiTestCase {
|
||||
|
||||
|
|
|
|||
|
|
@ -2,12 +2,9 @@
|
|||
|
||||
/**
|
||||
* @covers SpecialPageData
|
||||
*
|
||||
* @group Database
|
||||
*
|
||||
* @group SpecialPage
|
||||
*
|
||||
* @license GPL-2.0+
|
||||
* @author Daniel Kinzler
|
||||
*/
|
||||
class SpecialPageDataTest extends SpecialPageTestBase {
|
||||
|
|
|
|||
|
|
@ -2,10 +2,8 @@
|
|||
|
||||
/**
|
||||
* @covers LanguageCode
|
||||
*
|
||||
* @group Language
|
||||
*
|
||||
* @license GPL-2.0+
|
||||
* @author Thiemo Kreuz
|
||||
*/
|
||||
class LanguageCodeTest extends PHPUnit_Framework_TestCase {
|
||||
|
|
|
|||
Loading…
Reference in a new issue