Tpt has submitted this change and it was merged.
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, 437 insertions(+), 220 deletions(-)
Approvals:
Tpt: Verified; Looks good to me, approved
--
To view, visit https://gerrit.wikimedia.org/r/34905
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ide3df82bf873b0d3d1f42af91a66ad97de3d6d2d
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/ProofreadPage
Gerrit-Branch: master
Gerrit-Owner: Tpt <[email protected]>
Gerrit-Reviewer: Tpt <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits