Jump to content

Extensão:AutoModerador/Implantação

From mediawiki.org
This page is a translated version of the page Extension:AutoModerator/Deploying and the translation is 31% complete.
Outdated translations are marked like this.

This page provides details on the steps required, both from the Wikimedia Foundation and communities, to enable Automoderator on a Wikimedia project.

Observe que o AutoModerator atualmente oferece suporte apenas a projetos da Wikipedia.

0. Consenso da comunidade

Antes de implantar o AutoModerator em um projeto da Wikimedia, gostaríamos de ver alguma indicação da comunidade deste projeto de que eles estão entusiasmados em ativar a extensão. Isso não precisa ser na forma de um RfC formal, mas queremos saber se há editores interessados ​​suficientes para que o consenso local sobre a configuração possa ser alcançado e que haja supervisão suficiente dos fluxos de trabalho, como a revisão de relatórios falsos positivos.

Assim que houver um consenso para ativar o AutoModerator em seu projeto, por favor arquive uma tarefa do Phabricator para que as etapas a seguir possam ser rastreadas. À medida que sua comunidade passa por cada uma das etapas, elas podem ser marcadas como concluídas na tarefa.

Wikis onde o StructuredDiscussions/Flow é usado geralmente não são elegíveis para implantação no momento, já que a mensagem da página de discussão do usuário do Automoderator atualmente só pode ser postada em páginas de discussão que não usem Flow. If new users generally don't have Flow talk pages then this may not be a hard blocker. Please feel free to still file a Phabricator ticket so that we can track your request and let you know when this limitation has been lifted.

Username and localisation

O nome de usuário do AutoModerator deve ser selecionado antes que a extensão possa ser habilitada.

O nome de usuário não deve estar em uso por outra conta, mas será reservado assim que o AutoModerator for configurado, de forma que nenhum outro usuário possa se registrar com o mesmo nome de usuário.

Você pode usar o nome 'Automoderador' se fizer sentido no seu idioma.

Username recommendations:

  • Não crie o nome de usuário do AutoModerator muito longo.
  • Don't use accusatory words like 'vandalism', or martial words like 'fighter'.
  • Make it clear that the account is automated, or a bot.

Há uma série de strings para localizar para o AutoModerator, inclusive para seu resumo de edição e mensagens da página de discussão, no translatewiki. These can be overwritten locally via the relevant system messages.

Please make note of the desired username in the Phabricator ticket. The username cannot be changed easily - if you want to change the username in the future, please file a new Phabricator ticket.

Create AutoModerator's user page

O AutoModerator realizará ações a partir de uma conta, usando o nome de usuário configurado na etapa anterior. Esta conta pode ter uma página de usuário, que deve ser criada antes da ativação do AutoModerator. Criamos o seguinte modelo que você pode localizar diretamente para o seu idioma e/ou modificar conforme decidido pela sua comunidade:

The Dashboard URL can be replaced with a filtered version of the Activity Dashboard for your wiki. To retrieve this, log in to the Superset dashboard, click the Wiki filter on the left, select your Wiki, and click Apply Filters.

Then click the three dots in the top corner and select Share > 'Copy permalink to clipboard'. Your wiki will only display in the list approximately 1 week after the extension has been enabled at your wiki.

Sintaxe da página do usuário

Copie o texto a seguir para a página de usuário do Automoderator e traduza-o.

__NOEDITSECTION__
=== What is Automoderator? ===
Automoderator is an automated system which uses a machine learning model to identify and revert potentially bad edits to ensure Wikipedia remains reliable and trustworthy. Because the model is not perfect, it sometimes reverts good edits; these reverts can be undone directly or reported as false positives. Automoderator’s behaviour is configured by the administrators of this Wikimedia project.

