Hi,
i've integrated the AddScriptCss extension. But how to set up a new js-file in the header?
It's not clear where I#ve had to insert f.e. <addscript src=/sarissa/sarissa type=js />
Thanks mic
I have updated the extension on MediaWiki.org. You have to set the global variable $bwScriptsDirectory.
The example below would fetch the script from the location $bwScriptsDirectory.'/sarissa'.
hope this helps. jld.
Michael Heyder wrote:
Hi,
i've integrated the AddScriptCss extension. But how to set up a new js-file in the header?
It's not clear where I#ve had to insert f.e.
<addscript src=/sarissa/sarissa type=js />
Thanks mic
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Not really
I ve create a new specialpage
have i only to add this <addscript src=/sarissa/sarissa type=js /> to the html code.
or could id be done by a function in the new specialpage?
regards mic
Jean-Lou Dupont schrieb:
I have updated the extension on MediaWiki.org. You have to set the global variable $bwScriptsDirectory.
The example below would fetch the script from the location $bwScriptsDirectory.'/sarissa'.
hope this helps. jld.
Michael Heyder wrote:
Hi,
i've integrated the AddScriptCss extension. But how to set up a new js-file in the header?
It's not clear where I#ve had to insert f.e.
<addscript src=/sarissa/sarissa type=js />
Thanks mic
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Michael Heyder wrote:
Not really
I ve create a new specialpage
have i only to add this <addscript src=/sarissa/sarissa type=js /> to the html code.
or could id be done by a function in the new specialpage?
regards mic
Jean-Lou Dupont schrieb:
I have updated the extension on MediaWiki.org. You have to set the global variable $bwScriptsDirectory.
The example below would fetch the script from the location $bwScriptsDirectory.'/sarissa'.
hope this helps. jld.
Michael Heyder wrote:
Hi,
i've integrated the AddScriptCss extension. But how to set up a new js-file in the header?
It's not clear where I#ve had to insert f.e.
<addscript src=/sarissa/sarissa type=js />
Thanks mic
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Special Page? like in http://www.mediawiki.org/wiki/Special:Recentchanges ? That sort of special page?
jld.
Jean-Lou Dupont schrieb:
Michael Heyder wrote:
Not really
I ve create a new specialpage
have i only to add this <addscript src=/sarissa/sarissa type=js /> to the html code.
or could id be done by a function in the new specialpage?
regards mic
Jean-Lou Dupont schrieb:
I have updated the extension on MediaWiki.org. You have to set the global variable $bwScriptsDirectory.
The example below would fetch the script from the location $bwScriptsDirectory.'/sarissa'.
hope this helps. jld.
Michael Heyder wrote:
Hi,
i've integrated the AddScriptCss extension. But how to set up a new js-file in the header?
It's not clear where I#ve had to insert f.e.
<addscript src=/sarissa/sarissa type=js />
Thanks mic
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Special Page? like in http://www.mediawiki.org/wiki/Special:Recentchanges ? That sort of special page?
jld.
Right:
Special:ArticleWizard
but now need to add some special js-files wizard.js
But I can't stand how to realise this.
mic
Michael Heyder wrote:
Jean-Lou Dupont schrieb:
Michael Heyder wrote:
Not really
I ve create a new specialpage
have i only to add this <addscript src=/sarissa/sarissa type=js /> to the html code.
or could id be done by a function in the new specialpage?
regards mic
Jean-Lou Dupont schrieb:
I have updated the extension on MediaWiki.org. You have to set the global variable $bwScriptsDirectory.
The example below would fetch the script from the location $bwScriptsDirectory.'/sarissa'.
hope this helps. jld.
Michael Heyder wrote:
Hi,
i've integrated the AddScriptCss extension. But how to set up a new js-file in the header?
It's not clear where I#ve had to insert f.e.
<addscript src=/sarissa/sarissa type=js />
Thanks mic
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Special Page? like in http://www.mediawiki.org/wiki/Special:Recentchanges ? That sort of special page?
jld.
Right:
Special:ArticleWizard
but now need to add some special js-files wizard.js
But I can't stand how to realise this.
mic
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
wgOut->addScript
Michael Heyder wrote:
Jean-Lou Dupont schrieb:
Michael Heyder wrote:
Not really
I ve create a new specialpage
have i only to add this <addscript src=/sarissa/sarissa type=js /> to the html code.
or could id be done by a function in the new specialpage?
regards mic
Jean-Lou Dupont schrieb:
I have updated the extension on MediaWiki.org. You have to set the global variable $bwScriptsDirectory.
The example below would fetch the script from the location $bwScriptsDirectory.'/sarissa'.
hope this helps. jld.
Michael Heyder wrote:
Hi,
i've integrated the AddScriptCss extension. But how to set up a new js-file in the header?
It's not clear where I#ve had to insert f.e.
<addscript src=/sarissa/sarissa type=js />
Thanks mic
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Special Page? like in http://www.mediawiki.org/wiki/Special:Recentchanges ? That sort of special page?
jld.
Right:
Special:ArticleWizard
but now need to add some special js-files wizard.js
But I can't stand how to realise this.
mic
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
wgOut->addHeadItem
Jean-Lou Dupont schrieb:
Michael Heyder wrote:
Jean-Lou Dupont schrieb:
Michael Heyder wrote:
Not really
I ve create a new specialpage
have i only to add this <addscript src=/sarissa/sarissa type=js /> to the html code.
or could id be done by a function in the new specialpage?
regards mic
Jean-Lou Dupont schrieb:
I have updated the extension on MediaWiki.org. You have to set the global variable $bwScriptsDirectory.
The example below would fetch the script from the location $bwScriptsDirectory.'/sarissa'.
hope this helps. jld.
Michael Heyder wrote:
Hi,
i've integrated the AddScriptCss extension. But how to set up a new js-file in the header?
It's not clear where I#ve had to insert f.e.
<addscript src=/sarissa/sarissa type=js />
Thanks mic
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Special Page? like in http://www.mediawiki.org/wiki/Special:Recentchanges ? That sort of special page?
jld.
Right:
Special:ArticleWizard
but now need to add some special js-files wizard.js
But I can't stand how to realise this.
mic
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
wgOut->addHeadItem
$wgOut->addHeadItem doesn't work undefinied function, but addscript works
thanks mic
mediawiki-l@lists.wikimedia.org