Help:Proofread/Technical

From Wikisource
Jump to navigation Jump to search
Technical description of the ProofreadPage extension

This page discusses the architecture and customisation of the ProofreadPage extension as applies to English Wikisource.

For instructions on using side-by-side proofreading at Wikisource, see H:SIDE.

The ProofreadPage extension makes up both the front- and back-end of the system for side-by-side proofreading. It consists of a set of server-side PHP and client-side Javascript, as well as MediaWiki messages.

Summary of files[edit]

PHP/SQL[edit]

Javascript[edit]

Additionally, there is the following locally stored Javascript:

MediaWiki messages[edit]

MediaWiki messages are used to customise user-facing aspects of the extension which may differ between wikis, such as the template format used to render a header and the descriptions of the proofread levels.

Core messages
Namespace names
Tooltips and user aid
Quality messages

Gadgets[edit]

The following Gadgets are not part of the extension, but interact directly with side-by-side editing:

  • MediaWiki:Gadget-old LST.js — Use the old-style LT markup ("<section begin/end="Foobar"/>" instead of "## Foobar ##")
  • mul:Wikisource:Google OCR — a Wikisource toolbar gadget, and standalone tool, for OCRing single images with the Google Cloud Vision service.

External resources[edit]