Topic on Extension talk:MultiBoilerplate

Jump to navigation Jump to search

Fix for MW 1.34+ - Call to undefined method OutputPage::addWikiText()

2
198.181.18.21 (talkcontribs)

The following file needs these 2 modifications:

extensions\MultiBoilerplate\SpecialBoilerplates.php

Line 54 and Line 81:

Replace this:

$output->addWikiText( $boilerplates );

with this:

$output->addWikiTextAsInterface( $boilerplates );


The $output->addWikiText was deprecated and no longer available.

FreedomFighterSparrow (talkcontribs)

Hi, I think the problem here was my use of versions, and then not updating the extension for 3 years. If you use the appropriate branch (REL1_34 / REL1_35), this was fixed by a [User:Umherirrender]] back in 2019.

As I'm now finally updating my own wiki to 1.35, the code base for this extension will be overhauled.

Reply to "Fix for MW 1.34+ - Call to undefined method OutputPage::addWikiText()"