Extension:Proofread Page/hi

Proofread Page एक्सटेंशन या तो पुस्तक बनाता है:


 * 1) OCR के एक कॉलम के रूप में स्कैन की गई छवियों के एक कॉलम के बगल में पाठ, या # अध्यायों या कविताओं में विभाजित। दस्तावेज़ की सामग्री MediaWiki पेज (ट्रांसक्लूज़न के माध्यम से) में दिखाई देती है।

विस्तार का उद्देश्य मूल डिजिटलीकरण के पाठ की आसान तुलना की अनुमति देना है।

यह विस्तार वास्तव में मूल पाठ की नकल किए बिना पाठ को कई तरह से दिखाता है।

प्रयोग
विस्तार सभी विकीसोर्स विकियों पर संस्थापित है। सिंटैक्स के लिए, $1 देखें। इसका उपयोग बिब्लियोविकी पर भी किया गया था।

Requirements and recommendations
See also.
 * Access to the command line is required if running the update script (maintenance/update.php) from the web browser fails (documentation here and here).
 * If you want to use DjVu files (optional but recommended), a native DjVu handler needs to be available for configuration.
 * In addition, use of ProofreadPage is highly improved by the use of the following extensions:
 * ( strongly recommended )
 * ( default page footer contains
 * ( may require additional PHP packages ) — adds PDF support
 * ( Enables Index-specific CSS )
 * ( Enables the proofreading Lua library )
 * ( Enables Index-specific CSS )
 * ( Enables the proofreading Lua library )
 * ( Enables the proofreading Lua library )

Thumbnailing
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:

This is a general-purpose 404 handler with Wikimedia-specific code, not simply a thumbnail generator.
 * Set an Apache RewriteRule in .htaccess to for missing thumbnails:
 * or set the Apache 404 handler to Wikimedia's thumb-handler.
 * For MediaWiki >= 1.20, you can simply redirect to thumb_handler.php:
 * or in apache2.conf:

If you encounter a problem similar to the following:


 * T301291 – PDF and DjVu files on Commons failed to be processed (no thumbnails, zero pages) but otherwise valid
 * T298417 – Undeleted DjVu files show incorrect metadata: 0x0 size, no page number info
 * T299521 – PDF file has 0x0 image size in Commons after uploading a new version while the page number is correct

Try next steps:

  repair thumbnails for DjVu files of the core MediaWiki (for PDF use mimetype  )



 needed for actualization info about the pages counts of the

 

Namespaces
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. .

You can customize their name or their ID: Create namespaces by hand and set their IDs in using $wgProofreadPageNamespaceIds global. You will do something like:

Namespace id customization is not recommended and might not be supported in the future.

Configuration
The names of these categories must be defined in MediaWiki:Proofreadpage_quality0_category to MediaWiki:Proofreadpage_quality4_category.
 * In order to use the page quality system, it is necessary to create five categories.
 * Ensure that you have installed

Configuration of index namespace
 For more details, see  This page is a template that receive as parameter entries of the edition form. This new configuration page overrides MediaWiki:Proofreadpage_index_attributes and MediaWiki:Proofreadpage_js_attributes.
 * You need to create MediaWiki:Proofreadpage_index_template in order to display index pages.
 * You need to create MediaWiki:Proofreadpage_index_data_config.json that contain the configuration of the index form.

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:

The data parameter can have for value: "type", "language", "title", "author", "translator", "illustrator", "editor", "school", "year", "publisher", "place", "progress"

Page separator
The extension puts a separator between every transcluded page and the next, which is defined by. The default value is  (a whitespace). Set  to suppress the separator.

Join hyphenated words across pages
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  and defaults to '-' (the ASCII hyphen character).

Configure change tagging (optional)
See Change tagging to set up change tags.

Creating your first page (example with DjVu)
For example if your namespace is 'Page' create
 * Before following these steps ensure you have followed the instructions in.
 * (when and in which namespace is the DjVu file itself uploaded?)
 * Create a page in the "Page" namespace (or the internationalized name if you use an not-English wiki).
 * Create the corresponding file for this page commons:File:Carroll - Alice's Adventures in Wonderland.djvu (or set to  ).
 * Create the index page
 * Insert the tag in the Pages field to visualize the page list
 * To edit page 5 of the book navigate to 'Page:Carroll - Alice's Adventures in Wonderland/5' and click edit

Syntax
This extension introduces the following tags: ,