Wiki rotulagem

This page is a translated version of the page Wiki labels and the translation is 64% complete.
Outdated translations are marked like this.
Uma captura de tela da interface de rotulagem (Wiki labels) integrada na página en:WP:Labels.
Gadget Wiki labelsUma captura de tela da interface de rotulagem (Wiki labels) integrada na página en:WP:Labels.

Wiki labels é um sistema de computação humana utilizado em wikiprojetos "Wiki rotula ...". Para realizar análises difíceis (por exemplo medir a qualidade dos novos usuários ao longo do tempo[1]) e treinar ferramentas wiki inteligentes (por exemplo para a detecção de vandalismos[2][3][4] e avaliar a qualidade dos artigos[5][6][7]), precisamos de dados rotulados (o processo também é conhecido como "codificação") e em grande quantidade. O sistema de computação humana Wiki labels foi projetado para tornar rápido e fácil rotular artefatos wiki colaborativamente. O sistema é implementado por meio de um gadget do MediaWiki e um servidor, feitos em JavaScript/CSS e Python/Flask/Postgres


Gadget

Autorização OAuth. Uma captura da janela de confirmação OAuth do Wiki labels.

Os editores que instalarem o gadget verão a página principal da interface de rotulagem ser carregada como um aplicativo de página única dentro de pt:Wikipédia:Projetos/Rotulagem. Este aplicativo de página única permitirá que um editor veja as campanhas ativas, solicite novos grupos de tarefas e rotule revisões e outras "tarefas".

O sistema utiliza mw:Extension:OAuth para a integração com a conta MediaWiki do editor. As ações executadas dentro do sistema de rotulagem ficarão associadas à conta do usuário.

Instalação

Para instalar o gadget, inclua o seguinte código JavaScript no seu script global.js. Veja User:Wiki labeler/global.js (ou a lista de usuários) para um exemplo.

Interface translations

Wiki labels is registered at translatewiki.net. Please see translatewiki:Translating:Revision_scoring to contribute translations.

Servidor

Por trás do gadget, um servidor gerencia "campanhas", "tarefas", "grupos de tarefas" e "rótulos". O servidor disponibiliza uma interface REST para o acesso a estes dados. Há quatro módulos básicos: auth, users, campaigns e forms. O servidor também fornece alguns serviços visíveis para os usuários como o de elaboração de novos formulários e o acesso a um gadget autônomo.

Gerador de formulários

labels.wmflabs.org/form_builder

É fornecida uma interface geradora de formulários para o desenvolvimento e testes de formulários para suportar novas tarefas de rotulagem. Os campos do formulário são configurados em um formato YAML que reflete OOjs UI. Os formulários podem ser submetidos para revisão.

Gerador de formulários. Uma captura de tela do gerador de formulários.

Gadget autônomo

labels.wmflabs.org/gadget

Para facilitar o desenvolvimento e os testes também é oferecido acesso ao gadget por meio de um um aplicativo de uma única página. Se por algum motivo a versão wiki não estiver funcionando, os usuários podem trabalhar a partir desta interface.

Gadget autônomo. Uma captura de tela do gadget autônomo


Machine-readable paths

/campaigns/ - Lista as wikis que têm campanhas disponíveis.


/campaigns/<wiki>/ - Lists out campaigns available for a wiki
  • Add ?campaign=stats to the query string to include statistics about a campaign in the response.


/campaigns/<wiki>/<campaign_id>/ - Retorna dados sobre uma campanha.
  • Add ?tasks to the query string to include the campaign's tasks in the response.
  • Add ?worksets to the query string to include the worksets for the campaign in the response. Specify ?worksets=stats to include completion statistics with the workset listings.
  • Add ?assign to the query string to request a new workset assignment for the current user. This will only work if (1) the user is logged in, (2) there're tasks available to be assigned and (3) the user doesn't already have an open workset assignment.
/campaigns/<wiki>/<campaign_id>/<workset_id>/ - Retorna dados sobre um conjunto de tarefas
  • Add ?tasks to the query string to list out the tasks for this workset.
  • Add ?worksets=stats to include completion statistics with the workset listing.
  • Add ?campaign to the query string to include relevant campaign data and ?campaign=stats to also include campaign statistics.
  • Add ?abandon to the query string to release the incomplete tasks from this workset. This will only work if (1) the user is logged in and (2) the workset in question is assigned to the user. Only incomplete tasks will be released from the workset.
/campaigns/<wiki>/<campaign_id>/<workset_id>/<task_id>/ - Retorna dados sobre uma tarefa em particular.
  • Add ?campaign to the query string to include relevant campaign data and ?campaign=stats to also include campaign statistics.
  • Add ?worksets to the query string to include relevant worksets' data and ?worksets=stats to also include workset statistics.
  • Add ?label=<encoded json> to the URL. E.g. campaigns/enwiki/1/1/1?label={"damaging":true,"good-faith":false}. This will only work if the user is logged in.
/users/ - Fornece acesso aos dados do ponto de vista de um usuário


/users/<user_id>/ - Retorna informações sobre as atividades de um usuário
  • Add ?campaigns to the query string to return all campaigns that the user has been assigned worksets for. Specify ?campaigns=stats to also include campaign statistics.
  • Add ?worksets to the query string to return all worksets assigned to the user. Specify ?worksets=stats to also include workset statistics.
  • Add ?tasks to the query string to return all tasks assigned to the user. Note that labels applied by other users will be hidden from this view.
/users/<user_id>/<campaign_id>/ - Retorna informações sobre as atividades de um usuário dentro de uma campanha
  • Add ?campaigns=stats to the query string to include campaign statistics.
  • Add ?worksets to the query string to return all worksets assigned to the user. Specify ?worksets=stats to also include workset statistics.
  • Add ?tasks to the query string to return all tasks assigned to the user. Note that labels applied by other users will be hidden from this view.
/auth/ - Fornece suporte à autenticação de usuários.


/auth/initiate/ - Starts an OAuth handshake with MediaWiki.

É recomendado que este caminho seja requisitado a partir de uma janela pop-up.

/auth/callback/ - Used by MediaWiki to complete an OAuth handshake.

When a pop-up window is redirected here, it will be automatically closed.

/auth/whoami/ - Prints information about logged-in user

...

/auth/logout/ - Apaga a sessão e esquece sobre o usuário

...

/forms/ - Fornece acesso à configuração de formulários e à sua internacionalização

Estes formulários podem ser carregados pelo gadget de rotulagem.


/forms/<form_name> - Retorna a configuração do formulário

...



Ver também

Referências

  1. Halfaker, A., Geiger, R. S., Morgan, J. T., & Riedl, J. (2012). The rise and decline of an open collaboration system: How Wikipedia’s reaction to popularity is causing its decline. American Behavioral Scientist, 0002764212469365.
  2. West, A. G., Kannan, S., & Lee, I. (2010, April). Detecting Wikipedia vandalism via spatio-temporal analysis of revision metadata?. In Proceedings of the Third European Workshop on System Security (pp. 22-28). ACM.
  3. Smets, K., Goethals, B., & Verdonk, B. (2008, July). Automatic vandalism detection in Wikipedia: Towards a machine learning approach. In AAAI workshop on Wikipedia and artificial intelligence: An Evolving Synergy (pp. 43-48).
  4. Adler, B. T., De Alfaro, L., Mola-Velasco, S. M., Rosso, P., & West, A. G. (2011). Wikipedia vandalism detection: Combining natural language, metadata, and reputation features. In Computational linguistics and intelligent text processing (pp. 277-288). Springer Berlin Heidelberg.
  5. Hu, M., Lim, E. P., Sun, A., Lauw, H. W., & Vuong, B. Q. (2007, November). Measuring article quality in wikipedia: models and evaluation. In Proceedings of the sixteenth ACM conference on Conference on information and knowledge management (pp. 243-252). ACM.
  6. Stvilia, B., Twidale, M. B., Smith, L. C., & Gasser, L. (2008). Information quality work organization in Wikipedia. Journal of the American society for information science and technology, 59(6), 983-1001.
  7. Warncke-Wang, M., Cosley, D., & Riedl, J. (2013, August). Tell me more: An actionable quality model for wikipedia. In Proceedings of the 9th International Symposium on Open Collaboration (p. 8). ACM.