Discussion:
[MediaWiki-commits] [Gerrit] mediawiki...MobileFrontend[master]: Remove PHPDoc block repeating the file name
Thiemo Kreuz (WMDE) (Code Review)
2017-12-27 15:47:46 UTC
Permalink
Thiemo Kreuz (WMDE) has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/400410 )

Change subject: Remove PHPDoc block repeating the file name
......................................................................

Remove PHPDoc block repeating the file name

I can see these have been added in a commit that aimed to improve the
PHPDoc comments in this code base back in 2014, see Ib5a9507. However,
I do not see the point in literally repeating the name of the file that
contains a comment. I assume this was to work around a bug in a specific
documentation generation tool.

Change-Id: I821845436d8a4cf62a95707d8662e205602c8ff0
---
M includes/BaseDomainExtractorInterface.php
M includes/Minerva.hooks.php
M includes/MobileContext.php
M includes/MobileFormatter.php
M includes/MobileFrontend.body.php
M includes/MobileFrontend.hooks.php
M includes/MobileUI.php
M includes/WMFBaseDomainExtractor.php
M includes/api/ApiMobileView.php
M includes/api/ApiParseExtender.php
M includes/api/ApiWebappManifest.php
M includes/diff/InlineDiffFormatter.php
M includes/diff/InlineDifferenceEngine.php
M includes/models/MobileCollection.php
M includes/models/MobilePage.php
M includes/modules/MobileSiteModule.php
M includes/skins/MinervaTemplate.php
M includes/skins/SkinMinerva.php
M includes/specials/MobileSpecialPage.php
M includes/specials/MobileSpecialPageFeed.php
M includes/specials/SpecialMobileCite.php
M includes/specials/SpecialMobileContributions.php
M includes/specials/SpecialMobileDiff.php
M includes/specials/SpecialMobileEditWatchlist.php
M includes/specials/SpecialMobileEditor.php
M includes/specials/SpecialMobileHistory.php
M includes/specials/SpecialMobileLanguages.php
M includes/specials/SpecialMobileMenu.php
M includes/specials/SpecialMobileOptions.php
M includes/specials/SpecialMobileWatchlist.php
M includes/specials/SpecialNearby.php
M includes/specials/SpecialUploads.php
32 files changed, 3 insertions(+), 99 deletions(-)


git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend refs/changes/10/400410/1

diff --git a/includes/BaseDomainExtractorInterface.php b/includes/BaseDomainExtractorInterface.php
index 3b323e6..1ae7930 100644
--- a/includes/BaseDomainExtractorInterface.php
+++ b/includes/BaseDomainExtractorInterface.php
@@ -1,7 +1,5 @@
<?php
-/**
- * BaseDomainExtractorInterface.php
- */
+
namespace MobileFrontend;

/**
diff --git a/includes/Minerva.hooks.php b/includes/Minerva.hooks.php
index ea58ee7..57bec67 100644
--- a/includes/Minerva.hooks.php
+++ b/includes/Minerva.hooks.php
@@ -1,7 +1,4 @@
<?php
-/**
- * Minerva.hooks.php
- */

/**
* Hook handlers for Minerva skin.
diff --git a/includes/MobileContext.php b/includes/MobileContext.php
index 7eb9052..a67272e 100644
--- a/includes/MobileContext.php
+++ b/includes/MobileContext.php
@@ -1,7 +1,4 @@
<?php
-/**
- * MobileContext.php
- */

use MediaWiki\MediaWikiServices;
use MobileFrontend\Devices\DeviceDetectorService;
diff --git a/includes/MobileFormatter.php b/includes/MobileFormatter.php
index 1971c90..7fcb2bc 100644
--- a/includes/MobileFormatter.php
+++ b/includes/MobileFormatter.php
@@ -1,7 +1,4 @@
<?php
-/**
- * MobileFormatter.php
- */

use HtmlFormatter\HtmlFormatter;
use MobileFrontend\ContentProviders\IContentProvider;
diff --git a/includes/MobileFrontend.body.php b/includes/MobileFrontend.body.php
index 3133d76..6fc6aec 100644
--- a/includes/MobileFrontend.body.php
+++ b/includes/MobileFrontend.body.php
@@ -1,7 +1,4 @@
<?php
-/**
- * MobileFrontend.body.php
- */

use Wikibase\Client\WikibaseClient;
use Wikibase\DataModel\Entity\ItemId;
diff --git a/includes/MobileFrontend.hooks.php b/includes/MobileFrontend.hooks.php
index 5182ab4..d862cd0 100644
--- a/includes/MobileFrontend.hooks.php
+++ b/includes/MobileFrontend.hooks.php
@@ -1,7 +1,4 @@
<?php
-/**
- * MobileFrontend.hooks.php
- */

use MediaWiki\Auth\AuthManager;
use MediaWiki\MediaWikiServices;
diff --git a/includes/MobileUI.php b/includes/MobileUI.php
index fe7f204..e8bcea4 100644
--- a/includes/MobileUI.php
+++ b/includes/MobileUI.php
@@ -1,9 +1,5 @@
<?php

-/**
- * MobileUI.php
- */
-
// FIXME: Use OOUI PHP when available.
/**
* Helper methods for generating parts of the UI.
diff --git a/includes/WMFBaseDomainExtractor.php b/includes/WMFBaseDomainExtractor.php
index 832b852..d4f9d76 100644
--- a/includes/WMFBaseDomainExtractor.php
+++ b/includes/WMFBaseDomainExtractor.php
@@ -1,7 +1,5 @@
<?php
-/**
- * WMFBaseDomainExtractor.php
- */
+
namespace MobileFrontend;

/**
diff --git a/includes/api/ApiMobileView.php b/includes/api/ApiMobileView.php
index d1beb22..9519696 100644
--- a/includes/api/ApiMobileView.php
+++ b/includes/api/ApiMobileView.php
@@ -1,7 +1,4 @@
<?php
-/**
- * ApiMobileView.php
- */

/**
* Extends Api of MediaWiki with actions for mobile devices. For further information see
diff --git a/includes/api/ApiParseExtender.php b/includes/api/ApiParseExtender.php
index 579c467..dd29994 100644
--- a/includes/api/ApiParseExtender.php
+++ b/includes/api/ApiParseExtender.php
@@ -1,7 +1,4 @@
<?php
-/**
- * ApiParseExtender.php
- */

/**
* Extends API action=parse with mobile goodies
diff --git a/includes/api/ApiWebappManifest.php b/includes/api/ApiWebappManifest.php
index d70ccc7..4b47342 100644
--- a/includes/api/ApiWebappManifest.php
+++ b/includes/api/ApiWebappManifest.php
@@ -1,7 +1,4 @@
<?php
-/**
- * ApiWebappManifest.php
- */

/**
* Return the webapp manifest for this wiki
diff --git a/includes/diff/InlineDiffFormatter.php b/includes/diff/InlineDiffFormatter.php
index d0345b7..180f5d4 100644
--- a/includes/diff/InlineDiffFormatter.php
+++ b/includes/diff/InlineDiffFormatter.php
@@ -1,7 +1,4 @@
<?php
-/**
- * InlineDiffFormatter.php
- */

use MediaWiki\Diff\WordAccumulator;

diff --git a/includes/diff/InlineDifferenceEngine.php b/includes/diff/InlineDifferenceEngine.php
index 324cc90..d71587f 100644
--- a/includes/diff/InlineDifferenceEngine.php
+++ b/includes/diff/InlineDifferenceEngine.php
@@ -1,7 +1,4 @@
<?php
-/**
- * InlineDifferenceEngine.php
- */

/**
* Extends the basic DifferenceEngine from core to enable inline difference view
diff --git a/includes/models/MobileCollection.php b/includes/models/MobileCollection.php
index 74f6b65..679dc0e 100644
--- a/includes/models/MobileCollection.php
+++ b/includes/models/MobileCollection.php
@@ -1,10 +1,6 @@
<?php

/**
- * MobileCollection.php
- */
-
-/**
* A collection of pages, which are represented by the MobilePage class.
*/
class MobileCollection implements IteratorAggregate, Countable {
diff --git a/includes/models/MobilePage.php b/includes/models/MobilePage.php
index 3303dec..5a93c16 100644
--- a/includes/models/MobilePage.php
+++ b/includes/models/MobilePage.php
@@ -1,7 +1,4 @@
<?php
-/**
- * MobilePage.php
- */

/**
* Retrieves information specific to a mobile page
diff --git a/includes/modules/MobileSiteModule.php b/includes/modules/MobileSiteModule.php
index 64880ee..8c09743 100644
--- a/includes/modules/MobileSiteModule.php
+++ b/includes/modules/MobileSiteModule.php
@@ -1,7 +1,4 @@
<?php
-/**
- * MobileSiteModule.php
- */

/**
* Alternate of ResourceLoaderSiteModule for mobile web.
diff --git a/includes/skins/MinervaTemplate.php b/includes/skins/MinervaTemplate.php
index e7cac6d..726ed18 100644
--- a/includes/skins/MinervaTemplate.php
+++ b/includes/skins/MinervaTemplate.php
@@ -1,7 +1,4 @@
<?php
-/**
- * MinervaTemplate.php
- */

/**
* Extended Template class of BaseTemplate for mobile devices
diff --git a/includes/skins/SkinMinerva.php b/includes/skins/SkinMinerva.php
index a7f8738..70ea461 100644
--- a/includes/skins/SkinMinerva.php
+++ b/includes/skins/SkinMinerva.php
@@ -1,7 +1,5 @@
<?php
-/**
- * SkinMinerva.php
- */
+
use MediaWiki\Minerva\MenuBuilder;
use MediaWiki\MediaWikiServices;
use MediaWiki\Minerva\SkinUserPageHelper;
diff --git a/includes/specials/MobileSpecialPage.php b/includes/specials/MobileSpecialPage.php
index 641ba95..1cf701c 100644
--- a/includes/specials/MobileSpecialPage.php
+++ b/includes/specials/MobileSpecialPage.php
@@ -1,7 +1,4 @@
<?php
-/**
- * MobileSpecialPage.php
- */

/**
* Basic mobile implementation of SpecialPage to use in specific mobile special pages
diff --git a/includes/specials/MobileSpecialPageFeed.php b/includes/specials/MobileSpecialPageFeed.php
index 81800f3..aa66ea4 100644
--- a/includes/specials/MobileSpecialPageFeed.php
+++ b/includes/specials/MobileSpecialPageFeed.php
@@ -1,7 +1,4 @@
<?php
-/**
- * MobileSpecialPageFeed.php
- */

/**
* This is an abstract class intended for use by special pages that consist primarily of
diff --git a/includes/specials/SpecialMobileCite.php b/includes/specials/SpecialMobileCite.php
index eb6cd65..33cf395 100644
--- a/includes/specials/SpecialMobileCite.php
+++ b/includes/specials/SpecialMobileCite.php
@@ -1,7 +1,4 @@
<?php
-/**
- * SpecialMobileCite.php
- */

/**
* Provides a list of citiations available for a page
diff --git a/includes/specials/SpecialMobileContributions.php b/includes/specials/SpecialMobileContributions.php
index 83d0014..283564c 100644
--- a/includes/specials/SpecialMobileContributions.php
+++ b/includes/specials/SpecialMobileContributions.php
@@ -1,7 +1,4 @@
<?php
-/**
- * SpecialMobileContributions.php
- */

/**
* A special page to show the contributions of a user
diff --git a/includes/specials/SpecialMobileDiff.php b/includes/specials/SpecialMobileDiff.php
index e109baf..01f251f 100644
--- a/includes/specials/SpecialMobileDiff.php
+++ b/includes/specials/SpecialMobileDiff.php
@@ -1,7 +1,4 @@
<?php
-/**
- * SpecialMobileDiff.php
- */

/**
* Show the difference between two revisions of a page
diff --git a/includes/specials/SpecialMobileEditWatchlist.php b/includes/specials/SpecialMobileEditWatchlist.php
index 871117b..8181c16 100644
--- a/includes/specials/SpecialMobileEditWatchlist.php
+++ b/includes/specials/SpecialMobileEditWatchlist.php
@@ -1,10 +1,6 @@
<?php

/**
- * SpecialMobileEditWatchlist.php
- */
-
-/**
* The mobile version of the watchlist editing page.
*/
class SpecialMobileEditWatchlist extends SpecialEditWatchlist {
diff --git a/includes/specials/SpecialMobileEditor.php b/includes/specials/SpecialMobileEditor.php
index e05e6f8..693c1e0 100644
--- a/includes/specials/SpecialMobileEditor.php
+++ b/includes/specials/SpecialMobileEditor.php
@@ -1,7 +1,4 @@
<?php
-/**
- * SpecialMobileEditor.php
- */

/**
* Provides a special page to redirect to the editor of an article page
diff --git a/includes/specials/SpecialMobileHistory.php b/includes/specials/SpecialMobileHistory.php
index be4375e..6c70ad7 100644
--- a/includes/specials/SpecialMobileHistory.php
+++ b/includes/specials/SpecialMobileHistory.php
@@ -1,7 +1,4 @@
<?php
-/**
- * SpecialMobileHistory.php
- */

/**
* Mobile formatted history of of a page
diff --git a/includes/specials/SpecialMobileLanguages.php b/includes/specials/SpecialMobileLanguages.php
index c4c0816..e58cce8 100644
--- a/includes/specials/SpecialMobileLanguages.php
+++ b/includes/specials/SpecialMobileLanguages.php
@@ -1,7 +1,4 @@
<?php
-/**
- * SpecialMobileLanguages.php
- */

/**
* Provides a list of languages available for a page
diff --git a/includes/specials/SpecialMobileMenu.php b/includes/specials/SpecialMobileMenu.php
index 6a3cafb..cd0916b 100644
--- a/includes/specials/SpecialMobileMenu.php
+++ b/includes/specials/SpecialMobileMenu.php
@@ -1,7 +1,4 @@
<?php
-/**
- * SpecialMobileMenu.php
- */

/**
* Special page designed for rendering a skin's menu without an article
diff --git a/includes/specials/SpecialMobileOptions.php b/includes/specials/SpecialMobileOptions.php
index 245847f..57951f6 100644
--- a/includes/specials/SpecialMobileOptions.php
+++ b/includes/specials/SpecialMobileOptions.php
@@ -1,7 +1,4 @@
<?php
-/**
- * SpecialMobileOptions.php
- */

/**
* Adds a special page with mobile specific preferences
diff --git a/includes/specials/SpecialMobileWatchlist.php b/includes/specials/SpecialMobileWatchlist.php
index 13394a6..bc8c109 100644
--- a/includes/specials/SpecialMobileWatchlist.php
+++ b/includes/specials/SpecialMobileWatchlist.php
@@ -1,7 +1,4 @@
<?php
-/**
- * SpecialMobileWatchlist.php
- */

use MediaWiki\MediaWikiServices;

diff --git a/includes/specials/SpecialNearby.php b/includes/specials/SpecialNearby.php
index f9f3966..fb1991f 100644
--- a/includes/specials/SpecialNearby.php
+++ b/includes/specials/SpecialNearby.php
@@ -1,7 +1,4 @@
<?php
-/**
- * SpecialNearby.php
- */

/**
* Provide the Special page "Nearby" with location based articles
diff --git a/includes/specials/SpecialUploads.php b/includes/specials/SpecialUploads.php
index 64a2d12..664907c 100644
--- a/includes/specials/SpecialUploads.php
+++ b/includes/specials/SpecialUploads.php
@@ -1,7 +1,4 @@
<?php
-/**
- * SpecialUploads.php
- */

/**
* Provides a special page with a list of uploaded items/images of a User
--
To view, visit https://gerrit.wikimedia.org/r/400410
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I821845436d8a4cf62a95707d8662e205602c8ff0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Thiemo Kreuz (WMDE) <***@wikimedia.de>
jenkins-bot (Code Review)
2017-12-30 21:32:10 UTC
Permalink
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/400410 )

Change subject: Remove PHPDoc block repeating the file name
......................................................................


Remove PHPDoc block repeating the file name

I can see these have been added in a commit that aimed to improve the
PHPDoc comments in this code base back in 2014, see Ib5a9507. However,
I do not see the point in literally repeating the name of the file that
contains a comment. I assume this was to work around a bug in a specific
documentation generation tool.

Change-Id: I821845436d8a4cf62a95707d8662e205602c8ff0
---
M includes/BaseDomainExtractorInterface.php
M includes/MobileContext.php
M includes/MobileFormatter.php
M includes/MobileFrontend.body.php
M includes/MobileFrontend.hooks.php
M includes/MobileUI.php
M includes/WMFBaseDomainExtractor.php
M includes/api/ApiMobileView.php
M includes/api/ApiParseExtender.php
M includes/api/ApiWebappManifest.php
M includes/diff/InlineDiffFormatter.php
M includes/diff/InlineDifferenceEngine.php
M includes/models/MobileCollection.php
M includes/models/MobilePage.php
M includes/modules/MobileSiteModule.php
M includes/specials/MobileSpecialPage.php
M includes/specials/MobileSpecialPageFeed.php
M includes/specials/SpecialMobileCite.php
M includes/specials/SpecialMobileContributions.php
M includes/specials/SpecialMobileDiff.php
M includes/specials/SpecialMobileEditWatchlist.php
M includes/specials/SpecialMobileHistory.php
M includes/specials/SpecialMobileLanguages.php
M includes/specials/SpecialMobileMenu.php
M includes/specials/SpecialMobileOptions.php
M includes/specials/SpecialMobileWatchlist.php
M includes/specials/SpecialNearby.php
M includes/specials/SpecialUploads.php
28 files changed, 2 insertions(+), 87 deletions(-)

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



diff --git a/includes/BaseDomainExtractorInterface.php b/includes/BaseDomainExtractorInterface.php
index 3b323e6..1ae7930 100644
--- a/includes/BaseDomainExtractorInterface.php
+++ b/includes/BaseDomainExtractorInterface.php
@@ -1,7 +1,5 @@
<?php
-/**
- * BaseDomainExtractorInterface.php
- */
+
namespace MobileFrontend;

/**
diff --git a/includes/MobileContext.php b/includes/MobileContext.php
index 070650d..c5baf60 100644
--- a/includes/MobileContext.php
+++ b/includes/MobileContext.php
@@ -1,7 +1,4 @@
<?php
-/**
- * MobileContext.php
- */

use MediaWiki\MediaWikiServices;
use MobileFrontend\Devices\DeviceDetectorService;
diff --git a/includes/MobileFormatter.php b/includes/MobileFormatter.php
index 938f90b..6550c76 100644
--- a/includes/MobileFormatter.php
+++ b/includes/MobileFormatter.php
@@ -1,7 +1,4 @@
<?php
-/**
- * MobileFormatter.php
- */

use HtmlFormatter\HtmlFormatter;
use MobileFrontend\ContentProviders\IContentProvider;
diff --git a/includes/MobileFrontend.body.php b/includes/MobileFrontend.body.php
index d2b059a..1841af1 100644
--- a/includes/MobileFrontend.body.php
+++ b/includes/MobileFrontend.body.php
@@ -1,7 +1,4 @@
<?php
-/**
- * MobileFrontend.body.php
- */

use Wikibase\Client\WikibaseClient;
use Wikibase\DataModel\Entity\ItemId;
diff --git a/includes/MobileFrontend.hooks.php b/includes/MobileFrontend.hooks.php
index 37636b8..519d82e 100644
--- a/includes/MobileFrontend.hooks.php
+++ b/includes/MobileFrontend.hooks.php
@@ -1,7 +1,4 @@
<?php
-/**
- * MobileFrontend.hooks.php
- */

use MediaWiki\Auth\AuthManager;

diff --git a/includes/MobileUI.php b/includes/MobileUI.php
index a1715e6..0f53e2a 100644
--- a/includes/MobileUI.php
+++ b/includes/MobileUI.php
@@ -1,9 +1,5 @@
<?php

-/**
- * MobileUI.php
- */
-
// FIXME: Use OOUI PHP when available.
/**
* Helper methods for generating parts of the UI.
diff --git a/includes/WMFBaseDomainExtractor.php b/includes/WMFBaseDomainExtractor.php
index b0fda9d..10ee0ed 100644
--- a/includes/WMFBaseDomainExtractor.php
+++ b/includes/WMFBaseDomainExtractor.php
@@ -1,7 +1,5 @@
<?php
-/**
- * WMFBaseDomainExtractor.php
- */
+
namespace MobileFrontend;

/**
diff --git a/includes/api/ApiMobileView.php b/includes/api/ApiMobileView.php
index c3380c9..5d7a51e 100644
--- a/includes/api/ApiMobileView.php
+++ b/includes/api/ApiMobileView.php
@@ -1,7 +1,4 @@
<?php
-/**
- * ApiMobileView.php
- */

/**
* Extends Api of MediaWiki with actions for mobile devices. For further information see
diff --git a/includes/api/ApiParseExtender.php b/includes/api/ApiParseExtender.php
index 0b3024b..6e4af35 100644
--- a/includes/api/ApiParseExtender.php
+++ b/includes/api/ApiParseExtender.php
@@ -1,7 +1,4 @@
<?php
-/**
- * ApiParseExtender.php
- */

/**
* Extends API action=parse with mobile goodies
diff --git a/includes/api/ApiWebappManifest.php b/includes/api/ApiWebappManifest.php
index 83a2cef..ef3f1c5 100644
--- a/includes/api/ApiWebappManifest.php
+++ b/includes/api/ApiWebappManifest.php
@@ -1,7 +1,4 @@
<?php
-/**
- * ApiWebappManifest.php
- */

/**
* Return the webapp manifest for this wiki
diff --git a/includes/diff/InlineDiffFormatter.php b/includes/diff/InlineDiffFormatter.php
index 1b9445a..783060e 100644
--- a/includes/diff/InlineDiffFormatter.php
+++ b/includes/diff/InlineDiffFormatter.php
@@ -1,7 +1,4 @@
<?php
-/**
- * InlineDiffFormatter.php
- */

use MediaWiki\Diff\WordAccumulator;

diff --git a/includes/diff/InlineDifferenceEngine.php b/includes/diff/InlineDifferenceEngine.php
index eaa5859..bc878e4 100644
--- a/includes/diff/InlineDifferenceEngine.php
+++ b/includes/diff/InlineDifferenceEngine.php
@@ -1,7 +1,4 @@
<?php
-/**
- * InlineDifferenceEngine.php
- */

/**
* Extends the basic DifferenceEngine from core to enable inline difference view
diff --git a/includes/models/MobileCollection.php b/includes/models/MobileCollection.php
index f5ad23d..c73f47f 100644
--- a/includes/models/MobileCollection.php
+++ b/includes/models/MobileCollection.php
@@ -1,10 +1,6 @@
<?php

/**
- * MobileCollection.php
- */
-
-/**
* A collection of pages, which are represented by the MobilePage class.
*/
class MobileCollection implements IteratorAggregate, Countable {
diff --git a/includes/models/MobilePage.php b/includes/models/MobilePage.php
index f1f4164..b7604b6 100644
--- a/includes/models/MobilePage.php
+++ b/includes/models/MobilePage.php
@@ -1,7 +1,4 @@
<?php
-/**
- * MobilePage.php
- */

/**
* Retrieves information specific to a mobile page
diff --git a/includes/modules/MobileSiteModule.php b/includes/modules/MobileSiteModule.php
index 364e619..ba8baab 100644
--- a/includes/modules/MobileSiteModule.php
+++ b/includes/modules/MobileSiteModule.php
@@ -1,7 +1,4 @@
<?php
-/**
- * MobileSiteModule.php
- */

/**
* Alternate of ResourceLoaderSiteModule for mobile web.
diff --git a/includes/specials/MobileSpecialPage.php b/includes/specials/MobileSpecialPage.php
index 187e56b..3656a8e 100644
--- a/includes/specials/MobileSpecialPage.php
+++ b/includes/specials/MobileSpecialPage.php
@@ -1,7 +1,4 @@
<?php
-/**
- * MobileSpecialPage.php
- */

/**
* Basic mobile implementation of SpecialPage to use in specific mobile special pages
diff --git a/includes/specials/MobileSpecialPageFeed.php b/includes/specials/MobileSpecialPageFeed.php
index 84dd22d..07fae10 100644
--- a/includes/specials/MobileSpecialPageFeed.php
+++ b/includes/specials/MobileSpecialPageFeed.php
@@ -1,7 +1,4 @@
<?php
-/**
- * MobileSpecialPageFeed.php
- */

/**
* This is an abstract class intended for use by special pages that consist primarily of
diff --git a/includes/specials/SpecialMobileCite.php b/includes/specials/SpecialMobileCite.php
index dc7995f..e604291 100644
--- a/includes/specials/SpecialMobileCite.php
+++ b/includes/specials/SpecialMobileCite.php
@@ -1,7 +1,4 @@
<?php
-/**
- * SpecialMobileCite.php
- */

/**
* Provides a list of citations available for a page
diff --git a/includes/specials/SpecialMobileContributions.php b/includes/specials/SpecialMobileContributions.php
index ef7a561..8633d99 100644
--- a/includes/specials/SpecialMobileContributions.php
+++ b/includes/specials/SpecialMobileContributions.php
@@ -1,7 +1,4 @@
<?php
-/**
- * SpecialMobileContributions.php
- */

/**
* A special page to show the contributions of a user
diff --git a/includes/specials/SpecialMobileDiff.php b/includes/specials/SpecialMobileDiff.php
index eca275e..3102362 100644
--- a/includes/specials/SpecialMobileDiff.php
+++ b/includes/specials/SpecialMobileDiff.php
@@ -1,7 +1,4 @@
<?php
-/**
- * SpecialMobileDiff.php
- */

/**
* Show the difference between two revisions of a page
diff --git a/includes/specials/SpecialMobileEditWatchlist.php b/includes/specials/SpecialMobileEditWatchlist.php
index 57ed14f..465a0de 100644
--- a/includes/specials/SpecialMobileEditWatchlist.php
+++ b/includes/specials/SpecialMobileEditWatchlist.php
@@ -1,10 +1,6 @@
<?php

/**
- * SpecialMobileEditWatchlist.php
- */
-
-/**
* The mobile version of the watchlist editing page.
*/
class SpecialMobileEditWatchlist extends SpecialEditWatchlist {
diff --git a/includes/specials/SpecialMobileHistory.php b/includes/specials/SpecialMobileHistory.php
index 1b945ea..bf74766 100644
--- a/includes/specials/SpecialMobileHistory.php
+++ b/includes/specials/SpecialMobileHistory.php
@@ -1,7 +1,4 @@
<?php
-/**
- * SpecialMobileHistory.php
- */

/**
* Mobile formatted history of of a page
diff --git a/includes/specials/SpecialMobileLanguages.php b/includes/specials/SpecialMobileLanguages.php
index 7dfca9a..59619b8 100644
--- a/includes/specials/SpecialMobileLanguages.php
+++ b/includes/specials/SpecialMobileLanguages.php
@@ -1,7 +1,4 @@
<?php
-/**
- * SpecialMobileLanguages.php
- */

/**
* Provides a list of languages available for a page
diff --git a/includes/specials/SpecialMobileMenu.php b/includes/specials/SpecialMobileMenu.php
index 6a3cafb..cd0916b 100644
--- a/includes/specials/SpecialMobileMenu.php
+++ b/includes/specials/SpecialMobileMenu.php
@@ -1,7 +1,4 @@
<?php
-/**
- * SpecialMobileMenu.php
- */

/**
* Special page designed for rendering a skin's menu without an article
diff --git a/includes/specials/SpecialMobileOptions.php b/includes/specials/SpecialMobileOptions.php
index acb3cda..81cfdbe 100644
--- a/includes/specials/SpecialMobileOptions.php
+++ b/includes/specials/SpecialMobileOptions.php
@@ -1,7 +1,4 @@
<?php
-/**
- * SpecialMobileOptions.php
- */

/**
* Adds a special page with mobile specific preferences
diff --git a/includes/specials/SpecialMobileWatchlist.php b/includes/specials/SpecialMobileWatchlist.php
index 4c6ff54..0ae36f8 100644
--- a/includes/specials/SpecialMobileWatchlist.php
+++ b/includes/specials/SpecialMobileWatchlist.php
@@ -1,7 +1,4 @@
<?php
-/**
- * SpecialMobileWatchlist.php
- */

use MediaWiki\MediaWikiServices;

diff --git a/includes/specials/SpecialNearby.php b/includes/specials/SpecialNearby.php
index 9e662a3..4cb0442 100644
--- a/includes/specials/SpecialNearby.php
+++ b/includes/specials/SpecialNearby.php
@@ -1,7 +1,4 @@
<?php
-/**
- * SpecialNearby.php
- */

/**
* Provide the Special page "Nearby" with location based articles
diff --git a/includes/specials/SpecialUploads.php b/includes/specials/SpecialUploads.php
index ceb7b11..a841b57 100644
--- a/includes/specials/SpecialUploads.php
+++ b/includes/specials/SpecialUploads.php
@@ -1,7 +1,4 @@
<?php
-/**
- * SpecialUploads.php
- */

/**
* Provides a special page with a list of uploaded items/images of a User
--
To view, visit https://gerrit.wikimedia.org/r/400410
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I821845436d8a4cf62a95707d8662e205602c8ff0
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Thiemo Kreuz (WMDE) <***@wikimedia.de>
Gerrit-Reviewer: Florianschmidtwelzow <***@gmail.com>
Gerrit-Reviewer: Jdlrobson <***@wikimedia.org>
Gerrit-Reviewer: Ladsgroup <***@gmail.com>
Gerrit-Reviewer: Pmiazga <***@wikimedia.org>
Gerrit-Reviewer: Thiemo Kreuz (WMDE) <***@wikimedia.de>
Gerrit-Reviewer: jenkins-bot <>
Loading...