FANDOM


Introduction

Something I made out of pure boredom, this is a script that adds a red bar to articles. It uses the contents of MediaWiki:Custom-HeaderAlert.

Install

1 - Add script to MediaWiki:ImportJS

dev:AlertBar/Source.js

2 — Set up the linked Project Page

Create the MediaWiki:Custom-HeaderAlert page with the message that you want all FANDOM users to see. You can blank it out at any time to make the bar stop appearing.

It is recommended that you add __NOEDITSECTION__ and __NOTOC__ on the page to ensure that the Table of Contents and Edit buttons remain off the alert bar.

Credit