[Mediawiki-l] Please help with inputbox extension

KlinT klint at klintcentral.net
Wed Oct 4 20:11:27 UTC 2006


Try to add something like this in a wiki page :

<inputbox>
type=create
width=70
break=no
</inputbox>

In order to user this extension, you have to configure your
installation :

Download the extension : inputbox.php and put it in the extensions
folder, then add the following line  in your LocalSettings.php ( near
the end of the file ) :

require_once("extensions/inputbox.php");

Download link : http://svn.wikimedia.org/svnroot/mediawiki/trunk/
extensions/inputbox/inputbox.php
Référence : http://meta.wikimedia.org/wiki/Help:Inputbox

Best Regards


Le 4 oct. 06 à 22:09, Gary Kirk a écrit :

> For example, on my Main Page and in the Newbies Guide, I have this:
>
> <inputbox>
> type=create
> default=Create a new article!</inputbox>
>
>
> which has "Create a new article!" as the text already in the box, so
> users know what it's for.
> ~~~~
>
> On 10/4/06, Chris Earle <cearle at cbltech.ca> wrote:
>> You simply put that in any wiki article you are writing
>>
>> --
>> Chris
>>
>> "Yandry Perez Clemente"
>> <yclemente at estudiantes.uci.cu> wrote in
>> message news: 
>> 090BCFF87A1DAB4AA2B1DC2D58A0D657022D6D56 at ucixs90.uci.cu...
>>>
>>> Hi:
>>>
>>> I am Yandry Perez from Cuba, sorry for this silly question but I  
>>> am new to
>> MediaWiki and PHP and I can't get this extension to work.
>>>
>>> 1. I copied inputbox.php to mediawiki/extensions
>>> 2. I put the line require_once('extensions/inputbox.php') in
>> LocalSettings.php
>>>
>>> Where should I put:
>>>
>>>    <inputbox>
>>>       type=create
>>>    </inputbox>
>>>
>>> and it's actually what I have to? I think I am absolutely  
>>> wrong... Please
>> correct me!
>>>
>>> best regards,
>>>
>>> Yandry.
>>
>>
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l at Wikimedia.org
>> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>>
>
>
> -- 
> Gary Kirk
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>




More information about the MediaWiki-l mailing list