mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-12-20 19:32:39 +00:00
4a7bc3ee31
Add a special page and an API endpoint to fetch data from Wikibase items with a given qID. The special page summarizes information from Wikibase. The API endpoint allows to request the information directly. Both, the API endpoint and the special page, fetch the data from a new helper class for consistency. Bug: T208758 Bug: T229939 Change-Id: Idd22057a88312bf1a1cb5546d0a6edca5678d80d
20 lines
410 B
PHP
20 lines
410 B
PHP
<?php
|
|
/**
|
|
* Aliases for invisible Math special pages
|
|
*
|
|
* There is no need to translate the messages, since the PageTitle does not appear.
|
|
*
|
|
* @see Math.alias.php for special pages with visible titles.
|
|
*
|
|
* @file
|
|
* @ingroup Extensions
|
|
*/
|
|
|
|
$specialPageAliases = [];
|
|
|
|
/** English (English) */
|
|
$specialPageAliases['en'] = [
|
|
'MathShowImage' => [ 'MathShowImage' ],
|
|
'MathWikibase' => [ 'MathWikibase' ]
|
|
];
|