Extension talk:AddScriptCss/Archive 1

Latest comment: 16 years ago by 81.86.222.234 in topic Bug

Bug

Are you using parser caching? Jean-Lou Dupont 00:16, 2 January 2008 (UTC)Reply
I think so.--Add 01:32, 2 January 2008 (UTC)Reply

what kind of things can this extension be used for?81.86.222.234 00:43, 3 February 2008 (UTC)Reply

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';
Return to "AddScriptCss/Archive 1" page.