* Trevor Parscal <[email protected]> [Fri, 05 Nov 2010 10:49:37 
-0700]:
> MakeGlobalVariablesScript does not do what you think it does, and is 
not
> an appropriate hook for doing anything but adding elements to the 
array
> argument for that hook. You should be adding modules in your
> SpecialPage::execute function.
>
It was a desperate action. addModules didn't work in 
SpecialPage::execute() - my guess was that addModules() should not be 
called before registerModules(), but maybe I am wrong.
http://www.mediawiki.org/wiki/Extension:WikiSync

> As for your addScript() calls not working, I will need to look at your
> code, I assume it's checked in at extensions/WikiSyncSetup? Maybe you
> could find me on IRC and I could help you there - it will be quicker
> than this list.
>
Sorry I currently don't have the time for IRC. I haven't checked the 
code because trunk supposed to be working. Now I've checked it, although 
the ResourceLoader still does not work for me:
http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/WikiSync/
BTW, Sorry for taking your time.
Dmitriy

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to