Mvolz has uploaded a new change for review.
https://gerrit.wikimedia.org/r/194159
Change subject: Fix: Change itemType of 520 citation to 'webpage'
......................................................................
Fix: Change itemType of 520 citation to 'webpage'
The previous itemType of a 520 citation was 'website'
which is an invalid itemType. Fixed to the correct
'webpage' itemType.
Change-Id: Ic5b724653f5f87180f1f2f3bfbf83220400d1bb4
---
M lib/Scraper.js
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/citoid
refs/changes/59/194159/1
diff --git a/lib/Scraper.js b/lib/Scraper.js
index b468de7..4a1c2d2 100644
--- a/lib/Scraper.js
+++ b/lib/Scraper.js
@@ -55,7 +55,7 @@
": " + response.statusCode);
}
log.info("Unable to scrape resource at " + url);
- citation.itemType = 'website';
+ citation.itemType = 'webpage';
callback(error, 520, [citation]);
} else {
try {
--
To view, visit https://gerrit.wikimedia.org/r/194159
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic5b724653f5f87180f1f2f3bfbf83220400d1bb4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/citoid
Gerrit-Branch: master
Gerrit-Owner: Mvolz <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits