<?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
* 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;
* 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
*/
* http://www.gnu.org/copyleft/gpl.html
*
* @file
- * @license GPL 2+
* @author Matthew Flaschen
*/
* http://www.gnu.org/copyleft/gpl.html
*
* @file
- * @license GPL 2+
* @author Matthew Flaschen
*/
* http://www.gnu.org/copyleft/gpl.html
*
* @file
- * @license GPL 2+
* @author Matthew Flaschen
*/
<?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;
*
* @since 1.29
*
- * @license GPL-2.0+
* @author Addshore
*/
class ConnectionManager {
<?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;
*
* @since 1.29
*
- * @license GPL-2.0+
* @author Daniel Kinzler
* @author Addshore
*/
<?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;
/**
* Request handler implementing a data interface for mediawiki pages.
*
- * @license GPL-2.0+
* @author Daniel Kinzler
* @author Amir Sarabadanai
*/
-
class PageDataRequestHandler {
/**
* http://www.gnu.org/copyleft/gpl.html
*
* @file
- * @license GPL-2.0+
* @author Kunal Mehta <legoktm@member.fsf.org>
*/
namespace MediaWiki\Linker;
* http://www.gnu.org/copyleft/gpl.html
*
* @file
- * @license GPL-2.0+
* @author Kunal Mehta <legoktm@member.fsf.org>
*/
namespace MediaWiki\Linker;
* http://www.gnu.org/copyleft/gpl.html
*
* @file
- * @license GPL 2+
* @author Addshore
*/
namespace MediaWiki\Linker;
<?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 {
* @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
*/
/**
* http://www.gnu.org/copyleft/gpl.html
*
* @file
- * @license GPL 2+
*/
/**
* http://www.gnu.org/copyleft/gpl.html
*
* @file
- * @license GPL 2+
*/
/**
<?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
* http://www.gnu.org/copyleft/gpl.html
*
* @file
- * @license GPL 2+
* @author Daniel Kinzler
*/
use MediaWiki\Interwiki\InterwikiLookup;
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
* http://www.gnu.org/copyleft/gpl.html
*
* @file
- * @license GPL 2+
*/
/**
* http://www.gnu.org/copyleft/gpl.html
*
* @file
- * @license GPL 2+
*/
/**
* http://www.gnu.org/copyleft/gpl.html
*
* @file
- * @license GPL 2+
*/
/**
* http://www.gnu.org/copyleft/gpl.html
*
* @file
- * @license GPL 2+
*/
/**
* http://www.gnu.org/copyleft/gpl.html
*
* @file
- * @license GPL 2+
*/
/**
<?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
* http://www.gnu.org/copyleft/gpl.html
*
* @file
- * @license GPL 2+
* @author Daniel Kinzler
*/
use MediaWiki\Linker\LinkTarget;
* http://www.gnu.org/copyleft/gpl.html
*
* @file
- * @license GPL 2+
* @author Daniel Kinzler
*/
<?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
* 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.
/**
* @covers Wikimedia\Http\HttpAcceptNegotiator
*
- * @license GPL-2.0+
* @author Daniel Kinzler
*/
class HttpAcceptNegotiatorTest extends \PHPUnit_Framework_TestCase {
/**
* @covers Wikimedia\Http\HttpAcceptParser
*
- * @license GPL-2.0+
* @author Daniel Kinzler
*/
class HttpAcceptParserTest extends \PHPUnit_Framework_TestCase {
/**
* @covers Wikimedia\Rdbms\ConnectionManager
*
- * @license GPL-2.0+
* @author Daniel Kinzler
*/
class ConnectionManagerTest extends \PHPUnit_Framework_TestCase {
/**
* @covers Wikimedia\Rdbms\SessionConsistentConnectionManager
*
- * @license GPL-2.0+
* @author Daniel Kinzler
*/
class SessionConsistentConnectionManagerTest extends \PHPUnit_Framework_TestCase {
/**
* @covers PageDataRequestHandler
- *
* @group PageData
- *
- * @license GPL-2.0+
*/
class PageDataRequestHandlerTest extends \MediaWikiTestCase {
/**
* @covers SpecialPageData
- *
* @group Database
- *
* @group SpecialPage
*
- * @license GPL-2.0+
* @author Daniel Kinzler
*/
class SpecialPageDataTest extends SpecialPageTestBase {
/**
* @covers LanguageCode
- *
* @group Language
*
- * @license GPL-2.0+
* @author Thiemo Kreuz
*/
class LanguageCodeTest extends PHPUnit_Framework_TestCase {