Extension talk:MultiBoilerplate

Jump to navigation Jump to search

About this board

Previous discussion was archived at Extension talk:MultiBoilerplate/Archive 1 on 2017-04-23.

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

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

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

MultiBoilerplate for Wikimedia

3
Klein Muçi (talkcontribs)

Hello! I wanted to activate this extension for the Albanian Wikiquote as it looks like something really useful for our community but when I opened a Phab task for it, they said it couldn't be activated as it isn't currently deployed on the Wikimedia sites. See here: https://phabricator.wikimedia.org/T243604. Can you help with this process, @FreedomFighterSparrow?

FreedomFighterSparrow (talkcontribs)

Hi, thanks for emailing me - I just failed to notice this message. While I still maintain this extension, I just make sure it continues to work with new MediaWiki versions. Following requirements for deployment on Wikimedia takes a lot more effort, and as you were told, requires a sponsor. I've had bad experience getting even small code changed to be merged into Wikimedia-deployed extensions in the past, and I do not believe I will have the time or energy to work through that list. Sorry! If there's something specific that needs to be done - bugfixes, security enhancements - I will do those, of course.

Klein Muçi (talkcontribs)

Oh, I see. Well, at least I learned something more on the Wikimedia extensions' topic. Thank you for answering anyway! :)

Reply to "MultiBoilerplate for Wikimedia"
PhotographerTom (talkcontribs)

Is it possible to add the drop down list to Visual editor so we don't have to create the page with Enhanced editor, save it, and then make changes with Visual editor?

FreedomFighterSparrow (talkcontribs)

Sorry for the late response - while I don't imagine it should be too difficult to do so, it requires testing with Visual Editor, which I'm not using right now; I won't be able to look into it any time soon.

Reply to "Visual editor"
Rob Kam (talkcontribs)

A boilerplate namespace can work fine, e.g. (after NS_BOILERPLATE and NS_BOILERPLATE_TALK have been defined), instead of

* Generic page|Template:Generic page

have

* Generic page|Boilerplate:Generic page
FreedomFighterSparrow (talkcontribs)

What is your use case? Do you have so many boilerplates? I'm asking because a lot of extenasions define namespaces, and their numbers tend to collide over time, so if there's no real need, I'd rather not define a new namespace.

Rob Kam (talkcontribs)

Only that it seems tidier to me. I've a handful of boilerplates but many templates. I suspected there might be a reason for caution.

FreedomFighterSparrow (talkcontribs)

It's not that much of an problem, I'm just not sure it's worth it. Since both Special:Boilerplates and Special:PrefixIndex allow you to find all of your boilerplates, the current setup isn't really messy.

Reply to "Boilerplate namespace"
There are no older topics