Extension:Backdrop

MediaWiki extensions manual
Backdrop
Release status: stable
Implementation Parser function
Description Provides reader specific background customisations
Author(s) Sanjay Thiyagarajan (Techwizzietalk)
Latest version 1.0.0 (2023-04-28)
MediaWiki 1.37.0+
Database changes No
License MIT License
Download

The Backdrop extension provides a reader specific wiki customization with respect to background, scrolling etc.

Installation

edit
  • Download and place the file(s) in a directory called Backdrop in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'Backdrop' );
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Usage

edit
 {{#backdrop: background=Cityatnight.jpg | coverpage=true | hidecontrol=true | titlecolor=white | pagelogo=BBC_logo.png | content-bgcolor=aliceblue | content-textcolor=green }}

Parameters

edit
  • background - Name of the image to be set as the background
  • coverpage - If a cover page displaying the title of the page along with the page logo is needed
  • hidecontrol - Hides the page controls like Edit, Delete, etc., to everyone but the logged-in user
  • titlecolor - Color to be used for the titles and subtitles throughout the article / page
  • pagelogo - Name of the image to be set as page logo
  • content-bgcolor - Color to be used for the background of the card displaying the main content
  • content-textcolor - Color to be used for the text in the main content