Extension:CiteDrawer

From Linux Web Expert

Revision as of 13:07, 14 September 2023 by imported>Vedmaka (updates mediawiki version)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<translate> This extension is professionally maintained by the WikiTeq team.</translate>
<translate> WikiTeq provides official support for [[<tvar name=1>Special:MyLanguage/Version lifecycle</tvar>|MediaWiki LTS releases only]].</translate> <translate> It may work with other MediaWiki releases.</translate>
MediaWiki extensions manual
CiteDrawer
Release status: stable
Description Adds a floating drawer displayed at the bottom of the screen when user clicks on <ref> link
Author(s) Tosfostalk
Maintainer(s) WikiTeq team
Latest version 1.0.1
Compatibility policy For every MediaWiki release that is a Long Term Support release there is a corresponding branch in the extension.
MediaWiki 1.39+
License MIT License
Download
  • $wgCiteDrawerEnableMobile
  • $wgCiteDrawerEnableDesktop
  • $wgCiteDrawerTheme
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 CiteDrawer extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

The CiteDrawer extension eases user interaction with the Cite extension by introducing a floating drawer displayed at the bottom of the screen when a user clicks on a link.

This extension was created for WikiWorks.

Prerequisites

  • Extension Cite needs to be installed, so this extension can work.

Installation

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/CiteDrawer</tvar>|Download]] and move the extracted <tvar name=name>CiteDrawer</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/CiteDrawer
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'CiteDrawer' );
    
  • 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

This extension has 3 configuration parameters:

  • $wgCiteDrawerEnableDesktop which enables this extension to work on desktop devices. It is enabled by default, and if you don't want it, set parameter to false
  • $wgCiteDrawerEnableMobile which enables this extension to work on mobile. It is enabled by default, and if you don't want it, set parameter to false
  • $wgCiteDrawerTheme which is used for changing widget appearance. Options light and dark are available. Per default, this is dark.