jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/391180 )
Change subject: Add missing @throws in Importers
......................................................................
Add missing @throws in Importers
Change-Id: I02760e59d73f4278cca87483ab4578b6e76b2324
---
M includes/import/WikiImporter.php
M maintenance/importDump.php
2 files changed, 3 insertions(+), 0 deletions(-)
Approvals:
Addshore: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/import/WikiImporter.php b/includes/import/WikiImporter.php
index a1f7e0c..822893c 100644
--- a/includes/import/WikiImporter.php
+++ b/includes/import/WikiImporter.php
@@ -546,6 +546,7 @@
/**
* Primary entry point
+ * @throws Exception
* @throws MWException
* @return bool
*/
@@ -847,6 +848,7 @@
/**
* @param array $pageInfo
* @param array $revisionInfo
+ * @throws MWException
* @return bool|mixed
*/
private function processRevision( $pageInfo, $revisionInfo ) {
diff --git a/maintenance/importDump.php b/maintenance/importDump.php
index 206c7ee..cc0daa1 100644
--- a/maintenance/importDump.php
+++ b/maintenance/importDump.php
@@ -139,6 +139,7 @@
/**
* @param Title|Revision $obj
+ * @throws MWException
* @return bool
*/
private function skippedNamespace( $obj ) {
--
To view, visit https://gerrit.wikimedia.org/r/391180
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I02760e59d73f4278cca87483ab4578b6e76b2324
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: WMDE-Fisch <[email protected]>
Gerrit-Reviewer: Addshore <[email protected]>
Gerrit-Reviewer: Parent5446 <[email protected]>
Gerrit-Reviewer: TTO <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits