Jump to content

Extension:NewsBox

From mediawiki.org
MediaWiki extensions manual
NewsBox
Release status: stable
Implementation Skin
Description Adds a news box below the toolbox [sic]
Author(s) Jack Phoenix
Latest version 2.3
MediaWiki >= 1.35.0
License GNU General Public License 2.0 or later
Download
Version history
Example Any ShoutWiki site
Quarterly downloads 3 (Ranked 127th)
Public wikis using 1,145 (Ranked 242nd)
Translate the NewsBox extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

The NewsBox extension adds a news box to the left-hand sidebar, normally below the toolbox.

It works on all skins which call the SkinBuildSidebar hook — this includes all core skins (Cologne Blue, Modern, MonoBook and Vector) — as well as certain custom skins (Monaco, for example). NewsBox does not currently support the Nimbus skin.

Installation

[edit]
  • Download and move the extracted NewsBox folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/NewsBox
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'NewsBox' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.