Grants:Project/Jayprakash12345/Improve documentation of MediaWiki maintenance scripts/Final
This project is funded by a Project Grant
proposal | people | timeline & progress | finances | midpoint report | final report |
- Report accepted
- To read the approved grant submission describing the plan for this project, please visit Grants:Project/Jayprakash12345/Improve documentation of MediaWiki maintenance scripts.
- You may still review or add to the discussion about this report on its talk page.
- You are welcome to email projectgrantswikimedia.org at any time if you have questions or concerns about this report.
Welcome to this project's final report! This report shares the outcomes, impact and learnings from the grantee's project.
Part 1: The Project
editSummary
editThis project is about to improve the documentation of MediaWiki maintenance scripts on MediaWiki.org. There are almost 200+ maintenance scripts. Out of 200+, 125 scripts needed to document, and others were required to restructure. There were 42 scripts that only have a predefined template, and 43 scripts that only had predefined template + one-line descriptions.
MediaWiki maintenance scripts play a vital role in wiki maintenance. According to WikiApiary, There are 21647 standalone wikis and it is painful for the sysadmin to read documentation from the docstring of the script file before running the maintenance script. Lack of documentation can cost to site down for some time. MediaWiki.org is the primary source to provide these kinds of basic support. According to MassViews in 2021, There were 287 views per day on maintenance script pages. So it became important to document them on MediaWiki.org.
Under this project, 180 MediaWiki maintenance scripts have been documented in a structured way with Details, Options/Arguments, Usage, and Common issues section along with Category.
Apart from this, 13 categories have been created according to the nature of the scripts, and the landing main page has been rewritten along with their new sidebar.
Project Goals
edit- Creating a format/structure with minimum sections like Details, Usage, Parameter/Options, and Troubleshooting.
- Originally only 124 scripts mentioned on grant proposal page for documentation but 180 MediaWiki maintenance scripts have been documented in a structured way. This structured documentation consists Details, Options/Arguments, Usage, and Common issues sections (Troubleshooting section renamed to Common issues; The scripts that don't require troubleshooting, don't have this section). And every 180 script also have category in it according to their nature.
- Creating templates for maintenance script documentations
- Under this project, mw:Template:Maintenance scripts and mw:Template:Force option have been created. These templates are used in the scripts pages and main landing pages. These templates help to remove repeated work.
- Expanding scripts having an only predefined template
- All 42 scripts mentioned on grant proposal page has been documented.
- Expanding scripts having predefined template + one-line description
- Out of 43 scripts mentioned on grant proposal page, 40 scripts has been documented. In remaining three, two scripts are include files that don't require documentation as they are scripts to support other scrips.
- Expanding scripts having predefined template + one-line description + outdated template
- Out of 8 scripts mentioned on grant proposal page, 6 scripts has been documented.
- Expanding/Improving other scripts
- All 31 scripts mentioned on grant proposal page has been documented.
Project Impact
editTargets
editPlanned measure of success (include numeric target, if applicable) |
Actual result | Explanation |
124 scripts | 180 scripts | Originally 124 maintenance scripts were planned to document in grant but we go beyond that. |
Grantee documented the below scripts with the following details.
Story
editWhen I got this grant approved, I got COVID infected along with my family at that time. That was hard time for me as this project slip for two months. But my project advisor Alex was so supportive that we started project with new energy.
There were many things that I did not think but I added that thing in scripts while documentation like using MW version template to show MediaWiki version in which the script was added.
Originally, I planned for 124 script as mentioned in the grant proposal. But I got so interested in this project that I continued the work till 180 maintenace script. We finnally finished the work with 180 maintenace. This number is too far from what I expected while starting the work.
It is weird for me but an experienced user endorsed my grant even after 9 months after from grant approved. This show success of this project.
Survey(s)
editProject Pralekhan feedback was collected from 25 Feb 2022 to 5 March 2022 through Google Forms. We got 12 responses from Google Form. There are 6 responses with username (including 2 WMF staff). Please read the detailed compiled version at mw:Project Pralekhan/Survey Result.
- Interesting outputs or outcomes
- 91% of users are finding new structured documentation helpful. (A huge surprise success)
- 75% users are satisfied with the usage section (Again, huge success as project documentation main goal was to demonstrate usage)
- 33% users are not finding easy navigation between the scripts. (We improved mw:Manual:Maintenance scripts/List of scripts based on this feedback)
- Use LimeSurvey ( LimeSurvey ) instead of Google Form for future surveys as Google Form is forbidden in China and many other countries.
Apart from this, grantee also took a Unconference session on this project at Wikimania 2021 to showcase and take feedback from community.
Other
editIs there another way you would prefer to communicate the actual results of your project, as you understand them? You can do that here!
Methods and activities
edit- I have set up a local installation of MediaWiki using MediaWiki-Docker to get output of each script. (see mw:MediaWiki-Docker)
- I followed mw:Documentation/Technical documentation templates and suggestions and mw:Documentation/New technical writers created by SRodlund (WMF).
- I set up project page mw:Project Pralekhan to track the progress of every script.
- I took meeting call in every 20 days with project advisor Alex Paskulin.
- I used Zulip chat to communicate in between meetings.
- I took a Unconference session on this project at Wikimania 2021 to showcase and take feedback from community.
- I used Template:MW version to show MediaWiki version in which the script was added.
- I used mw:Template:Terminal for showing usage of script in terminal.
- I used mw:Template:Codesample for showing code snippets and file content.
- I viewed source code of a maintenance script in MediaWiki core repository for their option and arguments.
- I used wiki table on the script pages to show Options/Arguments, and which one are required or optional through mw:Template:Required and mw:Template:Optional.
- I used DynamicPageList MediaWiki extension on List of scripts. This ensure that user always see updated list of scripts. (Previously, it was hard-coded which does not update automatically)
- To improve discoverability of maintenance scripts
- I made improvements on landing page
- I categorized of scripts based on their nature
- I interlinked the scripts in See also section
Project resources
edit- Manual:Maintenance scripts (Main landing page)
- Project Pralekhan (Project page)
- List of improved scripts
- Discovered bugs
- Created categories
- Survey Privacy Statement
- Survey Result
- Meeting notes: https://etherpad.wikimedia.org/p/VQrdm1hIcDXKtttvzS0A
Learning
editWhat worked well
editIt is now good to see that so many scripts now have structured documentation. With great help from APaskulin (WMF), I have done 180 maintenance scripts. Everything going very well except the below challenges.
I find below learning pattern useful:
- Learning patterns/Writing durable documentation
- Learning patterns/Keeping documentation of discussions with team
What didn’t work
edit- Every script has its own use so creating the environment for every script is sometimes very stressful. I need to collect information and then have to replicate different-different situations for every script to run in the terminal.
- Some scripts have a bug (Like one I discovered during this project see phab:T291331) that makes documentation a little bit hard.
- I faced an issue with collecting feedback from visitors as it has some privacy concern that needs some follow-up with WMF's legal team. It was discussed with project advisor at phab:T295695 and we decided to not take feedback at wiki instead, used Google Form.
Other recommendations
editIf you have additional recommendations or reflections that don’t fit into the above sections, please list them here.
Next steps and opportunities
editThere are total of 200-250 maintenance scripts. Under this project, I have documented 180 maintenance scripts. This project already done lot of work and there is small amount of work remained. So I will be work on those as volunteer to document them. So there is nothing major for future's next steps.
Part 2: The Grant
editFinances
editActual spending
editExpense | Approved amount | Actual funds spent | Difference |
Technical writer | 8750 | 8750 | 0 |
Internet | 200 | 240 | -40 |
Contingency | 400 | 261 | 139 |
Total | 9350 | 9251 | 99 |
There is a minor $40 increase in the Internet bill as I forget to add tax on the $200 internet plan. There is an 18% of Goods and Services tax per Government of India. This amount has been adjusted through the contingency fund.
Although, It took 420 hours for the technical writer as he documented 180 scripts instead 124 scripts that were originally mentioned in the grant. But this is not being compensated through a contingency fund. It is just being mentioned here for any reference.
Remaining funds
editDo you have any unspent funds from the grant?
- Yes, the remaining amount is 99 USD. Since, It is part of contingency so this was as a backup fund.
If you have unspent funds, they must be returned to WMF. Please see the instructions for returning unspent funds and indicate here if this is still in progress, or if this is already completed:
Documentation
editDid you send documentation of all expenses paid with grant funds to grantsadmin wikimedia.org, according to the guidelines here?
- Yes
Confirmation of project status
editDid you comply with the requirements specified by WMF in the grant agreement?
- Yes, best in my knowledge.
Is your project completed?
- Yes, with major success.
Grantee reflection
editIt is a really very awesome experience for me to work on maintenance scripts. Even, I have been working on MediaWiki since early 2017 but only after working on this project, I came to know many other scripts as well that are very useful. I got Alex as my mentor. I can't express how she is good in nature. A great thank you, Alex.
The project got some delay from my end which I acknowledge. But this is the nature of human work. We can't expect to things go as well as planned. Working and giving shape to this project with help of Alex really made me proud. Thank you again Alex for your support and WMF for funding.-Jayprakash >>> Talk 19:08, 30 March 2022 (UTC)