Extension:WikimediaCampaignEvents
Not to be confused with Extension:CampaignEvents or Extension:WikimediaEvents.
WikimediaCampaignEvents Release status: stable |
|
---|---|
Implementation | Special page |
Description | Provides Wikimedia specific features for the CampaignEvents extension. |
Author(s) | Campaigns Team |
Compatibility policy | Snapshots releases along with MediaWiki. Master is not backward compatible. |
Database changes | Yes |
License | GNU General Public License 2.0 or later |
Download | |
Help | Help:Extension:WikimediaCampaignEvents/en |
|
|
Quarterly downloads | 0 |
Translate the WikimediaCampaignEvents extension if it is available at translatewiki.net | |
Issues | Open tasks · Report a bug |
Installation
- Download and move the extracted
WikimediaCampaignEvents
folder to yourextensions/
directory.
Developers and code contributors should install the extension from Git instead, using:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/WikimediaCampaignEvents - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'WikimediaCampaignEvents' );
- Run the update script which will automatically create the necessary database tables that this extension needs.
- Add the credentials for the Fluxx API to your LocalSettings.php
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Dependencies
Configuration
Setting name | Default value | Description |
---|---|---|
$wgWikimediaCampaignEventsFluxxOauthUrl
|
'https://wmf.fluxx.io/oauth/token'
|
Oauth URL for the Fluxx API. |
$wgWikimediaCampaignEventsFluxxBaseUrl
|
'https://wmf.fluxx.io/api/rest/v2/'
|
Base URL of the Fluxx API. |
$wgWikimediaCampaignEventsFluxxClientID
|
null
|
Client ID to use for the Fluxx API. |
$wgWikimediaCampaignEventsFluxxClientSecret
|
null
|
Client secret to use for the Fluxx API. |
API
Documentation of all the API endpoints is available.
See also
This extension is being used on one or more Wikimedia projects. This probably means that the extension is stable and works well enough to be used by such high-traffic websites. Look for this extension's name in Wikimedia's CommonSettings.php and InitialiseSettings.php configuration files to see where it's installed. A full list of the extensions installed on a particular wiki can be seen on the wiki's Special:Version page. |