Forum:Inputbox problem

I'm having a problem with the inputbox feature over on WikiJET. It seems that when a user creates a new article using an inputbox (for example on the Hokkaido Prefecture page) that the Local knowledge template is preloaded in its entirety, including the content. Is there any way to have it just substitute the template, and not include the content?

Bobo12345 04:12, 8 May 2007 (UTC)
 * Not that i know of so far, as it imputs the full page as it is, so the does not work on that type of trick the best would be not to add anything there, if you check the way the forums are full on this wiki you will notice they dont have any of the noinclude tags due to the same reason.--189.149.71.104 04:34, 8 May 2007 (UTC)


 * Looking at the code one can see that there is a custom parser just for this, and all it does is is remove &lt;includeonly&gt; :

private function getPreloadedText($preload) { if ( $preload === '' ) return ''; else { $preloadTitle = Title::newFromText( $preload ); if ( isset( $preloadTitle ) && $preloadTitle->userCanRead ) { $rev=Revision::newFromTitle($preloadTitle); if ( is_object( $rev ) ) { $text = $rev->getText; // TODO FIXME: AAAAAAAAAAA, this shouldn't be implementing // its own mini-parser! -ævar $text = preg_replace( '~~', '', $text ); return $text; } else return ''; }
 * Datrio has consulted with ævar and written a patch for Wikia so that we can strip &lt;noinclude&gt; so as to categorize these pages (etc), but until this patch is deployed, all page content except the includeonly tags themselves, will be included. The best thing to do is just have a specific separate preload template with exactly what you want to preload.


 * Note: includeonly is stripped, for tricks like (substing in a magic word). --Splarka (talk) 05:22, 8 May 2007 (UTC)


 * You can put something like this:--Ciencia Al Poder (talk) -@WikiDex 18:10, 8 May 2007 (UTC)

THIS PART WILL BE INCLUDED, BUT ALSO WILL BE DELETED WHEN THE TRANSCLUDED PAGE IS SAVED (not *this* page)