jenkins-bot has submitted this change and it was merged.

Change subject: Standardise license tags in each file
......................................................................


Standardise license tags in each file

Also standardised the license headers, added AUTHORS file.

Bug: 56312
Change-Id: I68f3e777dacda271b9a258ef2b095801f17c039e
---
A AUTHORS
M BetaFeatures.i18n.php
M BetaFeatures.php
M BetaFeaturesHooks.php
M css/betafeatures.css
M includes/ApiListBetaFeatures.php
M includes/BetaFeaturesUtil.php
M includes/HTMLFeatureField.php
M includes/HTMLHorizontalRuleField.php
M includes/HTMLTextBlockField.php
M includes/NewHTMLCheckField.php
M includes/UpdateBetaFeatureUserCountsJob.php
M js/betafeatures.js
M js/ext.betaFeatures.popup.js
M js/mediawiki.ui.checkbox.js
M tests/AutoEnrollmentTest.php
M tests/DependentFeatureTest.php
M tests/HTMLFeatureFieldTest.php
M tests/HTMLHorizontalRuleTest.php
M tests/HTMLTextBlockTest.php
M tests/HooksRunTest.php
M tests/NewCheckFieldTest.php
M tests/PreferenceHandlingTest.php
23 files changed, 187 insertions(+), 55 deletions(-)

Approvals:
  Jforrester: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/AUTHORS b/AUTHORS
new file mode 100644
index 0000000..6584bc7
--- /dev/null
+++ b/AUTHORS
@@ -0,0 +1,13 @@
+Mark Holmquist <[email protected]>
+Ed Sanders <[email protected]>
+Bryan Davis <[email protected]>
+Sam Reed <[email protected]>
+Kunal Mehta <[email protected]>
+Amir E. Aharoni <[email protected]>
+Siebrand Mazeland <[email protected]>
+Ryan Kaldari <[email protected]>
+Federico Leva <[email protected]>
+James D. Forrester <[email protected]>
+MatmaRex <[email protected]>
+Yuki Shira <[email protected]>
+raymond <[email protected]>
diff --git a/BetaFeatures.i18n.php b/BetaFeatures.i18n.php
index 3522043..a401e8a 100644
--- a/BetaFeatures.i18n.php
+++ b/BetaFeatures.i18n.php
@@ -15,8 +15,12 @@
  * You should have received a copy of the GNU General Public License
  * along with BetaFeatures.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * BetaFeatures extension internationalisation
+ *
  * @file
- * @ingroup extensions
+ * @ingroup Extensions
+ * @copyright 2013 Mark Holmquist and others; see AUTHORS
+ * @license GNU General Public License version 2 or later
  */
 
 $messages = array();
diff --git a/BetaFeatures.php b/BetaFeatures.php
index 92fc9e5..4b15f7f 100644
--- a/BetaFeatures.php
+++ b/BetaFeatures.php
@@ -15,10 +15,12 @@
  * You should have received a copy of the GNU General Public License
  * along with BetaFeatures.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * BetaFeatures extension
+ *
  * @file
- * @ingroup extensions
- * @author Mark Holmquist <[email protected]>
- * @copyright Copyright © 2013, Mark Holmquist
+ * @ingroup Extensions
+ * @copyright 2013 Mark Holmquist and others; see AUTHORS
+ * @license GNU General Public License version 2 or later
  */
 
 $wgAutoloadClasses['BetaFeaturesHooks'] = __DIR__ . '/BetaFeaturesHooks.php';
diff --git a/BetaFeaturesHooks.php b/BetaFeaturesHooks.php
index 074c7b5..15c0a89 100644
--- a/BetaFeaturesHooks.php
+++ b/BetaFeaturesHooks.php
@@ -15,10 +15,12 @@
  * You should have received a copy of the GNU General Public License
  * along with BetaFeatures.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * BetaFeatures extension hooks
+ *
  * @file
