Fandom

Wikia Developers Wiki

AlertBar

823pages on
this wiki
Add New Page
Talk2 Share

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 Wikians 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

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.