Extension:Torque

MediaWiki extensions manual
Torque
Release status: beta
Implementation Parser extension , User interface, Search
Description Extension to connect to the Python django app django-torque, to provide permissioned access to data.
Author(s) OpenTechStrategies
Latest version 0.6.0 (April 27th, 2024)
MediaWiki > 1.39.0
PHP > 7.3
Database changes No
License GNU Affero General Public License 3.0 or later
Download Torque-0.6.0.tar.gz
README.md

The Torque extension connects to a running instance of the torque django server to serve up information.

It stores external data as generic document/field data, with in wiki configuration of how to display that data (via jinja templates) and permission that data. Then the data is served via a custom hook to appear as MediaWiki pages.

Features include:

  • Granular permissions based on MediaWiki groups
  • python client for easy access of information via published API
  • Edit functionality for that data
  • Protection on uploaded files (as attachments)
  • Upload through command line interface

Installation edit

You need to:

And then:

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

Configuration and documentation edit

See the extension's README in source control for all the updated documentation.