Jump to content

Extension:TheWikipediaLibrary

From mediawiki.org
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.
PHP 5.6+
Database changes No
License MIT License
Download
  • $wgTwlEditCount
  • $wgTwlSendNotifications
  • $wgTwlUserPrimaryUrl
  • $wgTwlUserSecondaryUrl
  • $wgTwlRegistrationDays
Quarterly downloads 2 (Ranked 127th)
Public wikis using 928 (Ranked 286th)
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

[edit]

Installation

[edit]
  • Download and move the extracted TheWikipediaLibrary 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/TheWikipediaLibrary
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'TheWikipediaLibrary' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Updating Production Configuration

[edit]

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