Extension:Proofread Page/ja

Proofread Pageは以下のいずれかの方法で、ブックを作成する拡張機能です.


 * 1) 画像とOCR処理した文字欄とを並べる、もしくは
 * 2) 散文は段落ごと、詩文の場合は1句単位. 文書の内容は MediaWiki のページの体裁 (参照読み込み) として.

目的は電子化した原稿と、画像処理により読み取った文字列を簡単に比較するためです.

元の文字列を複写せずに、いくつかの方法で表示します.

使用法
この拡張機能はどのウィキソースのウィキにもインストールされます. 構文については、s:mul:Wikisource:ProofreadPage を参照してください. また Bibliowiki も導入しています.

要件と推奨事項

 * ウェブブラウザ版から更新のスクリプト (maintenance/update.php) がうまく作動しない場合は、コマンドラインを利用する必要があります (こちらの解説文書とこちらをご参照ください. )
 * DjVu 形式のファイルを使用するには (必須ではありませんが推奨)、設定用にネイティブの DjVu ハンドラを用意してください.  も参照してください.
 * 加えて、 ProofreadPage は以下の拡張機能と併用すると、かなり使用感が改善されます.
 * (強く推奨)
 * (既定のページ フッターは を含みます
 * (追加的な PHP パッケージを必要とする場合があります) — PDF 対応を追加します
 * (Enables Index-specific CSS)
 * (Enables Index-specific CSS)
 * (Enables Index-specific CSS)
 * (Enables Index-specific CSS)

Thumbnailing
拡張機能は直接、画像のサムネイルにリンクしようとするものの、用意されていない場合がしばしばあります. そこで リンク先不明の 404 エラーが出たら、必ずサムネール作成をしなければなりません. その手順は、次のどれかひとつ を選んで実行します.

This is a general-purpose 404 handler with Wikimedia-specific code, not simply a thumbnail generator.
 * Apache RewriteRule を .htaccess に設定し、未作成のサムネールを する.
 * 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:

名前空間
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.

設定
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
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 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"

ページ区切り
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).

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

構文
This extension introduces the following tags: ,

関連項目

 * — adds PDF support to Proofread Page
 * The current full description and instructions (in English) may be found at: s:Help:Proofread
 * Usage statistics can be found here: https://phetools.toolforge.org/statistics.php 
 * ToDo and feature request list from the Community
 * A public-domain user manual is being written at:
 * MediaWiki:OCR.js - OCR スクリプト
 * A public-domain user manual is being written at:
 * MediaWiki:OCR.js - OCR スクリプト