Thanks Russel,
I did manage to fix it with the help from the users on the mailing
list. It was an issue with the ftp binary/ascii mode transfer which
was spoiling localsettings.php
Alok
On Tue, Aug 3, 2010 at 6:35 AM, Russell Jones
<russell.jones(a)physics.ox.ac.uk> wrote:
Sure, but perhaps it doesn't meet the requirements
for an extension? e.g. certain variables, functions or methods may be expected to be
provided.
Russell
---------- Forwarded message ----------
From: "Alok Watve" <alok.watve(a)gmail.com>
To: "Jon Davis" <wiki(a)konsoletek.com>
Date: Fri, 30 Jul 2010 05:02:09 +0100
Subject: Re: [Mediawiki-l] How to "activate" a new extension
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(a)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(a)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(a)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(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l