You can monitor [[Special:Contributions/{{PAGENAME}}|Automoderator's edits]], or view [https://superset.wmcloud.org/superset/dashboard/unified-automoderator-activity-dashboard/ general activity metrics for Automoderator]. <!-- You can replace the Dashboard URL with a wiki-specific one per the guidance on the Deploying page -->

=== Configure ===
Administrators can configure Automoderator, including turning it on or off, at any time. 

[[Special:CommunityConfiguration/AutoModerator|<span class="mw-ui-button mw-ui-neutral" role="button" aria-disabled="false">Configure Automoderator</span>]]

[[mw:Special:MyLanguage/Moderator_Tools/Automoderator|Learn more]] about the Automoderator project and the teams behind it. <!-- This link goes to Mediawiki. Please keep this link as it is -->

=== Help us improve Automoderator ===
<div style="display: flex; flex-wrap: wrap; gap: 1em;">

<div style="flex: 1 1 150px; background: #ffffff; padding: 14px 16px 14px 16px; border: 1px solid #c8ccd1; border-radius: 1px; text-align: align-left;">
<div style=" display: inline-block;"> [[File:OOjs UI icon feedback-ltr.svg|frameless|18x18px|link=]]</div>  '''Give feedback'''

The Moderator Tools team wants to hear your thoughts! Reach out to us through <span class="plainlinks">[https://www.mediawiki.org/wiki/Talk:Moderator_Tools/Automoderator?action=edit&section=new&dtpreload=1&nosummary=true&preload=&preloadtitle=Feedback%20from%20%7B%7Bsubst:REVISIONUSER%7D%7D our talk page]</span>.
<!-- This link goes to Mediawiki. Please keep this link as it is -->

</div>
<div style="flex: 1 1 150px; background: #ffffff; padding: 14px 16px 14px 16px; border: 1px solid #c8ccd1; border-radius: 1px; text-align: align-left;">
<div style=" display: inline-block;"> [[File:OOjs UI icon flag-ltr.svg|frameless|18px|link=]]</div> '''Report a false positive'''

If Automoderator reverted an edit that you think was '''not''' supposed to be reverted, please [[User:AutoModeratorTest/False positives|report a false positive]]. 
<!-- This link goes to the false positive report page at your wiki. Please edit this link accordingly, when the reporting page is setup. -->
</div>
</div>

Create false positive reporting page

AutoModerator will not be perfect, and will sometimes revert good edits. Communities will therefore need to set up a false positive reporting and review workflow, so that new editors can report AutoModerator's mistakes for review by experienced editors. This will also require local experienced editors to monitor the page so that good edits can be reinstated - please ensure that at least a few editors have added this page to their watchlist.

This page can be created wherever you think is most appropriate - perhaps in the project namespace, or as a subpage of Automoderator's user page.

We have created a basic page template to facilitate this workflow, where users can create a new section to report a false positive:

Syntax for the reporting page (with a preload)

Copy the following text to Automoderator's false report page. This page has a link from the user page. Please translate it. There is also a preload page to create.

<big>'''Help us improve Automoderator'''</big>

<div style="display: flex; flex-wrap: wrap; gap: 1em;"><div style="flex: 1 1 150px; background: #ffffff; padding: 14px 16px 14px 16px; border:var(--border-subtle,1px solid #c8ccd1); text-align: align-left;"><div style=" display: inline-block;">[[File:OOjs UI icon flag-ltr.svg|frameless|18x18px]]  '''Report a false positive '''</div>

If Automoderator reverted an edit that you think was '''not''' supposed to be reverted, please report a false positive.

<div style="text-align: right;">
<span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}}&section=new&dtpreload=1&nosummary=true&preloadtitle=Report%20by%20%7B%7Bsubst:REVISIONUSER%7D%7D&preload={{urlencode:User:{{PAGENAME}}/Preload}} <span class="mw-ui-button mw-ui-progressive" role="button" aria-disabled="false">Report false positive]</span></span>
</div>
</div>
<div style="flex: 1 1 150px; background: #ffffff; padding: 14px 16px 14px 16px; border:var(--border-subtle,1px solid #c8ccd1); text-align: align-left;"><div style=" display: inline-block;"> [[File:OOjs UI icon feedback-ltr.svg|frameless|18x18px]]  '''Give feedback'''</div>

The Moderator Tools team wants to hear your thoughts! Reach out to us through our talk page.

<div style="text-align: right;">
<span class="plainlinks">[https://www.mediawiki.org/wiki/Talk:Moderator_Tools/Automoderator?action=edit&section=new&dtpreload=1&nosummary=true&preload=&preloadtitle=Feedback%20from%20%7B%7Bsubst:REVISIONUSER%7D%7D <span class="mw-ui-button mw-ui-neutral" role="button" aria-disabled="false">Give feedback]</span></span>
</div>

</div>
</div>

[[User:{{PAGENAME}}/Preload|Create the preload page]]. When done, please remove this line.

Syntax for the preload page:

; Page and diff 
: Please link to the page where Automoderator reverted your edit, and the diff if you can. 
; Description 
: Please describe why your edit should have not been reverted by Automoderator.

Please make note of the false positive reporting page location in the Phabricator ticket.

MediaWiki configuration

At this stage, the Moderator Tools team has all the information they need to enable AutoModerator on your project. A patch will be submitted to configure the necessary information and we will let you know when AutoModerator is available for local configuration.

Local configuration

AutoModerator can now be locally configured and enabled by administrators at Special:CommunityConfiguration/AutoModerator. This form updates the page MediaWiki:AutoModeratorConfig.json, which is a normal MediaWiki page with a page history, watchlisting, etc.

We recommend starting with the 'Very cautious' revert threshold, and decreasing the threshold over time so that you can analyse Automoderator's behaviour.

Notes