მომხმარებელი:Vitaly Zdanevich/NPLG/ProofreadPage setup
ProofreadPage: შემოთავაზებული კონფიგურაცია
[რედაქტირება]This is a proposed configuration for administrator review, prepared for linking public-domain Iverieli newspaper scans to Georgian Wikisource. It is not installed site configuration.
On 16 October 2026, მედიავიკი:Proofreadpage index template and მედიავიკი:Proofreadpage index data config.json were missing. The existing ინდექსი:წევრობის განაცხადი.pdf rendered without visible content; a preview of a new index did too. The field names below retain all fields in that existing index.
A read-only recheck on 17 October 2026 confirmed that the Page (250) and Index (252) namespaces and legacy default index-form fields are available. The missing მედიავიკი:Proofreadpage index template is the observed display blocker: fresh previews of existing and new index content remain blank, while a standalone <pagelist /> preview correctly links to all four pages of the newspaper test scan.
See the extension documentation. Administrators should review the display template below to restore index display. The JSON form configuration is a separate proposed customization that replaces the legacy defaults with the listed fields and Georgian labels; it is not a prerequisite for having index-form fields. If adopting it, please review the Georgian labels and status values before installation.
MediaWiki:Proofreadpage index data config.json
[რედაქტირება]{
"Title": {"type": "string", "label": "სათაური", "data": "title", "header": true},
"Language": {"type": "string", "label": "ენის კოდი", "data": "language", "default": "ka"},
"Author": {"type": "string", "label": "ავტორი", "data": "author", "header": true},
"Translator": {"type": "string", "label": "მთარგმნელი", "data": "translator"},
"Editor": {"type": "string", "label": "რედაქტორი", "data": "editor"},
"Year": {"type": "number", "label": "გამოცემის წელი", "data": "year", "header": true},
"Publisher": {"type": "string", "label": "გამომცემელი", "data": "publisher"},
"Address": {"type": "string", "label": "გამოცემის ადგილი", "data": "place"},
"Key": {"type": "string", "label": "დახარისხების გასაღები"},
"Source": {"type": "string", "label": "წყარო", "size": 3},
"Image": {"type": "string", "label": "გამოსახულება"},
"Progress": {"type": "string", "label": "სტატუსი", "default": "C", "data": "progress", "values": {"C": "საჭიროა კორექტურა", "V": "საჭიროა შემოწმება", "T": "დასრულებულია", "OCR": "საჭიროა OCR", "X": "არასრული წყარო", "L": "წყაროს ფაილის პრობლემა"}},
"Volumes": {"type": "string", "label": "ტომები", "size": 3},
"Pages": {"type": "string", "label": "გვერდები", "default": "<pagelist />", "size": 5, "data": "pagelist"},
"Remarks": {"type": "string", "label": "შენიშვნები", "size": 5},
"Header": {"type": "string", "label": "ზედა კოლონტიტული", "header": true},
"Footer": {"type": "string", "label": "ქვედა კოლონტიტული", "header": true},
"Width": {"type": "number", "label": "სკანის სიგანე", "header": true},
"Css": {"type": "string", "label": "CSS", "header": true}
}
MediaWiki:Proofreadpage index template
[რედაქტირება]<div class="prp-index-metadata">
== {{{Title|{{PAGENAME}}}}} ==
{{{Image|}}}
{| class="wikitable"
! ავტორი
| {{{Author|}}}
|-
! მთარგმნელი
| {{{Translator|}}}
|-
! რედაქტორი
| {{{Editor|}}}
|-
! გამოცემის წელი
| {{{Year|}}}
|-
! გამომცემელი
| {{{Publisher|}}}
|-
! გამოცემის ადგილი
| {{{Address|}}}
|-
! ენის კოდი
| {{{Language|}}}
|-
! წყარო
| {{{Source|}}}
|-
! სტატუსი
| {{#switch:{{{Progress|C}}}|C=საჭიროა კორექტურა|V=საჭიროა შემოწმება|T=დასრულებულია|OCR=საჭიროა OCR|X=არასრული წყარო|L=წყაროს ფაილის პრობლემა|#default={{{Progress|}}}}}
|}
{{{Volumes|}}}
=== გვერდები ===
{{{Pages|<pagelist />}}}
{{{Remarks|}}}
</div>
Verification after installation
[რედაქტირება]- Confirm that ინდექსი:წევრობის განაცხადი.pdf displays its existing metadata and page list.
- Preview an index for commons:File:Qartuli Gazeti 1821 N12.pdf with
Language=ka,Year=1821,Progress=CandPages=<pagelist />. - Confirm that all four scan pages are linked, that the index form keeps the saved values, and that unproofread pages retain quality level 1.
No newspaper OCR should be described as proofread until checked against its scan. This proposal does not change page-quality categories, JavaScript or site CSS.