Topic on Extension talk:MultiBoilerplate

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

4
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.

198.181.18.22 (talkcontribs)

This fixed helped me in MW 1.35

FreedomFighterSparrow (talkcontribs)

There's no need to make a manual change; just use the appropriate branch (REL1_35).

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