From eb7a8371d8f43901d3d185f543ef9530b5ada528 Mon Sep 17 00:00:00 2001 From: Amir Sarabadani Date: Fri, 8 Feb 2019 19:48:30 +0100 Subject: [PATCH] MathWikidataHook.php -> MathWikibaseHook.php These hooks are related to Wikibase and can be used outside of Wikidata Change-Id: I90e0abbdc54aa85957b15f60c4e821ee68b9517f --- extension.json | 6 +++--- src/{MathWikidataHook.php => MathWikibaseHook.php} | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) rename src/{MathWikidataHook.php => MathWikibaseHook.php} (98%) diff --git a/extension.json b/extension.json index 0dac1b6cf..ee1491440 100644 --- a/extension.json +++ b/extension.json @@ -31,7 +31,7 @@ "SpecialMathStatus": "src/SpecialMathStatus.php", "MathValidator": "src/MathValidator.php", "MathFormatter": "src/MathFormatter.php", - "MathWikidataHook": "src/MathWikidataHook.php", + "MathWikibaseHook": "src/MathWikibaseHook.php", "MathMLRdfBuilder": "src/MathMLRdfBuilder.php", "MathPng": "src/MathPng.php", "MathDataUpdater": "src/MathDataUpdater.php" @@ -63,10 +63,10 @@ "MathHooks::onPageRenderingHash" ], "WikibaseClientDataTypes": [ - "MathWikidataHook::onWikibaseClientDataTypes" + "MathWikibaseHook::onWikibaseClientDataTypes" ], "WikibaseRepoDataTypes": [ - "MathWikidataHook::onWikibaseRepoDataTypes" + "MathWikibaseHook::onWikibaseRepoDataTypes" ], "ParserAfterTidy": [ "MathHooks::onParserAfterTidy" diff --git a/src/MathWikidataHook.php b/src/MathWikibaseHook.php similarity index 98% rename from src/MathWikidataHook.php rename to src/MathWikibaseHook.php index 200737dd9..a3b1104b4 100644 --- a/src/MathWikidataHook.php +++ b/src/MathWikibaseHook.php @@ -9,7 +9,7 @@ use Wikibase\Repo\Parsers\WikibaseStringValueNormalizer; use Wikibase\Repo\WikibaseRepo; use Wikimedia\Purtle\RdfWriter; -class MathWikidataHook { +class MathWikibaseHook { /** * Add Datatype "Math" to the Wikibase Repository