[Commons-l] Javascript-Extension Configuration-Framework

Magnus Manske magnusmanske at googlemail.com
Thu Jul 5 13:28:10 UTC 2007


On 7/5/07, Dschwen <lists at schwen.de> wrote:
> > How about a function "load_user_script(stuff)" that one can add to
> > monobook.js to wrap up the document.write orgy?
>
> I just added the function includePage( name ) to Common.js
> i.e.:
>
> includePage( 'MediaWiki:ResizeGalleries.js' );

Thanks, this makes my monobook.js look so much cleaner! Now I'll go
around my scripts changing the howto :-)

Magnus



More information about the Commons-l mailing list