[MediaWiki-commits] [Gerrit] mediawiki...ProofreadPage[master]: Drops OAI-PMH support
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/346041 ) Change subject: Drops OAI-PMH support .. Drops OAI-PMH support Has nearly no usage Change-Id: I8ad1a3ac4bda865e3580caf4a2e4bb37499e3a80 --- M extension.json M includes/index/ProofreadIndexEntry.php D includes/index/ProofreadIndexValue.php D includes/index/oai/ProofreadIndexOaiError.php D includes/index/oai/ProofreadIndexOaiRecord.php D includes/index/oai/ProofreadIndexOaiSets.php D includes/index/oai/SpecialProofreadIndexOai.php D includes/index/oai/SpecialProofreadIndexOaiSchema.php D includes/index/oai/schemas/qdc.xsd 9 files changed, 0 insertions(+), 1,994 deletions(-) Approvals: jenkins-bot: Verified Tpt: Looks good to me, approved diff --git a/extension.json b/extension.json index 33ca862..5598903 100644 --- a/extension.json +++ b/extension.json @@ -18,8 +18,6 @@ "pagequality" ], "SpecialPages": { - "ProofreadIndexOai": "SpecialProofreadIndexOai", - "ProofreadIndexOaiSchema": "SpecialProofreadIndexOaiSchema", "IndexPages": "ProofreadPages", "PagesWithoutScans": "PagesWithoutScans" }, @@ -46,18 +44,6 @@ "ProofreadPage\\FileProvider": "includes/FileProvider.php", "EditProofreadIndexPage": "includes/index/EditProofreadIndexPage.php", "ProofreadIndexEntry": "includes/index/ProofreadIndexEntry.php", - "ProofreadIndexValue": "includes/index/ProofreadIndexValue.php", - "ProofreadIndexValueString": "includes/index/ProofreadIndexValue.php", - "ProofreadIndexValueNumber": "includes/index/ProofreadIndexValue.php", - "ProofreadIndexValuePage": "includes/index/ProofreadIndexValue.php", - "ProofreadIndexValueLangcode": "includes/index/ProofreadIndexValue.php", - "ProofreadIndexValueIdentifier": "includes/index/ProofreadIndexValue.php", - "ProofreadIndexValueIsbn": "includes/index/ProofreadIndexValue.php", - "ProofreadIndexValueIssn": "includes/index/ProofreadIndexValue.php", - "ProofreadIndexValueOclc": "includes/index/ProofreadIndexValue.php", - "ProofreadIndexValueLccn": "includes/index/ProofreadIndexValue.php", - "ProofreadIndexValueArc": "includes/index/ProofreadIndexValue.php", - "ProofreadIndexValueArk": "includes/index/ProofreadIndexValue.php", "ProofreadIndexPage": "includes/index/ProofreadIndexPage.php", "ProofreadIndexDbConnector": "includes/index/ProofreadIndexDbConnector.php", "ProofreadPage\\Pagination\\PaginationFactory": "includes/Pagination/PaginationFactory.php", @@ -83,11 +69,6 @@ "ProofreadPage\\Parser\\PagelistTagParser": "includes/Parser/PagelistTagParser.php", "ProofreadPage\\Parser\\PagesTagParser": "includes/Parser/PagesTagParser.php", "ProofreadPage\\Parser\\PagequalityTagParser": "includes/Parser/PagequalityTagParser.php", - "SpecialProofreadIndexOai": "includes/index/oai/SpecialProofreadIndexOai.php", - "ProofreadIndexOaiRecord": "includes/index/oai/ProofreadIndexOaiRecord.php", - "ProofreadIndexOaiSets": "includes/index/oai/ProofreadIndexOaiSets.php", - "ProofreadIndexOaiError": "includes/index/oai/ProofreadIndexOaiError.php", - "SpecialProofreadIndexOaiSchema": "includes/index/oai/SpecialProofreadIndexOaiSchema.php", "ProofreadPages": "SpecialProofreadPages.php", "PagesWithoutScans": "SpecialPagesWithoutScans.php", "ApiQueryProofread": "ApiQueryProofread.php", diff --git a/includes/index/ProofreadIndexEntry.php b/includes/index/ProofreadIndexEntry.php index a6529d4..0dfb34b 100644 --- a/includes/index/ProofreadIndexEntry.php +++ b/includes/index/ProofreadIndexEntry.php @@ -119,35 +119,6 @@ } /** -* Return typed value. If the value doesn't match the value pattern a ProofreadIndexValueString is return. -* @param string $value -* @return ProofreadIndexValue -*/ - protected function getTypedValue( $value ) { - try { - $class = ProofreadIndexValue::getIndexValueClassNameForType( $this->getType() ); - $val = new $class( $value, $this->config ); - } catch ( MWException $e ) { - $class = ProofreadIndexValue::getIndexValueClassNameForType( 'string' ); - $val = new $class( $value, $this->config ); - } - return $val; - } - - /** -* Return the values of the entry as ProofreadIndexValue and splitted with the delimiter content -* @return array
[MediaWiki-commits] [Gerrit] mediawiki...ProofreadPage[master]: Drops OAI-PMH support
Tpt has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/346041 ) Change subject: Drops OAI-PMH support .. Drops OAI-PMH support Has nearly no usage Change-Id: I8ad1a3ac4bda865e3580caf4a2e4bb37499e3a80 --- M extension.json M includes/index/ProofreadIndexEntry.php D includes/index/ProofreadIndexValue.php D includes/index/oai/ProofreadIndexOaiError.php D includes/index/oai/ProofreadIndexOaiRecord.php D includes/index/oai/ProofreadIndexOaiSets.php D includes/index/oai/SpecialProofreadIndexOai.php D includes/index/oai/SpecialProofreadIndexOaiSchema.php D includes/index/oai/schemas/qdc.xsd 9 files changed, 0 insertions(+), 1,994 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ProofreadPage refs/changes/41/346041/1 diff --git a/extension.json b/extension.json index 33ca862..5598903 100644 --- a/extension.json +++ b/extension.json @@ -18,8 +18,6 @@ "pagequality" ], "SpecialPages": { - "ProofreadIndexOai": "SpecialProofreadIndexOai", - "ProofreadIndexOaiSchema": "SpecialProofreadIndexOaiSchema", "IndexPages": "ProofreadPages", "PagesWithoutScans": "PagesWithoutScans" }, @@ -46,18 +44,6 @@ "ProofreadPage\\FileProvider": "includes/FileProvider.php", "EditProofreadIndexPage": "includes/index/EditProofreadIndexPage.php", "ProofreadIndexEntry": "includes/index/ProofreadIndexEntry.php", - "ProofreadIndexValue": "includes/index/ProofreadIndexValue.php", - "ProofreadIndexValueString": "includes/index/ProofreadIndexValue.php", - "ProofreadIndexValueNumber": "includes/index/ProofreadIndexValue.php", - "ProofreadIndexValuePage": "includes/index/ProofreadIndexValue.php", - "ProofreadIndexValueLangcode": "includes/index/ProofreadIndexValue.php", - "ProofreadIndexValueIdentifier": "includes/index/ProofreadIndexValue.php", - "ProofreadIndexValueIsbn": "includes/index/ProofreadIndexValue.php", - "ProofreadIndexValueIssn": "includes/index/ProofreadIndexValue.php", - "ProofreadIndexValueOclc": "includes/index/ProofreadIndexValue.php", - "ProofreadIndexValueLccn": "includes/index/ProofreadIndexValue.php", - "ProofreadIndexValueArc": "includes/index/ProofreadIndexValue.php", - "ProofreadIndexValueArk": "includes/index/ProofreadIndexValue.php", "ProofreadIndexPage": "includes/index/ProofreadIndexPage.php", "ProofreadIndexDbConnector": "includes/index/ProofreadIndexDbConnector.php", "ProofreadPage\\Pagination\\PaginationFactory": "includes/Pagination/PaginationFactory.php", @@ -83,11 +69,6 @@ "ProofreadPage\\Parser\\PagelistTagParser": "includes/Parser/PagelistTagParser.php", "ProofreadPage\\Parser\\PagesTagParser": "includes/Parser/PagesTagParser.php", "ProofreadPage\\Parser\\PagequalityTagParser": "includes/Parser/PagequalityTagParser.php", - "SpecialProofreadIndexOai": "includes/index/oai/SpecialProofreadIndexOai.php", - "ProofreadIndexOaiRecord": "includes/index/oai/ProofreadIndexOaiRecord.php", - "ProofreadIndexOaiSets": "includes/index/oai/ProofreadIndexOaiSets.php", - "ProofreadIndexOaiError": "includes/index/oai/ProofreadIndexOaiError.php", - "SpecialProofreadIndexOaiSchema": "includes/index/oai/SpecialProofreadIndexOaiSchema.php", "ProofreadPages": "SpecialProofreadPages.php", "PagesWithoutScans": "SpecialPagesWithoutScans.php", "ApiQueryProofread": "ApiQueryProofread.php", diff --git a/includes/index/ProofreadIndexEntry.php b/includes/index/ProofreadIndexEntry.php index a6529d4..0dfb34b 100644 --- a/includes/index/ProofreadIndexEntry.php +++ b/includes/index/ProofreadIndexEntry.php @@ -119,35 +119,6 @@ } /** -* Return typed value. If the value doesn't match the value pattern a ProofreadIndexValueString is return. -* @param string $value -* @return ProofreadIndexValue -*/ - protected function getTypedValue( $value ) { - try { - $class = ProofreadIndexValue::getIndexValueClassNameForType( $this->getType() ); - $val = new $class( $value, $this->config ); - } catch ( MWException $e ) { - $class = ProofreadIndexValue::getIndexValueClassNameForType( 'string' ); - $val = new $class( $value, $this->config ); - } - return $val; - } - - /** -* Return the values of the entry as ProofreadIndexValue and splitted with the delimiter content -*