[Mediawiki-l] efficiently adding javascript / css to page header

Jim Wilson wilson.jim.r at gmail.com
Thu May 17 15:24:19 UTC 2007


And if you're stuck with a version of MediaWiki prior to 1.10 - here's an
alternative:

http://jimbojw.com/wiki/index.php?title=Doing_more_with_MediaWiki_parser_extensions

On 5/17/07, Rob Church <robchur at gmail.com> wrote:
>
> On 17/05/07, Ittay Dror <ittayd at qlusters.com> wrote:
> > So, is there a way of better associating javascript with a page?
>
> In newer versions of MediaWiki, use Parser::addHeadItems(); see
> associated members and functions in Parser, ParserOutput and
> OutputPage.
>
> This is a recent addition from Tim Starling, which is an alternative
> implementation of extension output handlers.
>
>
> Rob Church
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>


More information about the MediaWiki-l mailing list