Fandom

Wikia Developers Wiki

NewDiffStyle

846pages on
this wiki
Add New Page
Talk7 Share
Nuvola apps kservices This article is about a system or feature that is no longer in use.
  • The page is retained for historical reasons.

NewDiffStyle allows you to have the newer (MediaWiki 1.20+) diff style like Wikipedia, here on Fandom.

NOTICE: As of the September 1st, 2016 release, this functionality has been backported by Fandom and is available by default. As such, this stylesheet is no longer required.

Usage

Add the following line[1] to your wiki's MediaWiki:Common.css page[2] (for wiki-wide use) or your global.css page (for personal use on all wikis). It must be at the very top of the page (with any other @import rules you may have) to work.

@import url('//dev.wikia.com/load.php?lang=en&mode=articles&articles=u:dev:NewDiffStyle/code.css&only=styles');

You can also copy the contents of the NewDiffStyle/code.css page to your CSS page, if you prefer.

Footnotes

  1. If you are using a right-to-left language, you'll need to change the 'lang=en' parameter to the correct language code for the style to look best.
  2. If your wiki was created before mid-2014, you may need to add it to MediaWiki:Wikia.css also (see Help:Community CSS and JS#CSS for details).

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.