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:
parent
54d1b77401
commit
eb7a8371d8
|
@ -31,7 +31,7 @@
|
||||||
"SpecialMathStatus": "src/SpecialMathStatus.php",
|
"SpecialMathStatus": "src/SpecialMathStatus.php",
|
||||||
"MathValidator": "src/MathValidator.php",
|
"MathValidator": "src/MathValidator.php",
|
||||||
"MathFormatter": "src/MathFormatter.php",
|
"MathFormatter": "src/MathFormatter.php",
|
||||||
"MathWikidataHook": "src/MathWikidataHook.php",
|
"MathWikibaseHook": "src/MathWikibaseHook.php",
|
||||||
"MathMLRdfBuilder": "src/MathMLRdfBuilder.php",
|
"MathMLRdfBuilder": "src/MathMLRdfBuilder.php",
|
||||||
"MathPng": "src/MathPng.php",
|
"MathPng": "src/MathPng.php",
|
||||||
"MathDataUpdater": "src/MathDataUpdater.php"
|
"MathDataUpdater": "src/MathDataUpdater.php"
|
||||||
|
@ -63,10 +63,10 @@
|
||||||
"MathHooks::onPageRenderingHash"
|
"MathHooks::onPageRenderingHash"
|
||||||
],
|
],
|
||||||
"WikibaseClientDataTypes": [
|
"WikibaseClientDataTypes": [
|
||||||
"MathWikidataHook::onWikibaseClientDataTypes"
|
"MathWikibaseHook::onWikibaseClientDataTypes"
|
||||||
],
|
],
|
||||||
"WikibaseRepoDataTypes": [
|
"WikibaseRepoDataTypes": [
|
||||||
"MathWikidataHook::onWikibaseRepoDataTypes"
|
"MathWikibaseHook::onWikibaseRepoDataTypes"
|
||||||
],
|
],
|
||||||
"ParserAfterTidy": [
|
"ParserAfterTidy": [
|
||||||
"MathHooks::onParserAfterTidy"
|
"MathHooks::onParserAfterTidy"
|
||||||
|
|
|
@ -9,7 +9,7 @@ use Wikibase\Repo\Parsers\WikibaseStringValueNormalizer;
|
||||||
use Wikibase\Repo\WikibaseRepo;
|
use Wikibase\Repo\WikibaseRepo;
|
||||||
use Wikimedia\Purtle\RdfWriter;
|
use Wikimedia\Purtle\RdfWriter;
|
||||||
|
|
||||||
class MathWikidataHook {
|
class MathWikibaseHook {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add Datatype "Math" to the Wikibase Repository
|
* Add Datatype "Math" to the Wikibase Repository
|
Loading…
Reference in New Issue