This task is a break-down of the fourth week of GSoD based on the timeline {T255360}
Related tasks for other weeks can be found here {T262918}
===== Week 5 - 7 (October 12 - 30)
[x] Discuss with documentarians and find out how documentations are currently being reviewed.
[] Propose a documentation review format and discuss it with mentors and documentarians
[] Create a document guide explaining the finalized format discussed in depth.
[] Discuss how the format documented can be enforced on documentarians and across all Wikimedia documentations.
== Improve technical documentation review processes.
Currently, it's a bit hard to precisely say how technical documentations are being reviewed at Wikimedia as most of it is done informally. This isn't surprising, as documentations are Wiki's which anyone can edit, however, this doesn't mean a standardized review process for all documentations shouldn't be put in place.
Standardizing documentation review processes and properly reviewing documentations poses some advantages that would greatly improve the quality of technical documentation written. I aim at creating a standard documentation review process that would enforce a more organized way of getting feedbacks and improving newly created documentations.
=== Proposed documentation review processes
My approach is in five basic steps to be briefly discussed below;
===== 1) Prototype/Self review
The writer of a documentation is always the first reviewer of his own documentation, this step involves a writer thoroughly going through his own documentation and making sure it follows Wikimedia's documentation [style guides](https://www.mediawiki.org/wiki/Documentation/Style_guide), [formatting](https://www.mediawiki.org/wiki/Documentation/Style_guide#Formatting_text), methodologies, and use of [language](https://www.mediawiki.org/wiki/Documentation/Style_guide#Language). This help the reviewer identify his own mistakes and makes sure the documentation conforms with the style guide. Additionally, new documentation tasks are to be created by strictly following this [guide](https://www.mediawiki.org/wiki/Documentation/Technical_documentation_prioritization).
===== 2) Peer review (Optional)
This process involves the writer of the documentation having a colleague review the documentation for him informally, this enables the documentarian to get feedbacks from peers(who might as well be the users of the documentation) before submitting it for a proper review.
The proper review is in two stages, technical and non-technical review
===== 3) Technical Review:
This phase would require a senior colleague to go through the documentation and check for technical accuracy, completeness of its content, and how easy it would be for new contributors to adapt. Comprehensive responses and feedbacks would be gotten here.
===== 4) Non-technical Review:
Here, the documentation has been checked for technical accuracy and correctness and it's time to ascertain that the [style guides](https://www.mediawiki.org/wiki/Documentation/Style_guide), [formatting](https://www.mediawiki.org/wiki/Documentation/Style_guide#Formatting_text), methodologies, and use of [language](https://www.mediawiki.org/wiki/Documentation/Style_guide#Language) were strictly followed. This would be done by an experience reviewer who is more familiar with these guides.
===== 5) Approval
Here, the documentation has undergone all the review processes and is published afterward.
=== Proposed documentation review tools
While considering what tool would be a good review tool for WMF documentations, I checked out some tools and found two that were really cool.
- [Clickhelp](https://clickhelp.com/)
- [hackmd](https://hackmd.io/?nav=overview)
But all tools I found had a few problems which are listed below;
- They aren't documentation review specific! You have to use them to author your documentations before you can use them to review it. clickhelp has a robust review system and hackmd integrates quite well with Github.
- They do not support Wikitext! If at all we consider using these tools for the creation of new documentations, it is important that they support Wikitext because these documentations would reside on Mediawiki.
- Widgets and templates cannot be used with them.
- They have their own form of markup, which means WMF documentarians would have to do some extra work of learning their mark down.
- All created documentations would reside in external webpages.
With the above stated, it becomes evident that an internal documentation review tool that integrates quite well with WMF tools and Wikitext is needed. Looking inwards, I figured out already existing tools can be used to review documentations if adequate processes are put in place.
==== Reviewing documentations with phabricator