Extension:Contributors/pt
<translate> This extension is currently not actively maintained!</translate> <translate> Although it may still work, any bug reports or feature requests will more than likely be ignored.</translate> <translate> If you are interested in taking on the task of developing and maintaining this extension, [[<tvar name=request>Special:MyLanguage/Gerrit/Privilege policy#Requesting Gerrit privileges</tvar>|you can request repository ownership]].</translate> <translate> As a courtesy, you may want to contact the author.</translate> <translate> You should also remove this template and list yourself as maintaining the extension in the page's <tvar name=extension>{{Modelo:Extensão }}</tvar> infobox.</translate> |
Contributors Estado de lançamento: sem manutenção |
|
---|---|
File:Contributors.png | |
Implementação | Atividade do utilizador , Página espacial |
Descrição | Summarizes the most prominent contributors to an article |
Autor(es) | Rob Church (original), Yaron Koren, Ike Hecht |
Última versão | 2.1 (2023-09-22) |
Política de compatibilidade | Original mantém a compatibilidade com versões anteriores. |
MediaWiki | 1.35-1.39 |
PHP | 7.3+ |
Tabelas | contributors |
Licença | Licença não especificada |
Transferência | |
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'). |
Traduza a extensão Contributors se ela estiver disponível em translatewiki.net | |
Problemas | Tarefas em aberto · Reportar um erro |
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.
Installation
- <translate> [[<tvar name=2>Special:ExtensionDistributor/Contributors/pt</tvar>|Download]] and move the extracted <tvar name=name>
Contributors/pt
</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/Contributors%2Fpt - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
wfLoadExtension( 'Contributors/pt' );
- <translate> Run the [[<tvar name=update>Special:MyLanguage/Manual:Update.php</tvar>|update script]] which will automatically create the necessary database tables that this extension needs.</translate>
- Run the script that will populate the database with contributors from existing articles:
php extensions/Contributors/maintenance/PopulateContributorsTable.php
- 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>
- upgrade:
php extensions/Contributors/maintenance/PopulateContributorsTable.php
Usage
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}}
Parameters
$wgContributorsLinkUsers
links the user names to their User page. Doesn't affect the Special page, which is always linked. (defaulttrue
)
See also
- Extension:PageAuthors - Gets a sensible list of the main page authors.
- Extension:ContributionCredits - adds a ==Contributors== footer on each page.
- Extension:DynamicPageList - can produce lists of revision history for multiple articles.
- 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
- Pages with script errors
- Pages with broken file links
- Unmaintained extensions/pt
- User activity extensions/pt
- Special page extensions/pt
- Extensions with manual MediaWiki version
- Extensions with no license specified/pt
- Extensions in Wikimedia version control/pt
- All extensions/pt
- Extensions not in ExtensionJson
- Edit extensions/pt