Topic on Project:Support desk

Is there a doc that explains where things are supposed to go in MediaWiki?

5
Txantimedia (talkcontribs)

I ask because I had a problem with the Cite button (c.f. Topic:Tz7x3i3fsb17vv0q) and the person who helped me, @AhmadF.Cheema, told me that Gadgets should go in the Profject namespace. Most of my gadgets are in the MediaWiki namespace, but putting the reftoolbar gadget in the Project namespace was, partly, what got it working.

So, should I be moving all the gadgets into Project?

I' searched for admin manuals, but haven't found anything on Gadgets with regard to what namespace they should be in.

Any links would be appreciated.

AhmadF.Cheema (talkcontribs)

Gadgets should be in the MediaWiki namespace, I was only taking about those pages which did not provide the source code for the gadget itself but only provided information about the gadget.

For example, your MediaWiki:RefToolbar page is not a gadget, it only provides information regarding the gadget RefToolbar (like w:Wikipedia:RefToolbar does on Wikipedia).

Txantimedia (talkcontribs)

Thank you, @AhmadF.Cheema. I am really struggling to understand gadgets. Is there a page that lists the gadgets that come with the default install? Where to find other gadgets and how to install them? Do you just copy the script over to a page with the same name? Import them?

I haven't found any understandable documentation on gadgets that helps me understand how to deploy them.

AhmadF.Cheema (talkcontribs)

Basic information is available at Extension:Gadgets. See more at Gadget kitchen.

No gadgets come with the default install. You can see your gadgets at your Wiki's Special:Gadgets page.

The red links on that page indicate the missing pages which are required for the gadget to work. Compare your Wiki's Special:Gadgets with Wikipedia's Special:Gadgets. This way you can take a quick look at all your missing pages.

I would again suggest that you remove gadgets from your MediaWiki:Gadgets-definition page which have red links associated with them as can be seen from your Special:Gadgets page.

For installing gadgets, you can "just copy the script over to a page with the same name". However, the quicker way to copy gadgets from other Wikis is to use the Export feature.

Txantimedia (talkcontribs)

Thanks again, @AhmadF.Cheema. I figured this out last night after doing some more reading. I've removed a bunch of gadgets from my definition file and Exported/Imported the ones that i wanted from Wikipedia.