I see that there are default sidebar panels on the right of most pages. For example, on the right of the page below, there are these panels: "Community Chat", "Recent Wiki Activity", and "Popular pages", etc.
I'd like to know how to include and exclude these panels from the sidebar, and whether the style and content of each panel may be changed. I've visited the following links, but they don't seem to be relevant:
Also, neither the contents of MediaWiki:Sidebar or MediaWiki:Monaco-sidebar seem to match the panels that are actually displayed, so I'm not sure if I should work with these.
Other google results seem to indicate that this may be something that requires intervention from fandom staff, if at all possible
My actual goal is simply to include the discord chat widget on every page.
What gets put into the sidebar on server-side page generation is so to say hardcoded. Of course there won't be a chat module of you don't have chat enabled, but you can't just edit e.g. a system message to add stuff there.
What you can do though is to modify the sidebar via CSS and JS after it has been sent to the client. I don't remember the exact rules, but afaik you are allowed to add new things, but not remove existing ones. If in doubt consult the Customization policy and the Terms of Use.
You say you specifically want to add a discord widget to the sidebar. There already is a pre made script to include Discord available. If you have administrator rights on the wiki in question you can just enable that.
NoWayThisUsernameIsAlreadyOwnedBySomeone wrote: What gets put into the sidebar on server-side page generation is so to say hardcoded. Of course there won't be a chat module of you don't have chat enabled, but you can't just edit e.g. a system message to add stuff there.
What you can do though is to modify the sidebar via CSS and JS after it has been sent to the client. I don't remember the exact rules, but afaik you are allowed to add new things, but not remove existing ones. If in doubt consult the Customization policy and the Terms of Use.
You say you specifically want to add a discord widget to the sidebar. There already is a pre made script to include Discord available. If you have administrator rights on the wiki in question you can just enable that.
Hi, thank you. I should have used DiscordWidget (for entire site), but I used DiscordIntegrator (for single pages) instead. Correcting this oversight solved the problem.