Browsing The Sura List - warwickfoster/qurantools GitHub Wiki

File: app/admin/word_correction_tool.php

Purpose

The purpose of this script is to improve the accuracy and quality of Quranic translations by allowing users to report and correct errors.

The provided code is a PHP script that implements a web page for correcting typos and other errors in Quranic verses. It allows users to input corrected versions of verses and submit them for review.

Features

  • Users can enter corrected versions of verses in Arabic, transliteration, and translation.
  • They can provide notes, suggestions, and tags for further review.
  • The script displays a list of previously submitted corrections.
  • It provides options to cancel or save changes.

Usage

  • The script is accessible through a web browser.
  • Users need to provide the word number of the verse they want to correct.
  • They can then enter the corrected versions of the verse in the corresponding fields.
  • Once they have made their changes, they can click the "Save Any Changes" button.

Technical Details

  • The script uses HTML, CSS, and PHP.
  • It connects to a database to store and retrieve corrections.
  • It provides a lightview mode for users who want to make corrections without leaving the current page.

Additional Notes

  • The script can be further extended to include features such as automated quality control checks and user authentication.
  • The database should be secure and reliable to ensure the integrity of the data.
  • The user interface should be intuitive and user-friendly.