Support wiki
This is the wiki.gg support wiki! It's a different site from your content wiki!
Thanks
Jump to navigation
Jump to search
Thanks
MediaWiki
Description
Allows editors to thank other editors for individual edits
Thanks is an extension for thanking editors.
Icons
To attach an icon to the "thank" button:
Checkmark
- You need to be a local/community admin on your wiki to follow these steps, since it involves editing pages in the MediaWiki namespace.
- Copy the source code to your wiki. This includes the contents of the following pages:
- Copy the contents of MediaWiki:Gadget-ThanksCheckmark to your wiki. This is the translation string that will display when people look at information about the gadget, so you can modify it if needed.
- At Mediawiki:Gadgets/ThanksCheckmark, there are configurable options. The only one you need to worry about configuring here is
default.- If
defaultis set to true, the gadget will be enabled for everyone, but they can opt-out in their preferences. If it's false, nobody will have the gadget enabled unless they opt-in.
- If
- On wikis with heavily customized CSS, you may need to replace
var(--wiki-icon-to-link-filter)with your own filter to colorize the icon. - You may have to wait somewhere between 5 and 15 minutes at this time for server-side cache to update.
- Done! Make sure you cache refresh on your browser (Ctrl+F5) on the upload page to see changes.
Custom icon from a wiki file
- You need to be a local/community admin on your wiki to follow these steps, since it involves editing pages in the MediaWiki namespace.
- Copy the source code to your wiki. This includes the contents of the following pages:
- Copy the contents of MediaWiki:Gadget-ThanksIcon to your wiki. This is the translation string that will display when people look at information about the gadget, so you can modify it if needed.
- At Mediawiki:Gadgets/ThanksIcon, there are configurable options. The only one you need to worry about configuring here is
default.- If
defaultis set to true, the gadget will be enabled for everyone, but they can opt-out in their preferences. If it's false, nobody will have the gadget enabled unless they opt-in.
- If
- Change the 18th line to point at your own icon. This should not be bigger than 64x64 pixels for performance reasons.
- On wikis with heavily customized CSS, you may need to replace
brightness(0) var(--wiki-icon-to-link-filter)with your own filter to colorize the icon when mouse cursor is over. - You may have to wait somewhere between 5 and 15 minutes at this time for server-side cache to update.
- Done! Make sure you cache refresh on your browser (Ctrl+F5) on the upload page to see changes.