Extension:WikimediaCampaignEvents/pl
Status wydania: stabilne |
|
|---|---|
| Realizacja | Strona specjalna |
| Opis | Provides Wikimedia specific features for the CampaignEvents extension. |
| Autor(zy) | Connection Team |
| Polityka zgodności | Snapshots releases along with MediaWiki. Master nie jest kompatybilny wstecznie. |
| Zmiany w bazie danych | Tak |
| Tabele | wikimedia_campaign_events_grant |
| Licencja | Licencja GNU General Public License 2.0 lub nowsza |
| Pobieranie | |
|
|
| Przetłumacz rozszerzenie WikimediaCampaignEvents jeżeli jest dostępne na translatewiki.net | |
| Problemy | Otwarte zadania · Zgłoś błąd |
Provides Wikimedia-specific features for the CampaignEvents extension. In particular, adds support for grants, and communicates with fluxx.io's grant management software. Organizers can associate their Grant ID with Event Registration data, so that it is easier to analyze the impact of their events.
Instalacja
- Pobierz i umieść plik(i) w katalogu o nazwie
WikimediaCampaignEventsw folderzeextensions/.
Developers and code contributors should install the extension from Git instead, using:cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/WikimediaCampaignEvents
- Dodaj poniższy kod na dole twojego pliku LocalSettings.php:
wfLoadExtension( 'WikimediaCampaignEvents' );
- Uruchom skrypt aktualizujący, który automatycznie stworzy potrzebne tabele dla tego rozszerzenia.
- Add the credentials for the Fluxx API to your LocalSettings.php
Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.
Zależności
Konfiguracja
| 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. |
$wgWikimediaCampaignEventsSparqlEndpoint
|
'https://query-main.wikidata.org/sparql'
|
The URL of the primary SPARQL endpoint. |
API
Documentation of all the API endpoints is available.
Integration with the Wikidata Query Service
The extension integrates with the Wikidata Query Service to show a list of all WikiProjects on Special:AllEvents. This functionality is implemented via the WikiProjectIDLookup class, which is based on SparqlClient.
WikiProjects are stored in the main stash for up to one week. However, the list is regenerated as soon as the value is older than one hour. All the value regenerations happen in a deferred update that does not block the main request: the user might be served a stale value while the fresh list is regenerated asynchronously.
Note that, if nobody visits the Special:AllEvents page for a whole week, the list of WikiProjects would expire, and an error would be shown upon loading the page.
A data update should be enqueued at the same time, so the data should become available again shortly afterwards.
Zobacz też
| To rozszerzenie jest wykorzystywane przez jeden lub więcej projektów Wikimedia. Oznacza to prawdopodobnie, że to rozszerzenie jest stabilne i działa wystarczająco dobrze, aby wykorzystywać je na stronach o dużym natężeniu ruchu. Odnajdź nazwę tego rozszerzenia w plikach konfiguracyjnych Wikimedia CommonSettings.php oraz InitialiseSettings.php, aby zobaczyć gdzie są zainstalowane. Pełną listę rozszerzeń zainstalowanych na określonej wiki można znaleźć na stronie Special:Version na danej wiki. |
- Stable extensions/pl
- Special page extensions/pl
- GPL licensed extensions/pl
- Extensions in Wikimedia version control/pl
- CampaignEventsGetAllEventsTabs extensions/pl
- CampaignEventsGetEventDetails extensions/pl
- CampaignEventsRegistrationFormLoad extensions/pl
- CampaignEventsRegistrationFormSubmit extensions/pl
- LoadExtensionSchemaUpdates extensions/pl
- ParserFirstCallInit extensions/pl
- All extensions/pl
- Extensions used on Wikimedia/pl
- Wiki-specific extensions/pl