- * @ingroup extensions
- * @author Mark Holmquist <[email protected]>
- * @copyright Copyright © 2013, Mark Holmquist
+ * @ingroup Extensions
+ * @copyright 2013 Mark Holmquist and others; see AUTHORS
+ * @license GNU General Public License version 2 or later
  */
 
 class BetaFeaturesMissingFieldException extends Exception {
diff --git a/css/betafeatures.css b/css/betafeatures.css
index 6a7708b..33b02bf 100644
--- a/css/betafeatures.css
+++ b/css/betafeatures.css
@@ -1,6 +1,26 @@
-/**
- * Stripped version of the core mediawiki styles used for agora-style
+/*!
+ * This file is part of the MediaWiki extension BetaFeatures.
+ *
+ * BetaFeatures 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.
+ *
+ * BetaFeatures 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 BetaFeatures.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * BetaFeatures styles.
+ *
+ * Stripped version of the core MediaWiki styles used for agora-style
  * checkboxes and feature fields.
+ *
+ * @copyright 2013 Mark Holmquist and others; see AUTHORS
+ * @license GNU General Public License version 2 or later
  */
 
 @charset "UTF-8";
diff --git a/includes/ApiListBetaFeatures.php b/includes/ApiListBetaFeatures.php
index e7ed3ad..5ef1c67 100644
--- a/includes/ApiListBetaFeatures.php
+++ b/includes/ApiListBetaFeatures.php
@@ -1,10 +1,26 @@
 <?php
 /**
+ * This file is part of the MediaWiki extension BetaFeatures.
+ *
+ * BetaFeatures 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.
+ *
+ * BetaFeatures 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 BetaFeatures.  If not, see <http://www.gnu.org/licenses/>.
+ *
  * Query module to list all available BetaFeatures
  *
  * @ingroup API
  * @file
  * @author Kunal Mehta <[email protected]>
+ * @license GNU General Public License version 2 or later
  */
 class ApiQueryBetaFeatures extends ApiQueryBase {
        public function __construct( $query, $moduleName ) {
diff --git a/includes/BetaFeaturesUtil.php b/includes/BetaFeaturesUtil.php
index e800072..731ed56 100644
--- a/includes/BetaFeaturesUtil.php
+++ b/includes/BetaFeaturesUtil.php
@@ -15,10 +15,12 @@
  * You should have received a copy of the GNU General Public License
  * along with BetaFeatures.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * BetaFeatures utilities
+ *
  * @file
- * @ingroup extensions
- * @author Mark Holmquist <[email protected]>
- * @copyright Copyright © 2013, Mark Holmquist
+ * @ingroup Extensions
+ * @copyright 2013 Mark Holmquist and others; see AUTHORS
+ * @license GNU General Public License version 2 or later
  */
 
 class BetaFeatures {
diff --git a/includes/HTMLFeatureField.php b/includes/HTMLFeatureField.php
index 83f71fc..e466e41 100644
--- a/includes/HTMLFeatureField.php
+++ b/includes/HTMLFeatureField.php
@@ -8,17 +8,19 @@
  * (at your option) any later version.
  *
  * BetaFeatures is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * 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 BetaFeatures.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * HTML feature field
+ *
  * @file
- * @ingroup extensions
- * @author Mark Holmquist <[email protected]>
- * @copyright Copyright © 2013, Mark Holmquist
+ * @ingroup Extensions
+ * @copyright 2013 Mark Holmquist and others; see AUTHORS
+ * @license GNU General Public License version 2 or later
  */
 
 class HTMLFeatureField extends NewHTMLCheckField {
diff --git a/includes/HTMLHorizontalRuleField.php 
b/includes/HTMLHorizontalRuleField.php
index f59121c..7e8a263 100644
--- a/includes/HTMLHorizontalRuleField.php
+++ b/includes/HTMLHorizontalRuleField.php
@@ -8,17 +8,19 @@
  * (at your option) any later version.
  *
  * BetaFeatures is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * 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 BetaFeatures.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * HTML horizontal rule field
+ *
  * @file
- * @ingroup extensions
- * @author Mark Holmquist <[email protected]>
- * @copyright Copyright © 2013, Mark Holmquist
+ * @ingroup Extensions
+ * @copyright 2013 Mark Holmquist and others; see AUTHORS
+ * @license GNU General Public License version 2 or later
  */
 
 class HTMLHorizontalRuleField extends HTMLFormField {
diff --git a/includes/HTMLTextBlockField.php b/includes/HTMLTextBlockField.php
index a2ddd9f..768a872 100644
--- a/includes/HTMLTextBlockField.php
+++ b/includes/HTMLTextBlockField.php
@@ -8,17 +8,19 @@
  * (at your option) any later version.
  *
  * BetaFeatures is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * 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 BetaFeatures.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * HTML text block field
+ *
  * @file
- * @ingroup extensions
- * @author Mark Holmquist <[email protected]>
- * @copyright Copyright © 2013, Mark Holmquist
+ * @ingroup Extensions
+ * @copyright 2013 Mark Holmquist and others; see AUTHORS
+ * @license GNU General Public License version 2 or later
  */
 
 class HTMLTextBlockField extends HTMLFormField {
diff --git a/includes/NewHTMLCheckField.php b/includes/NewHTMLCheckField.php
index c824bb7..1233a56 100644
--- a/includes/NewHTMLCheckField.php
+++ b/includes/NewHTMLCheckField.php
@@ -8,17 +8,19 @@
  * (at your option) any later version.
  *
  * BetaFeatures is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * 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 BetaFeatures.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * New HTML check field
+ *
  * @file
- * @ingroup extensions
- * @author Mark Holmquist <[email protected]>
- * @copyright Copyright © 2013, Mark Holmquist
+ * @ingroup Extensions
+ * @copyright 2013 Mark Holmquist and others; see AUTHORS
+ * @license GNU General Public License version 2 or later
  */
 
 class NewHTMLCheckField extends HTMLFormField {
diff --git a/includes/UpdateBetaFeatureUserCountsJob.php 
b/includes/UpdateBetaFeatureUserCountsJob.php
index acad7b1..a969071 100644
--- a/includes/UpdateBetaFeatureUserCountsJob.php
+++ b/includes/UpdateBetaFeatureUserCountsJob.php
@@ -15,10 +15,12 @@
  * You should have received a copy of the GNU General Public License
  * along with BetaFeatures.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * Job to update BetaFeatures user counts
+ *
  * @file
- * @ingroup extensions
- * @author Mark Holmquist <[email protected]>
- * @copyright Copyright © 2013, Mark Holmquist
+ * @ingroup Extensions
+ * @copyright 2013 Mark Holmquist and others; see AUTHORS
+ * @license GNU General Public License version 2 or later
  */
 
 class UpdateBetaFeatureUserCountsJob extends Job {
diff --git a/js/betafeatures.js b/js/betafeatures.js
index c353dbb..4dcbd54 100644
--- a/js/betafeatures.js
+++ b/js/betafeatures.js
@@ -1,3 +1,25 @@
+/*!
+ * This file is part of the MediaWiki extension BetaFeatures.
+ *
+ * BetaFeatures 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.
+ *
+ * BetaFeatures 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 BetaFeatures.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * BetaFeatures initialization
+ *
+ * @copyright 2013 Mark Holmquist and others; see AUTHORS
+ * @license GNU General Public License version 2 or later
+ */
+
 ( function ( mw, $ ) {
        $( function () {
                var preference, blacklist, $input, $field,
diff --git a/js/ext.betaFeatures.popup.js b/js/ext.betaFeatures.popup.js
index 540296e..7f037b6 100644
--- a/js/ext.betaFeatures.popup.js
+++ b/js/ext.betaFeatures.popup.js
@@ -13,6 +13,9 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with BetaFeatures.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * @copyright 2013 Mark Holmquist and others; see AUTHORS
+ * @license GNU General Public License version 2 or later
  */
 
 ( function ( mw, $ ) {
diff --git a/js/mediawiki.ui.checkbox.js b/js/mediawiki.ui.checkbox.js
index b7f78af..4c3ad19 100644
--- a/js/mediawiki.ui.checkbox.js
+++ b/js/mediawiki.ui.checkbox.js
@@ -1,3 +1,25 @@
+/*!
+ * This file is part of the MediaWiki extension BetaFeatures.
+ *
+ * BetaFeatures 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.
+ *
+ * BetaFeatures 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 BetaFeatures.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * MediaWiki UserInterface checkbox
+ *
+ * @copyright 2013 Mark Holmquist and others; see AUTHORS
+ * @license GNU General Public License version 2 or later
+ */
+
 ( function ( mw, $ ) {
        $( function () {
                /**
diff --git a/tests/AutoEnrollmentTest.php b/tests/AutoEnrollmentTest.php
index 83e8ceb..d94fcb6 100644
--- a/tests/AutoEnrollmentTest.php
+++ b/tests/AutoEnrollmentTest.php
@@ -15,10 +15,12 @@
  * You should have received a copy of the GNU General Public License
  * along with BetaFeatures.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * Auto enrollment tests
+ *
  * @file
- * @ingroup extensions
- * @author Mark Holmquist <[email protected]>
- * @copyright Copyright © 2013, Mark Holmquist
+ * @ingroup Extensions
+ * @copyright 2013 Mark Holmquist and others; see AUTHORS
+ * @license GNU General Public License version 2 or later
  */
 
 class AutoEnrollmentTest extends MediaWikiTestCase {
diff --git a/tests/DependentFeatureTest.php b/tests/DependentFeatureTest.php
index 98dbfc2..af6ae91 100644
--- a/tests/DependentFeatureTest.php
+++ b/tests/DependentFeatureTest.php
@@ -15,10 +15,12 @@
  * You should have received a copy of the GNU General Public License
  * along with BetaFeatures.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * Dependent feature tests
+ *
  * @file
- * @ingroup extensions
- * @author Mark Holmquist <[email protected]>
- * @copyright Copyright © 2013, Mark Holmquist
+ * @ingroup Extensions
+ * @copyright 2013 Mark Holmquist and others; see AUTHORS
+ * @license GNU General Public License version 2 or later
  */
 
 class DependentFeatureTest extends MediaWikiTestCase {
diff --git a/tests/HTMLFeatureFieldTest.php b/tests/HTMLFeatureFieldTest.php
index ecf5127..47e9961 100644
--- a/tests/HTMLFeatureFieldTest.php
+++ b/tests/HTMLFeatureFieldTest.php
@@ -15,10 +15,12 @@
  * You should have received a copy of the GNU General Public License
  * along with BetaFeatures.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * HTML feature field tests
+ *
  * @file
- * @ingroup extensions
- * @author Mark Holmquist <[email protected]>
- * @copyright Copyright © 2013, Mark Holmquist
+ * @ingroup Extensions
+ * @copyright 2013 Mark Holmquist and others; see AUTHORS
+ * @license GNU General Public License version 2 or later
  */
 
 class HTMLFeatureFieldTest extends MediaWikiTestCase {
diff --git a/tests/HTMLHorizontalRuleTest.php b/tests/HTMLHorizontalRuleTest.php
index 2fca9c7..c071bb6 100644
--- a/tests/HTMLHorizontalRuleTest.php
+++ b/tests/HTMLHorizontalRuleTest.php
@@ -15,10 +15,12 @@
  * You should have received a copy of the GNU General Public License
  * along with BetaFeatures.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * HTML horizontal rule tests
+ *
  * @file
- * @ingroup extensions
- * @author Mark Holmquist <[email protected]>
- * @copyright Copyright © 2013, Mark Holmquist
+ * @ingroup Extensions
+ * @copyright 2013 Mark Holmquist and others; see AUTHORS
+ * @license GNU General Public License version 2 or later
  */
 
 class HTMLHorizontalRuleFieldTest extends MediaWikiTestCase {
diff --git a/tests/HTMLTextBlockTest.php b/tests/HTMLTextBlockTest.php
index dc20a1e..13d4250 100644
--- a/tests/HTMLTextBlockTest.php
+++ b/tests/HTMLTextBlockTest.php
@@ -15,10 +15,12 @@
  * You should have received a copy of the GNU General Public License
  * along with BetaFeatures.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * HTML text block tests
+ *
  * @file
- * @ingroup extensions
- * @author Mark Holmquist <[email protected]>
- * @copyright Copyright © 2013, Mark Holmquist
+ * @ingroup Extensions
+ * @copyright 2013 Mark Holmquist and others; see AUTHORS
+ * @license GNU General Public License version 2 or later
  */
 
 class HTMLTextBlockFieldTest extends MediaWikiTestCase {
diff --git a/tests/HooksRunTest.php b/tests/HooksRunTest.php
index 85bc8bd..abd4946 100644
--- a/tests/HooksRunTest.php
+++ b/tests/HooksRunTest.php
@@ -15,10 +15,12 @@
  * You should have received a copy of the GNU General Public License
  * along with BetaFeatures.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * BetaFeatures hooks tests
+ *
  * @file
- * @ingroup extensions
- * @author Mark Holmquist <[email protected]>
- * @copyright Copyright © 2013, Mark Holmquist
+ * @ingroup Extensions
+ * @copyright 2013 Mark Holmquist and others; see AUTHORS
+ * @license GNU General Public License version 2 or later
  */
 
 class HooksRunTest extends MediaWikiTestCase {
diff --git a/tests/NewCheckFieldTest.php b/tests/NewCheckFieldTest.php
index be44e2d..08332e2 100644
--- a/tests/NewCheckFieldTest.php
+++ b/tests/NewCheckFieldTest.php
@@ -15,10 +15,12 @@
  * You should have received a copy of the GNU General Public License
  * along with BetaFeatures.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * New check field tests
+ *
  * @file
- * @ingroup extensions
- * @author Mark Holmquist <[email protected]>
- * @copyright Copyright © 2013, Mark Holmquist
+ * @ingroup Extensions
+ * @copyright 2013 Mark Holmquist and others; see AUTHORS
+ * @license GNU General Public License version 2 or later
  */
 
 class NewCheckFieldTest extends MediaWikiTestCase {
diff --git a/tests/PreferenceHandlingTest.php b/tests/PreferenceHandlingTest.php
index 68a6476..f3d5438 100644
--- a/tests/PreferenceHandlingTest.php
+++ b/tests/PreferenceHandlingTest.php
@@ -15,10 +15,12 @@
  * You should have received a copy of the GNU General Public License
  * along with BetaFeatures.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * Preference handling tests
+ *
  * @file
- * @ingroup extensions
- * @author Mark Holmquist <[email protected]>
- * @copyright Copyright © 2013, Mark Holmquist
+ * @ingroup Extensions
+ * @copyright 2013 Mark Holmquist and others; see AUTHORS
+ * @license GNU General Public License version 2 or later
  */
 
 class PreferenceHandlingTest extends MediaWikiTestCase {

-- 
To view, visit https://gerrit.wikimedia.org/r/92525
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I68f3e777dacda271b9a258ef2b095801f17c039e
Gerrit-PatchSet: 6
Gerrit-Project: mediawiki/extensions/BetaFeatures
Gerrit-Branch: master
Gerrit-Owner: Esanders <[email protected]>
Gerrit-Reviewer: Brian Wolff <[email protected]>
Gerrit-Reviewer: Esanders <[email protected]>
Gerrit-Reviewer: Jforrester <[email protected]>
Gerrit-Reviewer: Krinkle <[email protected]>
Gerrit-Reviewer: LuisVilla <[email protected]>
Gerrit-Reviewer: MarkTraceur <[email protected]>
Gerrit-Reviewer: Nikerabbit <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to