Extension talk:AddScriptCss/Archive 1
This page is an archive. Do not edit the contents of this page. Please direct any additional comments to the current talk page. |
Bug
- I try this extension, It's a pity that the extension don't allowed direct CSS like Extension:PageCSS. But he bug in this extension is that the css is load 6 times.I don't know why but just look at this screen.--Add 23:50, 1 January 2008 (UTC)
- Are you using parser caching? Jean-Lou Dupont 00:16, 2 January 2008 (UTC)
- I think so.--Add 01:32, 2 January 2008 (UTC)
what kind of things can this extension be used for?81.86.222.234 00:43, 3 February 2008 (UTC)
Just passes the new tags through to the page
I installed AddScriptCss (to the best of my ability), then I tested it with some code in my wikitext, such as:
<addscript src=index>
Unfortunately, I now see the tag itself (unchanged -- exactly as above) reproduced in the output page.
To make sure my setup is actually capable of using an extension -- any extension -- I installed the UnitsFormatter extension. Then I added
<showunits />
to my wiki text.
Instead of seeing an unchanged <showunits /> tag, I then saw -- as advertised -- a long list of units on the output page.
Thus I find I can install an extension and make it function, but not the AddScriptCss extension. It seems to do nothing!
Can anyone here suggest how to troubleshoot this problem?
Thank you.
- Have you installed the dependency too?
Error in documentation
The documentation tells this way to set the scripts base directory:
$bwScriptsDirectory = 'scripts';
But this is wrong (checked in MW 1.20.2). What should be used is:
$bwScriptsDirectory = '/scripts';