Khok-tián:Sin-bûn-Khing

From mediawiki.org
This page is a translated version of the page Extension:NewsBox and the translation is 100% complete.
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.1.5
MediaWiki 1.39.6+
License GNU General Public License 2.0 or later
Download
Version history
Example Any ShoutWiki site
Quarterly downloads 4 (Ranked 145th)
Public wikis using 1,145 (Ranked 241st)
Translate the NewsBox extension if it is available at translatewiki.net

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.

An-tsong

  • 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.