Extension talk:MultiBoilerplate/Archive 1

Bugs:
I am in Catchable fatal error: Argument 1 passed to Article::__construct must be an instance of Title, null given, called in /var/www/mediawiki-1.12.0/extensions/MultiBoilerplate/MultiBoilerplate.php on line 110 and defined in /var/www/mediawiki-1.12.0/includes/Article.php on line 44
 * 2.04.2008
 * on MediaWiki 1.12.0 I got this when hitting load:

When trying to load "MyBoilerplate in an article it returns to Editing Main Page. If I save the page the main page will be overwritten I'm currently using: Aroekene
 * MediaWiki 1.11.0 EN version


 * Thanks for noticing this - I added this extension then made a major change because there was a major flaw but failed to update this page. I've updated the page to the latest version of the extension. MinuteElectron 21:58, 7 January 2008 (UTC)

Needed to Change $things = wfMsg( 'MultiBoilerplate' );
On MediaWiki 1.12, I had to change:

$things = wfMsg( 'multiboilerplate' ) -> $things = wfMsg( 'MultiBoilerplate' )

... to get the fallback to the MediaWiki:MultiBoilerplate code to work


 * It is "MediaWiki:Multiboilerplate", not "MediaWiki:MultiBoilerplate". MinuteElectron 16:39, 23 March 2009 (UTC)

Automatically use boilerplate if page title matches regular expression
Would it be possible to alter the extension so that it did this? Thanks, Jonathan3 20:02, 13 December 2008 (UTC)

noinclude and includeonly don't work in 1.14
Unfortunately I found the tags noinclude resp includeonly are not working in 1.14. Instead the Multiboilerplate extension inserts the complete content of the template (including the part in between the noinclude tags as well as the tags noinclude and includeonly themselves) into the new page. Why is this? 144.85.162.123 22:07, 22 March 2009 (UTC)


 * did you ever get anywhere with this? i am seeing this in 1.15 as well. 67.97.209.36 19:27, 18 September 2009 (UTC)

internationalization bug
Hi.

I found a bug in your internationalization part (MW 1.14).

The bug behaves so:

I create the MediaWiki:Multiboilerplate page with the boiler plates (using the english language as default). After that everything works properly for english translation, but if I use another language setting on any user, I do not get the boiler plates. Below is the fix for this.

The bug is on line 78 in MultiBoilerplate.php

Before:

$things = wfMsg( 'multiboilerplate' );

After:

$things = wfMsgForContent( 'multiboilerplate' );

Regards,

SG

213.176.148.242 13:40, 8 April 2009 (UTC)


 * Applied to trunk. Thanks! RobertL 16:38, 8 April 2009 (UTC)

FCKEditor Integration
Hi,

is there any possibility to get this very useful extension working together with the FCKEditor (WYSIWYG) extension? At present it loads the raw wiki code in the FCKEditor textarea. The PreLoader extension is working with FCKEditor (but not usefull in my case).

Also it could be usefull, if the existing wiki code will not be deleted if the boilerplate is loaded in an existing page. For example the boilerplate could be inserted at the end of the existing wiki code.

Thanks a lot! --Filburt 12:42, 5 May 2009 (UTC)

I made some changes, and it seems to be a partial success: If you change in MultiBoilerplate.php 'boilerplate' with the standard wiki command 'preload' in lines 75, 87 and 102 but not in 114 and 115 it works together with the FCKEditor. The problem is that there is no possibility anymore to replace existing text. If you change the commands in line 114 and 115 too, you have the same problem as before and the raw wiki text is included in FCKEditor.

Any solutions? --Filburt 20:37, 5 May 2009 (UTC)


 * Has there been any movement on the request to integrate MultiBoilerplate and FCKEditor? We would love this functionality at Appropedia.  Thanks, --Lonny 05:02, 29 June 2009 (UTC)
 * The page http://grassrootswiki.org/index.php?title=Main_Page Has the 2 extensions working together.

Problem with special page
I tried to use the special page, adding in Multiboilerplate.php the following: $wgMultiBoilerplateDiplaySpecialPage = true; But the page doesn´t appear! Any suggestion? --Tango granada 02:13, 9 October 2009 (UTC)

PROBLEM WITH DOWNLOADS
After a lot of looking, the problem is that if you download the version for 1.15.x, the downloaded archive es Moultiboilerplate 1.6, and NOT 1.8. Please, someone fix this problem. --Tango granada 02:40, 9 October 2009 (UTC)