FANDOM


What it does

Displays banner intro text when in either the simple or WYSIWYG editor. Also, displays for section edits.

Status

Originally copied from Wikipedia. Modified for use in Monobook, Monaco, and Oasis skins on Wikia, and added the intros when editing sections on articles

Installation

1. Add the code from here to your MediaWiki:Common.js

This demos two methods used to identify qualifying pages.

  1. The first is triggered if the page has a any elements with a particular class "disambigbox", and if so inserts text from template Disambig editintro.
  2. A page qualifies if it is member of particular category(s), in this cas Category:Living people and Possibly living people.

You may repeat as many addOnloadHook blocks as are needed.

Original code

From Wikipedia:Mediawiki:Common.js, see authors there. Current maintainer is RockMFR

Updates

7 March, 2011
  • Fix for new Wikia skin.--Grunny
3 February, 2010
  • Fix to include the new edit button next to page titles.--Grunny
12 January, 2010
  • Modified for use in both Monobook and Monaco, plus section edit functionality added.--Grunny
16 October, 2009
  • Initial patched version from wikipedia posted. Phlox.

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.