Jump to content

User:Gryllida/minireviewer

From Wikinews, the free news source you can write!

Introduction

[edit]

MiniReviewer for Wikinews is a software application being developed by Gryllida to facilitate draft review at English Wikipedia and at English Wikinews. It aims to solve the problem that a draft review takes half an hour to one our -- including article structure, copyright, and fact-check against provided sources -- by providing any contributor an opportunity to verify or dispute a part (a phrase) within the article. There is a similar tool, on screen edit, yet it does not save the result on-wiki.

(It needs to be tested first whether the highlights from the 'on screen edit' gadget can be copy-pasted into visual editor. This would make the proposed 'MiniReviewer' tool less urgent.)

inlinecomments extension maybe reuse some code from here?

  • The idea is to have a copy of the draft stored in the MiniReviewer, and a copy of the text from external sources -- audio and video will not be supported in the initial version.
  • Then the users can login using OAuth and mark parts of the draft which can be verified by the external source.
  • Five marker colors are reserved for the 5Ws.
  • MiniReviewer will store the information about the highlights: for example, a draft says 'sky is blue' and a source says 'blue is the sky' and another one says 'the blue sky' - user highlights them in same color - MiniReviewer saves this in database.
  • At any time after having highlighted something the user can either tick a box (meaning the highlighted part of source matches the article) or tick a 'x' (meaning information is wrong) or write a comment (e.g. 'unreliable source' or 'this looks weird' or something else).
  • Eventually after several contributors do this, the draft will be fully verified.
  • At any point the report from MiniReviewer can be generated and added to the article talk page.
  • Handling audio and video sources, and handling article updates, will be part of Version 2. Version 1 will not include these features.
  • Link to source will be posted as it is written, with description of which parts are already implemented.
  • The best contact is by contacting Gryllida at wiki talk page or on IRC (nick 'gry').

--Gryllida (talk) 05:12, 19 September 2024 (UTC)

Database structure

[edit]

1) The user enters a revision ID. The software retrieves the article text from Wikinews, and links to external sources

2) For each article the following information is stored:

  • The revision ID
    • integer
  • The headline
    • string
  • The text (excludes images, infoboxes and sources)
    • multiline string
  • The sources
    • URL
      • string
    • content as plain text (provided by user manually when adding the entry)
      • multiline string

It is also necessary to store the users' highlights. (How does other software store this?) Each annotation item is stored as:

  • Annotation ID
    • unique integer
  • Account name of the user who left it
    • string
  • Which category of 5Ws is it (if any)
    • integer, 0 means none, 1 to 6 is the 5Ws and H
  • Which part of text in draft, and what part of text in source, was highlighted. Note it can be multiple occurrences.
    • each selection has a selection ID (unique integer) and has two integers, e.g. 'from character 5 to character 19' and which source (source 0 is article, source 1 is first source, and so on) and timestamp
  • Whether there was 'ok' or 'nope' noted near each marked selection in draft
    • integer -1 means nope, 1 means 'ok'
  • Any comments left for each selection in draft, if any
    • string