[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mediawiki-l
Subject:    Re: [Mediawiki-l] How to "activate" a new extension
From:       Alok Watve <alok.watve () gmail ! com>
Date:       2010-07-30 4:02:09
Message-ID: AANLkTim_5VJxe+ueXwQm4PgO+zZPEoiz1pwrCj22AMrS () mail ! gmail ! com
[Download RAW message or body]

Thanks a lot for the response.
My script runs fine as a standalone


On Thu, Jul 29, 2010 at 9:14 PM, Jon Davis <wiki@konsoletek.com> wrote:
> You don't need to do anything to "activate" an extension.  Once you've added
> the requisite line to LocalSettings.php (ex:
> require_once("$IP/extensions/MyExtension/MyExtension.php");   ), the next
> time you load a page on the wiki, your extension is there.  You can check on
> [[Special:Version]] of your install, as it shows all installed extensions
> there.
>
> If it isn't listed in Special:Version, then you probably either A) don't
> have your LocalSettings.php correct or B) Have a coding error in your
> extension.
>
> -Jon
>
> On Thu, Jul 29, 2010 at 17:30, Alok Watve <alok.watve@gmail.com> wrote:
>>
>> Hi
>>
>> I am a total n00b to mediaWiki. I am writing a new extension to
>> dynamically generate an SVG file. I have written the extension and
>> copied the files in the right places.
>> But mediaWiki does not seem to pick up my extension. DO I need to
>> restart the apache server or something like that in order to make sure
>> my change in LocalSettings.php is picked up.
>>
>> What I don't understand (and I do not think is documented very well )
>> is how does mediawiki know that the file LocalSettings.php has changed
>> and needs to be re-loaded.
>>
>> Alok
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l@lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
>
> --
> Jon
> [[User:ShakataGaNai]] / KJ6FNQ
> http://snowulf.com/
> http://ipv6wiki.net/
>

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic