Extension:Contributors/pl
To rozszerzenie nie jest aktualnie aktywnie rozwijane! Pomimo, że może nadal działać, jakiekolwiek zgłoszenia błędów lub propozycji funkcji będą najprawdopodobniej ignorowane. If you are interested in taking on the task of developing and maintaining this extension, you can request repository ownership. As a courtesy, you may want to contact the author. You should also remove this template and list yourself as maintaining the extension in the page's {{Rozszerzenie }} infobox. |
Contributors Status wydania: niewspierane |
|
---|---|
Realizacja | Aktywność użytkownika , Strona specjalna |
Opis | Summarizes the most prominent contributors to an article |
Autor(zy) | Rob Church (original), Yaron Koren, Ike Hecht |
Ostatnia wersja | 2.1 (2023-09-22) |
Polityka zgodności | Master utrzymuje kompatybilność wsteczną. |
MediaWiki | 1.35-1.39 |
PHP | 7.3+ |
Zmiany w bazie danych | Tak |
Tabele | contributors |
Licencja | Licencja GNU General Public License 2.0 lub nowsza |
Pobieranie | |
|
|
Quarterly downloads | 3 (Ranked 127th) |
Przetłumacz rozszerzenie Contributors jeżeli jest dostępne na translatewiki.net | |
Problemy | Otwarte zadania · Zgłoś błąd |
The Contributors extension provides an includable special page which summarizes the most prominent contributors to an article. The page can be accessed as a normal special page, or included into other pages to provide an automated list, which is useful for attribution.
Instalacja
- Pobierz i umieść plik(i) w katalogu o nazwie
Contributors
w folderzeextensions/
.
Developers and code contributors should install the extension from Git instead, using:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Contributors - Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
wfLoadExtension( 'Contributors' );
- Uruchom skrypt aktualizujący, który automatycznie stworzy potrzebne tabele dla tego rozszerzenia.
- Run the script that will populate the database with contributors from existing articles:
php extensions/Contributors/maintenance/PopulateContributorsTable.php
- Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.
- upgrade:
php extensions/Contributors/maintenance/PopulateContributorsTable.php
Użycie
The list can be accessed as a conventional special page, or through inclusion into another page.
Special page
The special page is located at "Special:Contributors" and provides an interface to select an article. You can also access this page using the "main contributors" link in the toolbox when viewing an article; the results for that page will be shown.
Transclusion
You can transclude a list of names into another page using the inclusion mechanism, e.g.
{{Special:Contributors/Article}}
You can also create a template with the following code on it, and add it to your articles.
{{Special:Contributors/{{FULLPAGENAME}}}}
will produce a list of the most prominent contributors to Article
.
Parser function
There's also a parser function that displays the contributors in a plain list, like so: Joe, Moe and Jane.
{{#contributors:{{FULLPAGENAME}}}}
You can also filter anons from the list of contributors, like so:
{{#contributors:{{FULLPAGENAME}}|filteranon}}
Parametry
$wgContributorsLinkUsers
links the user names to their User page. Doesn't affect the Special page, which is always linked. (defaulttrue
)
Zobacz też
- Extension:PageAuthors - Gets a sensible list of the main page authors.
- Extension:ContributionCredits - adds a ==Contributors== footer on each page.
- Extension:Semantic Extra Special Properties - See property
_EUSER
. - Manual:$wgMaxCredits - displays credits without requiring an extension, appending
?action=credits
to the url builtin MediaWiki feature