-Original Message-
From: wikitech-l-boun...@lists.wikimedia.org
[mailto:wikitech-l-boun...@lists.wikimedia.org] On Behalf Of Krinkle
Sent: 25 May 2012 21:19
To: Wikimedia developers
Subject: Re: [Wikitech-l] ResourceManager and Javascript in Mediawiki
On May 25, 2012, at 10:37 PM, Derric Atzrott
I've been doing some reading recently on the MediaWiki wiki about
ResourceManager and how to use it to use JavaScript in MediaWiki extensions.
Perhaps because it is new the documentation is not complete, or perhaps I
just didn't quite understand the examples, but either way, I've been left
quite
On Fri, May 25, 2012 at 12:32 PM, Derric Atzrott
datzr...@alizeepathology.com wrote:
I've been doing some reading recently on the MediaWiki wiki about
ResourceManager and how to use it to use JavaScript in MediaWiki extensions.
Perhaps because it is new the documentation is not complete, or
Could you tell us what you're confused about specifically? Just saying I
don't understand, please explain everything is not very helpful.
Also, if you've been searching for ResourceManager, you may not have
found the docs you were looking for, because the subsystem is called
ResourceLoader.
On Fri, May 25, 2012 at 12:47 PM, Derric Atzrott
datzr...@alizeepathology.com wrote:
I have read the Migration Guide for Extension Developers; I actually still
have it open right now. It lead me to believe that if I were to do the
following, I could expect to see some sort of result.
Add the
-
From: wikitech-l-boun...@lists.wikimedia.org
[mailto:wikitech-l-boun...@lists.wikimedia.org] On Behalf Of Roan Kattouw
Sent: 25 May 2012 16:00
To: Wikimedia developers
Subject: Re: [Wikitech-l] ResourceManager and Javascript in Mediawiki
On Fri, May 25, 2012 at 12:47 PM, Derric Atzrott
datzr
On May 25, 2012 10:11 PM, Derric Atzrott datzr...@alizeepathology.com
wrote:
Ah. That would do it. I had forgotten to mention this, but in
SpecialMasterPlanForm.php I have a line $wgOut-addModules(
'ext.MasterPlanForm.core'); but if I need put that in a BeforePageDisplay
hook, that would
...@lists.wikimedia.org
[mailto:wikitech-l-boun...@lists.wikimedia.org] On Behalf Of Roan Kattouw
Sent: 25 May 2012 16:16
To: Wikimedia developers
Subject: Re: [Wikitech-l] ResourceManager and Javascript in Mediawiki
On May 25, 2012 10:11 PM, Derric Atzrott datzr...@alizeepathology.com
wrote:
Ah
On May 25, 2012, at 10:37 PM, Derric Atzrott wrote:
Hmmm does not appear to work for me. I added window.alert(Test); to
the JavaScript file to make sure.
The relevant sections of each file are listed out below. All of these
sections are in sections of their respective files that are