Re: [Mediawiki-l] How best to set up hooks in an extension function ?

2009-07-03 Thread Richard Alan
Sebastien,Both of your replies to my post are empty. Can you please try again if you have a comment to make. Richard ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [Mediawiki-l] How best to set up hooks in an extension function ?

2009-07-01 Thread Richard Alan
Thanks Tim, Your advice was exactly what I needed. I'm setting up my code like below. ABC's are replaced with real names and I've removed most of the code to just show the important parts. I took out the line: $wgExtensionFunctions[]= 'wfSetupCSS' and instead create a new class and then ca

[Mediawiki-l] How best to set up hooks in an extension function ?

2009-06-30 Thread Richard Alan
I thought I had read somewhere that it was not a good idea to set function hooks inside of a class in this way. what follows is just one of many examples out there: $wgExtensionFunctions[]= 'wfSetupCSS' function wfSetupCSS() { global $wgCSS; $wgCSS = new CSS(); } class CSS {

Re: [Mediawiki-l] How do I publish an extension to SVN ?

2009-06-27 Thread Richard Alan
access? Thanks On Sat, Jun 27, 2009 at 9:44 PM, Adam Meyer wrote: > I believe that extensions are published only on mediawiki and not SVN at > revision 52488. > > See: > http://www.mediawiki.org/wiki/Manual:Extensions#Publishing_your_extension > > On Jun 27, 2009, at 5:14 A

Re: [Mediawiki-l] undefined variable

2009-06-27 Thread Richard Alan
You say you installed AddMetas but did you use the functionality? If so then what were the lines that you added to the article page? Also what version of MediaWiki did you install it on? On Sat, Jun 27, 2009 at 5:22 PM, Andreas Meyer wrote: > Hello! > > I installed AddMetas.php and get this in t

[Mediawiki-l] How do I publish an extension to SVN ?

2009-06-27 Thread Richard Alan
I spent a long time working on an extension and i would to publish this. Can I publish it to svn and if it's possible then how do I do this and which area of the SVN should I publish to. Thanks in advance ___ MediaWiki-l mailing list MediaWiki-l@lists.wi

[Mediawiki-l] Same problem trying to get 1.15 download

2009-03-28 Thread Richard Alan
Hello, I changed mail addresses but same problem as before when now using trunk/phase3. Is it correct that I should be trying to download: http://svn.wikimedia.org/svnroot/mediawiki/trunk/phase3 When doing this I still get an error message after 10 seconds. Richard __

Re: [Mediawiki-l] Is this list available in a newsgoup?

2009-03-28 Thread Richard Alan
Thanks for your help. Richard 2009/3/28 Mark (Markie) > http://www.mediawiki.org/wiki/Mailing_lists#Gmane > > regards > > mark > > On Sat, Mar 28, 2009 at 9:22 AM, Richard Alan < > richard.philippi...@gmail.com > > wrote: > > > Hello, > > >

[Mediawiki-l] Is this list available in a newsgoup?

2009-03-28 Thread Richard Alan
Hello, Is there a newsgroup that has the same posting as this mailing list. Just wondering as it might be easier for me to read offline. Thanks, Richard ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/li