FixCrossWikiNotif

From Support Wiki
Jump to navigation Jump to search

fixCrossWikiNotif is a gadget for wikis to fix echo cross-wiki notifications.

Installation instructions

Note: This is a bugfix gadget, not a functionality addition, so we recommend adding it as default-hidden.

  1. You need to be a local/community admin on your wiki to follow these steps, since it involves editing pages in the MediaWiki namespace.
  2. Copy the contents of MediaWiki:Gadget-fixCrossWikiNotif 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.
  3. Copy the source code to your wiki. This includes the contents of the following pages:
  4. At MediaWiki:Gadgets-definition on your wiki, APPEND ONE of the following three options, depending on what config option you want.
    • * fixCrossWikiNotif[ResourceLoader|dependencies=ext.echo.api,mediawiki.language|default|hidden|type=general]|fixCrossWikiNotif.js = it's available to everyone with no opt-out ability (RECOMMENDED)
    • * fixCrossWikiNotif[ResourceLoader|dependencies=ext.echo.api,mediawiki.language|default|type=general]|fixCrossWikiNotif.js = it's available to everyone but you can opt out in your user page
    • * fixCrossWikiNotif[ResourceLoader|dependencies=ext.echo.api,mediawiki.language|type=general]|fixCrossWikiNotif.js = by default it's not turned on, but you can turn it on in settings
  5. You may have to wait somewhere between 5 and 15 minutes at this time for server-side cache to update.
  6. Done! Make sure you cache refresh on your browser (Ctrl+F5) on the upload page to see changes.