refactor: deprecate

This commit is contained in:
alistair3149 2023-07-05 18:14:52 -04:00
parent 0fbfefcb87
commit e3a82e603b
No known key found for this signature in database

View file

@ -128,8 +128,7 @@ class TabberTransclude {
$linkRenderer->makeLink( $title, null, [ 'rel' => 'nofollow' ] )
);
$dataProps['pending-load'] = '1';
// 1.37: $currentTitle = $parser->getPage();
$currentTitle = $parser->getTitle();
$currentTitle = $parser->getPage();
$query = sprintf(
'?action=parse&format=json&formatversion=2&title=%s&text={{:%s}}&redirects=1&prop=text&disablelimitreport=1&disabletoc=1&wrapoutputclass=',
urlencode( $currentTitle->getPrefixedText() ),