Extension:Toolhub/en

From Linux Web Expert

MediaWiki extensions manual
Toolhub
Release status: experimental
File:Toolhub community logo.svg
Implementation Hook
Description Provides Scribunto library for interacting with the Toolhub API
Author(s) BDavis (WMF)talk
Compatibility policy Snapshots releases along with MediaWiki. Master is not backward compatible.
MediaWiki 1.38+
Database changes No
License GNU General Public License 2.0 or later
Download
README.md
Example https://toolhub-extension-demo.toolforge.org/
Module
$wgToolhubBaseUrl
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Translate the Toolhub extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

The Toolhub extension provides a Scribunto library for interacting with the Toolhub API.

Installation

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/Toolhub/en</tvar>|Download]] and move the extracted <tvar name=name>Toolhub/en</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Toolhub%2Fen
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'Toolhub/en' );
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

Configuration parameters

$wgToolhubBaseUrl
Base URL for Toolhub instance. Default https://toolhub.wikimedia.org

See also