MathWikidataHook.php -> MathWikibaseHook.php

These hooks are related to Wikibase and can be used outside of Wikidata

Change-Id: I90e0abbdc54aa85957b15f60c4e821ee68b9517f
This commit is contained in:
Amir Sarabadani 2019-02-08 19:48:30 +01:00
parent 54d1b77401
commit eb7a8371d8
2 changed files with 4 additions and 4 deletions

View file

@ -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"

View file

@ -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