This request has been copied from Tpt's proposal at https://www.mediawiki.org/wiki/Mentorship_programs/Possible_projects
"The Proofread Page extension is an old extension developed by the Wikisource community that manage the Wikisource Proofreading system. It needs some love in order to make it use new technologies of MediaWiki core and to integrate it into the Visual Editor. Here is a list of some tasks that should be done:
- Refactoring of the extension code by splitting the very big file ProofreadPage.body.php that do too much things into specific classes what will be more easily testable. Write unit tests for them.
- Refactoring of the JavaScript module that manages edition of Page: and make it compatible with the Visual Editor. This includes:
- for wikitext editing system a full rewrite in order to make the code readable and testable. The tasks would be:
- move to server part of the extension things that can be done by it as it have been done for Index: pages.
- use libraries packaged with MediaWiki like JQuery when possible.
- find and use a good free JS library for zooming into scans in order to improve the current zoom feature that might be enhanced.
- work with the Visual Editor team in order to make the Visual Editor
- for wikitext editing system a full rewrite in order to make the code readable and testable. The tasks would be:
- work with Page: pages (bugzilla). The first step is to make the body of the page editable, then the proofreading level and, if it's possible, header and footer.
- Add modules to the Visual Editor to support specific tags used by Wikisource like <pages>, <section> and <poem>.
- Allows to edit using the Visual Editor textareas of the Index: pages form."
Version: unspecified
Severity: enhancement
Whiteboard: aklapper-moreinfo