Topic on Help talk:Extension:TemplateWizard

Disable bundled TemplateWizard or locate files

8
Summary by Hoefsldyla

Resolved

Hoefsldyla (talkcontribs)

I have a problem where I would like to edit the *.js files that make TemplateWizard work as I need some custom behaviour. The problem is that some version of TemplateWizard came "bundled" with my verison of MediaWiki. I wouldn't think this was a problem except that I have installed the Extension manually also (So that i can edit these files) but it seems to be using the bundled version and its *.js files as i can completely corrupt the ones used by the manually installed extension and the TemplateWizard still works fine. It does show up in Special:Version so i know it is installed.


To solve this problem i would ideally like to disable the bundled version of TemplateWizard unless someone can point me to where its files are located.

NKohli (WMF) (talkcontribs)

Hi @Hoefsldyla. Are you sure that TemplateWizard was bundled with MediaWiki? It's a fairly new extension. It should not be bundled with MediaWiki. A quick search on the bug tracker didn't show up any results.

Hoefsldyla (talkcontribs)

Hmm that is odd as I didn't install it, however maybe maybe it came with Visual Editor. Either way the same problem still applies.

NKohli (WMF) (talkcontribs)

@Hoefsldyla Can you share a screenshot of the wizard you are talking about? VisualEditor does not use TemplateWizard but has its own wizard to insert templates. I'll be able to help you more if you can tell me what you want to disable. :)

Hoefsldyla (talkcontribs)

@NKohli (WMF) Really? I thought they must be the same thing as they look identical and have identical functions. In that case maybe TemplateWizard isn't working at all? If I am editing a page in visual editor mode where should the button to using TemplateWizard be situated? Here are screenshots

Hoefsldyla (talkcontribs)

I have also noticed that when I have the TemplateWizard extension loaded my WikiEditor dissapears from source mode

NKohli (WMF) (talkcontribs)

Yup, what you see is VisualEditor's own Template insert wizard. TemplateWizard looks quite different, see screenshots here. The TemplateWizard we made only works with WikiEditor and does not work for VE. That's because VE had its own thing. I am not completely sure if/how to disable it (code probably somewhere here) but TemplateWizard won't work on VE, unfortunately. :(

Hoefsldyla (talkcontribs)