Tpt has uploaded a new change for review.
Change subject: Implement sets into OAI-MH API
......................................................................
Implement sets into OAI-MH API
Add the capacity to add sets based on MediaWiki categories to the
OAI repository.
These sets are configure in a new configuration page,
Mediawiki:Proofreadpage_index_oai_sets
This page must contain only a JSON array like:
{
"test": { //spec of the set ie its ID
"name": "Test", //The set name
"category": "tests_list", //The category to use, without the "Category:"
prefix
"description": "A test set." //Description of the set, optional
}
}
This patch also split the big file that contained all OAI-PMH code
to some small files and make some cosmetics changes.
Change-Id: Ide3df82bf873b0d3d1f42af91a66ad97de3d6d2d
---
M ProofreadPage.php
A includes/index/oai/ProofreadIndexOaiRecord.php
A includes/index/oai/ProofreadIndexOaiSets.php
R includes/index/oai/SpecialProofreadIndexOai.php
R includes/index/oai/SpecialProofreadIndexOaiSchema.php
R includes/index/oai/schemas/qdc.xsd
6 files changed, 435 insertions(+), 220 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ProofreadPage
refs/changes/05/34905/1
--
To view, visit https://gerrit.wikimedia.org/r/34905
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ide3df82bf873b0d3d1f42af91a66ad97de3d6d2d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ProofreadPage
Gerrit-Branch: master
Gerrit-Owner: Tpt <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits