Extension:TheWikipediaLibrary

From Linux Web Expert

MediaWiki extensions manual
TheWikipediaLibrary
Release status: beta
px
Implementation Notify
Description Notify users of their eligibility for the Wikipedia Library when they cross the edit count and account age thresholds
Author(s) Kavitha Muthu, Roan Kattouw, Jason Sherman
Latest version 1.0.1 (Continuous updates)
Compatibility policy Snapshots releases along with MediaWiki. Master is not backward compatible.
MediaWiki >= 1.42
PHP 5.6+
Database changes No
License MIT License
Download
  • $wgTwlEditCount
  • $wgTwlSendNotifications
  • $wgTwlUserPrimaryUrl
  • $wgTwlUserSecondaryUrl
  • $wgTwlRegistrationDays
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 TheWikipediaLibrary extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

The TheWikipediaLibrary extension is used by Wikimedia Foundation sites to notify users when they have become eligible for the Wikipedia Library program. The notification is sent to users with accounts older than six months upon the user's first edit after crossing the eligibility threshold of 500 edits.

Dependencies

Installation

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

Updating Production Configuration

Some tasks, like enabling the extension for a wiki (or all wikis) or adjusting the minimum global editcount, require a production backport: