Thiemo Mättig (WMDE) has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/385171 )
Change subject: Add missing @license and initial @author tags ...................................................................... Add missing @license and initial @author tags I found these candidates by searching for classes that start with a comment, but the comment does not contain a @license tag. I added the initial @author that introduced the class, but I did this only if the same author name already appears in other classes in the same code base. Some people never added their name as an @author, so I left them out. Change-Id: I1faa844f9695f6e5e78df6ce23b993f0659aa754 --- M client/tests/phpunit/includes/Hooks/EchoNotificationsHandlersTest.php M client/tests/phpunit/includes/Hooks/EchoSetupHookHandlersTest.php M client/tests/phpunit/includes/Notifications/PageConnectionPresentationModelTest.php M lib/includes/Interactors/TermSearchResult.php M lib/includes/Serialization/CallbackFactory.php M lib/includes/Serialization/SerializationModifier.php M lib/tests/phpunit/Changes/MockRepoClientCentralIdLookup.php M lib/tests/phpunit/Modules/SitesModuleWorkerTest.php M lib/tests/phpunit/Serialization/SerializationModifierTest.php M repo/includes/BuilderBasedDataTypeValidatorFactory.php M repo/includes/Diff/DifferencesSnakVisualizer.php M repo/includes/Hooks/EditFilterHookRunner.php M repo/includes/Modules/PropertyValueExpertsModule.php M repo/includes/Notifications/HookChangeTransmitter.php M repo/includes/Search/Elastic/ElasticTermResult.php M repo/includes/Search/Elastic/EntitySearchElastic.php M repo/includes/Search/Elastic/Fields/AllLabelsField.php M repo/includes/Search/Elastic/Fields/DescriptionsField.php M repo/includes/Search/Elastic/Fields/DescriptionsProviderFieldDefinitions.php M repo/includes/Search/Elastic/Fields/FieldDefinitions.php M repo/includes/Search/Elastic/Fields/ItemFieldDefinitions.php M repo/includes/Search/Elastic/Fields/LabelsField.php M repo/includes/Search/Elastic/Fields/LabelsProviderFieldDefinitons.php M repo/includes/Search/Elastic/Fields/PropertyFieldDefinitions.php M repo/includes/Search/Elastic/Fields/StatementProviderFieldDefinitions.php M repo/includes/Search/Elastic/Fields/StatementsField.php M repo/includes/Search/Elastic/Fields/TermIndexField.php M repo/includes/Search/Elastic/Fields/WikibaseNumericField.php M repo/includes/Search/Elastic/WikibasePrefixSearcher.php M repo/includes/View/RepoSpecialPageLinker.php M repo/includes/View/WikibaseHtmlSnakFormatterFactory.php M repo/maintenance/SPARQLClient.php M repo/maintenance/searchEntities.php M repo/tests/phpunit/includes/Api/IntegrationApiTest.php M repo/tests/phpunit/includes/Search/Elastic/ElasticTermResultTest.php M repo/tests/phpunit/includes/Search/Elastic/EntitySearchElasticTest.php M repo/tests/phpunit/includes/Search/Elastic/Fields/AllLabelsFieldTest.php M repo/tests/phpunit/includes/Search/Elastic/Fields/ItemFieldDefinitionsTest.php M repo/tests/phpunit/includes/Search/Elastic/Fields/LabelsFieldTest.php M repo/tests/phpunit/includes/Search/Elastic/Fields/LabelsProviderFieldDefinitionsTest.php M repo/tests/phpunit/includes/Search/Elastic/Fields/StatementsFieldTest.php M repo/tests/phpunit/includes/Search/Elastic/Fields/WikibaseNumericFieldTest.php M repo/tests/phpunit/includes/Specials/HTMLForm/HTMLContentLanguageFieldTest.php M repo/tests/phpunit/includes/View/RepoSpecialPageLinkerTest.php 44 files changed, 105 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase refs/changes/71/385171/1 diff --git a/client/tests/phpunit/includes/Hooks/EchoNotificationsHandlersTest.php b/client/tests/phpunit/includes/Hooks/EchoNotificationsHandlersTest.php index 68ae3eb..1b13ffc 100644 --- a/client/tests/phpunit/includes/Hooks/EchoNotificationsHandlersTest.php +++ b/client/tests/phpunit/includes/Hooks/EchoNotificationsHandlersTest.php @@ -19,6 +19,9 @@ * @group Database * @group WikibaseClient * @group Wikibase + * + * @license GPL-2.0+ + * @author Matěj Suchánek */ class EchoNotificationsHandlersTest extends MediaWikiTestCase { diff --git a/client/tests/phpunit/includes/Hooks/EchoSetupHookHandlersTest.php b/client/tests/phpunit/includes/Hooks/EchoSetupHookHandlersTest.php index bdc22c7..0b0c462 100644 --- a/client/tests/phpunit/includes/Hooks/EchoSetupHookHandlersTest.php +++ b/client/tests/phpunit/includes/Hooks/EchoSetupHookHandlersTest.php @@ -13,6 +13,9 @@ * @group Database * @group WikibaseClient * @group Wikibase + * + * @license GPL-2.0+ + * @author Katie Filbert < aude.w...@gmail.com > */ class EchoSetupHookHandlersTest extends MediaWikiTestCase { diff --git a/client/tests/phpunit/includes/Notifications/PageConnectionPresentationModelTest.php b/client/tests/phpunit/includes/Notifications/PageConnectionPresentationModelTest.php index 3bbf070..8d579d9 100644 --- a/client/tests/phpunit/includes/Notifications/PageConnectionPresentationModelTest.php +++ b/client/tests/phpunit/includes/Notifications/PageConnectionPresentationModelTest.php @@ -17,6 +17,9 @@ * * @group Database * @group Wikibase + * + * @license GPL-2.0+ + * @author Matěj Suchánek */ class PageConnectionPresentationModelTest extends MediaWikiTestCase { diff --git a/lib/includes/Interactors/TermSearchResult.php b/lib/includes/Interactors/TermSearchResult.php index 1ae5c28..96ed20a 100644 --- a/lib/includes/Interactors/TermSearchResult.php +++ b/lib/includes/Interactors/TermSearchResult.php @@ -7,6 +7,7 @@ use Wikimedia\Assert\Assert; /** + * @license GPL-2.0+ * @author Addshore */ class TermSearchResult { diff --git a/lib/includes/Serialization/CallbackFactory.php b/lib/includes/Serialization/CallbackFactory.php index da724c9..1d17740 100644 --- a/lib/includes/Serialization/CallbackFactory.php +++ b/lib/includes/Serialization/CallbackFactory.php @@ -8,6 +8,7 @@ use Wikibase\DataModel\Services\Lookup\PropertyDataTypeLookupException; /** + * @license GPL-2.0+ * @author Addshore */ class CallbackFactory { diff --git a/lib/includes/Serialization/SerializationModifier.php b/lib/includes/Serialization/SerializationModifier.php index c335cea..88b3331 100644 --- a/lib/includes/Serialization/SerializationModifier.php +++ b/lib/includes/Serialization/SerializationModifier.php @@ -7,6 +7,7 @@ * * This could easily be factored out into a library. * + * @license GPL-2.0+ * @author Addshore */ class SerializationModifier { diff --git a/lib/tests/phpunit/Changes/MockRepoClientCentralIdLookup.php b/lib/tests/phpunit/Changes/MockRepoClientCentralIdLookup.php index 6e34cbd..49dc4ff 100644 --- a/lib/tests/phpunit/Changes/MockRepoClientCentralIdLookup.php +++ b/lib/tests/phpunit/Changes/MockRepoClientCentralIdLookup.php @@ -17,6 +17,9 @@ * * We don't need the methods that operate by username, so we don't implement them and * instead reimplement the methods used by Wikibase. + * + * @license GPL-2.0+ + * @author Matthew Flaschen < mflasc...@wikimedia.org > */ class MockRepoClientCentralIdLookup extends CentralIdLookup { /** diff --git a/lib/tests/phpunit/Modules/SitesModuleWorkerTest.php b/lib/tests/phpunit/Modules/SitesModuleWorkerTest.php index c657b71..eed7059 100644 --- a/lib/tests/phpunit/Modules/SitesModuleWorkerTest.php +++ b/lib/tests/phpunit/Modules/SitesModuleWorkerTest.php @@ -21,6 +21,7 @@ * * @group Wikibase * + * @license GPL-2.0+ * @author Adrian Heine <adrian.he...@wikimedia.de> */ class SitesModuleWorkerTest extends PHPUnit_Framework_TestCase { diff --git a/lib/tests/phpunit/Serialization/SerializationModifierTest.php b/lib/tests/phpunit/Serialization/SerializationModifierTest.php index 32b3349..0502aa6 100644 --- a/lib/tests/phpunit/Serialization/SerializationModifierTest.php +++ b/lib/tests/phpunit/Serialization/SerializationModifierTest.php @@ -6,11 +6,12 @@ use Wikibase\Lib\Serialization\SerializationModifier; /** - * @author Addshore + * @covers Wikibase\Lib\Serialization\SerializationModifier * * @group Wikibase * - * @covers Wikibase\Lib\Serialization\SerializationModifier + * @license GPL-2.0+ + * @author Addshore */ class SerializationModifierTest extends PHPUnit_Framework_TestCase { diff --git a/repo/includes/BuilderBasedDataTypeValidatorFactory.php b/repo/includes/BuilderBasedDataTypeValidatorFactory.php index 67b98d4..e5aad4f 100644 --- a/repo/includes/BuilderBasedDataTypeValidatorFactory.php +++ b/repo/includes/BuilderBasedDataTypeValidatorFactory.php @@ -9,6 +9,7 @@ /** * A factory providing ValueValidators based on factory callbacks. * + * @license GPL-2.0+ * @author Adrian Heine <adrian.he...@wikimedia.de> */ class BuilderBasedDataTypeValidatorFactory implements DataTypeValidatorFactory { diff --git a/repo/includes/Diff/DifferencesSnakVisualizer.php b/repo/includes/Diff/DifferencesSnakVisualizer.php index 7fc5d2c..d613e68 100644 --- a/repo/includes/Diff/DifferencesSnakVisualizer.php +++ b/repo/includes/Diff/DifferencesSnakVisualizer.php @@ -12,6 +12,7 @@ /** * Visualizes Snaks for difference views * + * @license GPL-2.0+ * @author Adrian Heine <adrian.he...@wikimedia.de> */ class DifferencesSnakVisualizer { diff --git a/repo/includes/Hooks/EditFilterHookRunner.php b/repo/includes/Hooks/EditFilterHookRunner.php index dfc77a4..1125ea6 100644 --- a/repo/includes/Hooks/EditFilterHookRunner.php +++ b/repo/includes/Hooks/EditFilterHookRunner.php @@ -22,6 +22,7 @@ /** * Class to run the EditFilterMergedContent hook * + * @license GPL-2.0+ * @author Addshore */ class EditFilterHookRunner { diff --git a/repo/includes/Modules/PropertyValueExpertsModule.php b/repo/includes/Modules/PropertyValueExpertsModule.php index 928af32..28da4d8 100644 --- a/repo/includes/Modules/PropertyValueExpertsModule.php +++ b/repo/includes/Modules/PropertyValueExpertsModule.php @@ -9,6 +9,8 @@ * Module exporting map from property type to expert module name handling this type * * @note Tested via wikibase.experts.modules.tests.js + * + * @license GPL-2.0+ */ class PropertyValueExpertsModule extends \ResourceLoaderModule { diff --git a/repo/includes/Notifications/HookChangeTransmitter.php b/repo/includes/Notifications/HookChangeTransmitter.php index 9f38f7c..0ac03c9 100644 --- a/repo/includes/Notifications/HookChangeTransmitter.php +++ b/repo/includes/Notifications/HookChangeTransmitter.php @@ -9,6 +9,7 @@ /** * Change notification channel using MediaWiki's global scope Hook facility. * + * @license GPL-2.0+ * @author Daniel Kinzler */ class HookChangeTransmitter implements ChangeTransmitter { diff --git a/repo/includes/Search/Elastic/ElasticTermResult.php b/repo/includes/Search/Elastic/ElasticTermResult.php index c0c379c..1f40d84 100644 --- a/repo/includes/Search/Elastic/ElasticTermResult.php +++ b/repo/includes/Search/Elastic/ElasticTermResult.php @@ -13,6 +13,9 @@ /** * This result type implements the result for searching * a Wikibase entity by its label or alias. + * + * @license GPL-2.0+ + * @author Stas Malyshev */ class ElasticTermResult implements ResultsType { diff --git a/repo/includes/Search/Elastic/EntitySearchElastic.php b/repo/includes/Search/Elastic/EntitySearchElastic.php index 5e94101..d9d8eec 100644 --- a/repo/includes/Search/Elastic/EntitySearchElastic.php +++ b/repo/includes/Search/Elastic/EntitySearchElastic.php @@ -19,6 +19,9 @@ /** * Entity search implementation using ElasticSearch. * Requires CirrusSearch extension and $wgEntitySearchUseCirrus to be on. + * + * @license GPL-2.0+ + * @author Stas Malyshev */ class EntitySearchElastic implements EntitySearchHelper { diff --git a/repo/includes/Search/Elastic/Fields/AllLabelsField.php b/repo/includes/Search/Elastic/Fields/AllLabelsField.php index 7a2c8a3..cdce12c 100644 --- a/repo/includes/Search/Elastic/Fields/AllLabelsField.php +++ b/repo/includes/Search/Elastic/Fields/AllLabelsField.php @@ -7,6 +7,9 @@ /** * Field which contains combination of all labels. + * + * @license GPL-2.0+ + * @author Stas Malyshev */ class AllLabelsField extends TermIndexField { diff --git a/repo/includes/Search/Elastic/Fields/DescriptionsField.php b/repo/includes/Search/Elastic/Fields/DescriptionsField.php index 59bf1c4..afd0980 100644 --- a/repo/includes/Search/Elastic/Fields/DescriptionsField.php +++ b/repo/includes/Search/Elastic/Fields/DescriptionsField.php @@ -7,6 +7,9 @@ /** * Field which contains per-language specific descriptions. + * + * @license GPL-2.0+ + * @author Stas Malyshev */ class DescriptionsField implements WikibaseIndexField { diff --git a/repo/includes/Search/Elastic/Fields/DescriptionsProviderFieldDefinitions.php b/repo/includes/Search/Elastic/Fields/DescriptionsProviderFieldDefinitions.php index d7a9008..bd3c204 100644 --- a/repo/includes/Search/Elastic/Fields/DescriptionsProviderFieldDefinitions.php +++ b/repo/includes/Search/Elastic/Fields/DescriptionsProviderFieldDefinitions.php @@ -4,6 +4,9 @@ /** * Definitions for any entity that has descriptions. + * + * @license GPL-2.0+ + * @author Stas Malyshev */ class DescriptionsProviderFieldDefinitions implements FieldDefinitions { diff --git a/repo/includes/Search/Elastic/Fields/FieldDefinitions.php b/repo/includes/Search/Elastic/Fields/FieldDefinitions.php index 5beb7e8..8c29ead 100644 --- a/repo/includes/Search/Elastic/Fields/FieldDefinitions.php +++ b/repo/includes/Search/Elastic/Fields/FieldDefinitions.php @@ -5,6 +5,9 @@ * This is a collection of field definitions. * This interface should be implemented by specific definition * classes which know which fields they deal with. + * + * @license GPL-2.0+ + * @author Stas Malyshev */ interface FieldDefinitions { diff --git a/repo/includes/Search/Elastic/Fields/ItemFieldDefinitions.php b/repo/includes/Search/Elastic/Fields/ItemFieldDefinitions.php index 853b1c5..fe7d4d1 100644 --- a/repo/includes/Search/Elastic/Fields/ItemFieldDefinitions.php +++ b/repo/includes/Search/Elastic/Fields/ItemFieldDefinitions.php @@ -4,6 +4,9 @@ /** * Search fields that are used for items. + * + * @license GPL-2.0+ + * @author Stas Malyshev */ class ItemFieldDefinitions implements FieldDefinitions { diff --git a/repo/includes/Search/Elastic/Fields/LabelsField.php b/repo/includes/Search/Elastic/Fields/LabelsField.php index d2f84b3..808cb84 100644 --- a/repo/includes/Search/Elastic/Fields/LabelsField.php +++ b/repo/includes/Search/Elastic/Fields/LabelsField.php @@ -9,6 +9,9 @@ /** * Field which contains per-language specific labels. + * + * @license GPL-2.0+ + * @author Stas Malyshev */ class LabelsField extends TermIndexField { diff --git a/repo/includes/Search/Elastic/Fields/LabelsProviderFieldDefinitons.php b/repo/includes/Search/Elastic/Fields/LabelsProviderFieldDefinitons.php index 2c0963d..c0cc434 100644 --- a/repo/includes/Search/Elastic/Fields/LabelsProviderFieldDefinitons.php +++ b/repo/includes/Search/Elastic/Fields/LabelsProviderFieldDefinitons.php @@ -4,6 +4,9 @@ /** * Definitions for any entity that has labels. + * + * @license GPL-2.0+ + * @author Stas Malyshev */ class LabelsProviderFieldDefinitions implements FieldDefinitions { diff --git a/repo/includes/Search/Elastic/Fields/PropertyFieldDefinitions.php b/repo/includes/Search/Elastic/Fields/PropertyFieldDefinitions.php index b5b2d5a..8ae8493 100644 --- a/repo/includes/Search/Elastic/Fields/PropertyFieldDefinitions.php +++ b/repo/includes/Search/Elastic/Fields/PropertyFieldDefinitions.php @@ -4,6 +4,9 @@ /** * Search fields that are used for properties. + * + * @license GPL-2.0+ + * @author Stas Malyshev */ class PropertyFieldDefinitions implements FieldDefinitions { diff --git a/repo/includes/Search/Elastic/Fields/StatementProviderFieldDefinitions.php b/repo/includes/Search/Elastic/Fields/StatementProviderFieldDefinitions.php index 87599fa..22ea44f 100644 --- a/repo/includes/Search/Elastic/Fields/StatementProviderFieldDefinitions.php +++ b/repo/includes/Search/Elastic/Fields/StatementProviderFieldDefinitions.php @@ -4,6 +4,9 @@ /** * Fields for an object that has statements. + * + * @license GPL-2.0+ + * @author Stas Malyshev */ class StatementProviderFieldDefinitions implements FieldDefinitions { diff --git a/repo/includes/Search/Elastic/Fields/StatementsField.php b/repo/includes/Search/Elastic/Fields/StatementsField.php index 9a035ec..4d265cc 100644 --- a/repo/includes/Search/Elastic/Fields/StatementsField.php +++ b/repo/includes/Search/Elastic/Fields/StatementsField.php @@ -14,6 +14,9 @@ /** * Field indexing statements for particular item. + * + * @license GPL-2.0+ + * @author Stas Malyshev */ class StatementsField extends SearchIndexFieldDefinition implements WikibaseIndexField { diff --git a/repo/includes/Search/Elastic/Fields/TermIndexField.php b/repo/includes/Search/Elastic/Fields/TermIndexField.php index 9a16c51..a6e7879 100644 --- a/repo/includes/Search/Elastic/Fields/TermIndexField.php +++ b/repo/includes/Search/Elastic/Fields/TermIndexField.php @@ -10,6 +10,9 @@ /** * Generic class for fields that index terms such as labels. * This class applies only to ElasticSearch fields currently. + * + * @license GPL-2.0+ + * @author Stas Malyshev */ abstract class TermIndexField extends SearchIndexFieldDefinition implements WikibaseIndexField { diff --git a/repo/includes/Search/Elastic/Fields/WikibaseNumericField.php b/repo/includes/Search/Elastic/Fields/WikibaseNumericField.php index 54ae511..64c89ca 100644 --- a/repo/includes/Search/Elastic/Fields/WikibaseNumericField.php +++ b/repo/includes/Search/Elastic/Fields/WikibaseNumericField.php @@ -1,10 +1,14 @@ <?php + namespace Wikibase\Repo\Search\Elastic\Fields; use SearchEngine; /** * Generic numeric field. + * + * @license GPL-2.0+ + * @author Stas Malyshev */ abstract class WikibaseNumericField implements WikibaseIndexField { diff --git a/repo/includes/Search/Elastic/WikibasePrefixSearcher.php b/repo/includes/Search/Elastic/WikibasePrefixSearcher.php index 879a0af..fbc4468 100644 --- a/repo/includes/Search/Elastic/WikibasePrefixSearcher.php +++ b/repo/includes/Search/Elastic/WikibasePrefixSearcher.php @@ -13,6 +13,9 @@ /** * Searcher class for performing Wikibase prefix search. * @see \CirrusSearch\Searcher + * + * @license GPL-2.0+ + * @author Stas Malyshev */ class WikibasePrefixSearcher extends Searcher { /** diff --git a/repo/includes/View/RepoSpecialPageLinker.php b/repo/includes/View/RepoSpecialPageLinker.php index 4f953d4..86933f7 100644 --- a/repo/includes/View/RepoSpecialPageLinker.php +++ b/repo/includes/View/RepoSpecialPageLinker.php @@ -8,6 +8,7 @@ /** * A SpecialPageLinker implementation linking to special pages of the local MediaWiki installation. * + * @license GPL-2.0+ * @author Adrian Heine <adrian.he...@wikimedia.de> */ class RepoSpecialPageLinker implements SpecialPageLinker { diff --git a/repo/includes/View/WikibaseHtmlSnakFormatterFactory.php b/repo/includes/View/WikibaseHtmlSnakFormatterFactory.php index fb85a94..c91de92 100644 --- a/repo/includes/View/WikibaseHtmlSnakFormatterFactory.php +++ b/repo/includes/View/WikibaseHtmlSnakFormatterFactory.php @@ -14,6 +14,7 @@ /** * An HtmlSnakFormatterFactory implementation using an OutputFormatSnakFormatterFactory * + * @license GPL-2.0+ * @author Adrian Heine <adrian.he...@wikimedia.de> */ class WikibaseHtmlSnakFormatterFactory implements HtmlSnakFormatterFactory { diff --git a/repo/maintenance/SPARQLClient.php b/repo/maintenance/SPARQLClient.php index dcb8a60..44c3118 100644 --- a/repo/maintenance/SPARQLClient.php +++ b/repo/maintenance/SPARQLClient.php @@ -6,6 +6,9 @@ /** * Simple SPARQL client + * + * @license GPL-2.0+ + * @author Stas Malyshev */ class SPARQLClient { diff --git a/repo/maintenance/searchEntities.php b/repo/maintenance/searchEntities.php index 8d1f29c..f07e241 100644 --- a/repo/maintenance/searchEntities.php +++ b/repo/maintenance/searchEntities.php @@ -21,6 +21,9 @@ * * The script accepts search requests from stdin, line by line, * and outputs results, preserving order. + * + * @license GPL-2.0+ + * @author Stas Malyshev */ class SearchEntities extends Maintenance { /** diff --git a/repo/tests/phpunit/includes/Api/IntegrationApiTest.php b/repo/tests/phpunit/includes/Api/IntegrationApiTest.php index 1ae5035..ff788f1 100644 --- a/repo/tests/phpunit/includes/Api/IntegrationApiTest.php +++ b/repo/tests/phpunit/includes/Api/IntegrationApiTest.php @@ -17,6 +17,7 @@ * @group Database * @group medium * + * @license GPL-2.0+ * @author Addshore */ class IntegrationApiTest extends ApiTestCase { diff --git a/repo/tests/phpunit/includes/Search/Elastic/ElasticTermResultTest.php b/repo/tests/phpunit/includes/Search/Elastic/ElasticTermResultTest.php index 0f49413..bb6748b 100644 --- a/repo/tests/phpunit/includes/Search/Elastic/ElasticTermResultTest.php +++ b/repo/tests/phpunit/includes/Search/Elastic/ElasticTermResultTest.php @@ -13,7 +13,11 @@ /** * @covers ElasticTermResult + * * @group Wikibase + * + * @license GPL-2.0+ + * @author Stas Malyshev */ class ElasticTermResultTest extends MediaWikiTestCase { diff --git a/repo/tests/phpunit/includes/Search/Elastic/EntitySearchElasticTest.php b/repo/tests/phpunit/includes/Search/Elastic/EntitySearchElasticTest.php index 43fc710..7c7b95f 100644 --- a/repo/tests/phpunit/includes/Search/Elastic/EntitySearchElasticTest.php +++ b/repo/tests/phpunit/includes/Search/Elastic/EntitySearchElasticTest.php @@ -11,6 +11,9 @@ * @covers \Wikibase\Repo\Search\Elastic\EntitySearchElastic * * @group Wikibase + * + * @license GPL-2.0+ + * @author Stas Malyshev */ class EntitySearchElasticTest extends MediaWikiTestCase { diff --git a/repo/tests/phpunit/includes/Search/Elastic/Fields/AllLabelsFieldTest.php b/repo/tests/phpunit/includes/Search/Elastic/Fields/AllLabelsFieldTest.php index bff3c00..cefce8b 100644 --- a/repo/tests/phpunit/includes/Search/Elastic/Fields/AllLabelsFieldTest.php +++ b/repo/tests/phpunit/includes/Search/Elastic/Fields/AllLabelsFieldTest.php @@ -16,6 +16,8 @@ * @group WikibaseElastic * @group Wikibase * + * @license GPL-2.0+ + * @author Stas Malyshev */ class AllLabelsFieldTest extends PHPUnit_Framework_TestCase { diff --git a/repo/tests/phpunit/includes/Search/Elastic/Fields/ItemFieldDefinitionsTest.php b/repo/tests/phpunit/includes/Search/Elastic/Fields/ItemFieldDefinitionsTest.php index a604640..7e19eff 100644 --- a/repo/tests/phpunit/includes/Search/Elastic/Fields/ItemFieldDefinitionsTest.php +++ b/repo/tests/phpunit/includes/Search/Elastic/Fields/ItemFieldDefinitionsTest.php @@ -18,6 +18,9 @@ * @group WikibaseElastic * @group WikibaseRepo * @group Wikibase + * + * @license GPL-2.0+ + * @author Stas Malyshev */ class ItemFieldDefinitionsTest extends PHPUnit_Framework_TestCase { diff --git a/repo/tests/phpunit/includes/Search/Elastic/Fields/LabelsFieldTest.php b/repo/tests/phpunit/includes/Search/Elastic/Fields/LabelsFieldTest.php index 5ffa232..a94f61c 100644 --- a/repo/tests/phpunit/includes/Search/Elastic/Fields/LabelsFieldTest.php +++ b/repo/tests/phpunit/includes/Search/Elastic/Fields/LabelsFieldTest.php @@ -16,6 +16,8 @@ * @group WikibaseElastic * @group Wikibase * + * @license GPL-2.0+ + * @author Stas Malyshev */ class LabelsFieldTest extends PHPUnit_Framework_TestCase { diff --git a/repo/tests/phpunit/includes/Search/Elastic/Fields/LabelsProviderFieldDefinitionsTest.php b/repo/tests/phpunit/includes/Search/Elastic/Fields/LabelsProviderFieldDefinitionsTest.php index 15f25df..a3ef4aa 100644 --- a/repo/tests/phpunit/includes/Search/Elastic/Fields/LabelsProviderFieldDefinitionsTest.php +++ b/repo/tests/phpunit/includes/Search/Elastic/Fields/LabelsProviderFieldDefinitionsTest.php @@ -15,6 +15,9 @@ * @group WikibaseElastic * @group WikibaseRepo * @group Wikibase + * + * @license GPL-2.0+ + * @author Stas Malyshev */ class LabelsProviderFieldDefinitionsTest extends PHPUnit_Framework_TestCase { diff --git a/repo/tests/phpunit/includes/Search/Elastic/Fields/StatementsFieldTest.php b/repo/tests/phpunit/includes/Search/Elastic/Fields/StatementsFieldTest.php index 5755352..ae55e3f 100644 --- a/repo/tests/phpunit/includes/Search/Elastic/Fields/StatementsFieldTest.php +++ b/repo/tests/phpunit/includes/Search/Elastic/Fields/StatementsFieldTest.php @@ -22,6 +22,9 @@ * * @group WikibaseElastic * @group Wikibase + * + * @license GPL-2.0+ + * @author Stas Malyshev */ class StatementsFieldTest extends PHPUnit_Framework_TestCase { diff --git a/repo/tests/phpunit/includes/Search/Elastic/Fields/WikibaseNumericFieldTest.php b/repo/tests/phpunit/includes/Search/Elastic/Fields/WikibaseNumericFieldTest.php index 7c79e1d..0e5e43c 100644 --- a/repo/tests/phpunit/includes/Search/Elastic/Fields/WikibaseNumericFieldTest.php +++ b/repo/tests/phpunit/includes/Search/Elastic/Fields/WikibaseNumericFieldTest.php @@ -10,6 +10,9 @@ /** * Base class for testing numeric fields. + * + * @license GPL-2.0+ + * @author Stas Malyshev */ abstract class WikibaseNumericFieldTest extends PHPUnit_Framework_TestCase { diff --git a/repo/tests/phpunit/includes/Specials/HTMLForm/HTMLContentLanguageFieldTest.php b/repo/tests/phpunit/includes/Specials/HTMLForm/HTMLContentLanguageFieldTest.php index 381daa5..be74e5a 100644 --- a/repo/tests/phpunit/includes/Specials/HTMLForm/HTMLContentLanguageFieldTest.php +++ b/repo/tests/phpunit/includes/Specials/HTMLForm/HTMLContentLanguageFieldTest.php @@ -7,6 +7,7 @@ /** * @covers Wikibase\Repo\Specials\HTMLForm\HTMLContentLanguageField * + * @license GPL-2.0+ * @group Wikibase */ class HTMLContentLanguageFieldTest extends \MediaWikiTestCase { diff --git a/repo/tests/phpunit/includes/View/RepoSpecialPageLinkerTest.php b/repo/tests/phpunit/includes/View/RepoSpecialPageLinkerTest.php index 29dd9ce..9e1005a 100644 --- a/repo/tests/phpunit/includes/View/RepoSpecialPageLinkerTest.php +++ b/repo/tests/phpunit/includes/View/RepoSpecialPageLinkerTest.php @@ -11,6 +11,7 @@ * * @group Wikibase * + * @license GPL-2.0+ * @author Adrian Heine <adrian.he...@wikimedia.de> */ class RepoSpecialPageLinkerTest extends MediaWikiLangTestCase { -- To view, visit https://gerrit.wikimedia.org/r/385171 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I1faa844f9695f6e5e78df6ce23b993f0659aa754 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Thiemo Mättig (WMDE) <thiemo.maet...@wikimedia.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits