The Proofread Page extension creates a book either:
The extension is intended to allow easy comparison of text to the original digitization.
This extension shows the text in several ways without actually duplicating the original text.[1]
The extension is installed on all Wikisource wikis. For the syntax, see the Wikisource Proofread Page documentation. It was previously also used on Bibliowiki.
Requirements and recommendations[edit]<references />
ProofreadPage
folder to your extensions/
directory.cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ProofreadPage
wfLoadExtension( 'ProofreadPage' );
The extension links directly to image thumbnails which often don't exist. You must catch 404 errors and generate the missing thumbnails. You can do this with any one of these solutions:
RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^/w/images/thumb/[0-9a-f]/[0-9a-f][0-9a-f]/([^/]+)/page([0-9]+)-?([0-9]+)px-.*$ /w/thumb.php?f=$1&p=$2&w=$3 [L,QSA]
ErrorDocument 404 /w/extensions/upload-scripts/404.php
RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^/w/images/thumb/[0-9a-f]/[0-9a-f][0-9a-f]/([^/]+)/page([0-9]+)-?([0-9]+)px-.*$ /w/thumb_handler.php [L,QSA]
ErrorDocument 404 /w/thumb_handler.php
If you encounter a problem similar to the following:
Try next steps:
application/pdf
)
php maintenance/refreshImageMetadata.php --verbose --mime image/vnd.djvu --force
Special:IndexPages
php maintenance/refreshLinks.php --namespace 252
ProofreadPage create by default two custom namespaces named "Page" and "Index" in English with respectively ids 250 and 252.
Their names are translated if your wiki use another language. Full list.
You can customize their name or their ID: Create namespaces by hand and set their IDs in Manual:LocalSettings.php using $wgProofreadPageNamespaceIds global. You will do something like:
define( 'NS_PROOFREAD_PAGE', 250); define( 'NS_PROOFREAD_PAGE_TALK', 251); define( 'NS_PROOFREAD_INDEX', 252); define( 'NS_PROOFREAD_INDEX_TALK', 253); $wgExtraNamespaces[NS_PROOFREAD_PAGE] = 'Page'; $wgExtraNamespaces[NS_PROOFREAD_PAGE_TALK] = 'Page_talk'; $wgExtraNamespaces[NS_PROOFREAD_INDEX] = 'Index'; $wgExtraNamespaces[NS_PROOFREAD_INDEX_TALK] = 'Index_talk'; $wgProofreadPageNamespaceIds = array( 'index' => NS_PROOFREAD_INDEX, 'page' => NS_PROOFREAD_PAGE );
Namespace id customization is not recommended and might not be supported in the future.
For more details, see Extension:Proofread Page/Index data configuration
The configuration is a JSON array of properties. Here is the structure of a property in the array, all the parameters are optional, the default value are set:
{ "ID": { //id of the metadata (first parameter of proofreadpage_index_attributes) "type": "string", //the property type (for compatibility reasons the values have not to be of this type). Possibles values: string, number, page. If set, the newly set values should be valid according to the type (e.g. for a number a valid number, for a page an existing wiki page...) "size": 1, //only for the type string : number of lines of the input (third parameter of proofreadpage_index_attributes) "values": {"a":"A", "b":"B","c":"C", "d":"D"}, //an array values : label that list the possible values (for compatibility reasons the stored values have not to be one of these) "default": "", //the default value "header": false, //add the property to MediaWiki:Proofreadpage_header_template template (true is equivalent to being listed in proofreadpage_js_attributes) "label": "ID", //the label in the form (second parameter of proofreadpage_index_attributes) "help": "", //a short help text "delimiter": [], //list of delimiters between two part of values. By example ["; ", " and "] for strings like "J. M. Dent; E. P. Dutton and A. D. Robert" "data": "" //proofreadpage's metadata type that the property is equivalent to } }
The data parameter can have for value: "type", "language", "title", "author", "translator", "illustrator", "editor", "school", "year", "publisher", "place", "progress"
The extension puts a separator between every transcluded page and the next, which is defined by wgProofreadPagePageSeparator
. The default value is  
(a whitespace). Set wgProofreadPagePageSeparator = ""
to suppress the separator.
When a word is hyphenated between a page and the next, the extension joins together the two halves of the word. Example: his- and tory becomes history. The "joiner" character is defined by wgProofreadPagePageJoiner
and defaults to '-' (the ASCII hyphen character).
See Change tagging to set up change tags.
Creating your first page (example with DjVu)[edit]Page:Carroll - Alice's Adventures in Wonderland.djvu
true
).Index:Carroll - Alice's Adventures in Wonderland.djvu
<pagelist />
in the Pages field to visualize the page listThis extension introduces the following tags: <pages>
, <pagelist>
proofread
meta submoduleRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.3