Extension:Contributors/pt-br
O autor desta extensão não está mais mantendo-a! Embora ainda possa funcionar, qualquer relatório de bug ou solicitações de recursos serão mais do que provavelmente ignorados. Se você estiver interessado em assumir a tarefa de desenvolver e manter essa extensão, você pode solicitar a propriedade do repositório. As a courtesy, you may want to contact the author. Você também deve remover essa predefinição e listar-se como mantenedor da extensão na infobox da página $extension. |
Estado da versão: sem manutenção |
|
|---|---|
| Implementação | Atividade dos usuários, Página especial |
| 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 |
A master mantém a compatibilidade com versões anteriores. |
| MediaWiki | 1.35-1.39 |
| PHP | 7.3+ |
| Modifica o banco de dados |
Sim |
| Tabelas | contributors |
| Licença | GNU GPL (Licença Pública Geral) 2.0 ou superior |
| Download | |
|
|
| Para traduzir a extensão Contributors, verifique sua disponibilidade no translatewiki.net | |
| Problemas | Tarefas em aberto · Relatar um bug |
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
- Baixe e mova a pasta extraída
Contributorsao seu diretórioextensions/.
Desenvolvedores e colaboradores de código, por outro lado, deverão instalar a extensão a partir do Git, usando:cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Contributors
- Adicione o seguinte código ao final do seu arquivo LocalSettings.php:
wfLoadExtension( 'Contributors' );
- Execute o script de atualização que criará automaticamente as tabelas necessárias a essa extensão no banco de dados.
- Run the script that will populate the database with contributors from existing articles:
php extensions/Contributors/maintenance/PopulateContributorsTable.php
Concluído – Navegue à página Special:Version em sua wiki para verificar se a instalação da extensão foi bem sucedida.
- 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
$wgContributorsLinkUserslinks 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:Semantic Extra Special Properties - See property
_EUSER. - Manual:$wgMaxCredits - displays credits without requiring an extension, appending
?action=creditsto the url builtin MediaWiki feature
- Unmaintained extensions/pt-br
- User activity extensions/pt-br
- Special page extensions/pt-br
- GPL licensed extensions/pt-br
- Extensions in Wikimedia version control/pt-br
- ArticleRevisionVisibilitySet extensions/pt-br
- LoadExtensionSchemaUpdates extensions/pt-br
- PageSaveComplete extensions/pt-br
- ParserFirstCallInit extensions/pt-br
- SidebarBeforeOutput extensions/pt-br
- SkinTemplateToolboxEnd extensions/pt-br
- All extensions/pt-br
- Edit extensions/pt-br
