Project Pralekhan

Project Pralekhan (Sanskrit: प्रलेखन) is a documentation project under which MediaWiki's maintenance scripts is being improved. This project is the part of WMF's project grant which approved in May 2021.

Team edit

Project goals edit

  • Creating a format/structure with minimum sections like Details, Usage, Parameter/Options, and Troubleshooting.
  • Creating templates for maintenance script documentations
  • Expanding scripts having an only predefined template
  • Expanding scripts having predefined template + one-line description
  • Expanding scripts having predefined template + one-line description + outdated template
  • Expanding/Improving other scripts

Improved scripts edit

S. No. Script Details Parameter/Options Usage See also Size (bytes) Category
1 generateSchemaSql.php         3,993  
2 makeTestEdits.php         2,674  
3 findMissingFiles.php         2,111  
4 findDeprecated.php         5,380  
5 invalidateUserSessions.php         2,525  
6 jsparse.php         2,055  
7 validateRegistrationFile.php         3,493  
8 resetPageRandom.php         2,620  
9 dumpCategoriesAsRdf.php         6,108  
10 mysql.php         3,589  
11 view.php         2,969  
12 protect.php         2,516  
13 mctest.php         3,595  
14 orphans.php         1,662  
15 populateInterwiki.php         1,858  
16 purgeModuleDeps.php         844  
17 mcc.php         1,827  
18 addSite.php         2,546  
19 categoryChangesAsRdf.php         4,976  
20 deleteTag.php         1,659  
21 exportSites.php         2,306  
22 importSites.php         2,299  
23 refreshFileHeaders.php         3,290  
24 renameRestrictions.php         1,641  
25 initUserPreference.php         1,401  
26 cleanupRevActorPage.php         1,493  
27 checkBadRedirects.php         1,383  
28 findOrphanedFiles.php         3,065  
29 migrateFileRepoLayout.php         2,314  
30 copyFileBackend.php         3,591  
31 updateCredits.php         1,136  
32 manageForeignResources.php         4,052  
33 cleanupRemovedModules.php         992  
34 populateBacklinkNamespace.php         1,553  
35 populateRevisionSha1.php         1,532  
36 runBatchedQuery.php      N   1,645  
37 syncFileBackend.php         2,097  
38 checkImages.php         2,061  
39 manageJobs.php         2,835  
40 mergeMessageFileList.php         7,478  
41 cleanupBlocks.php         882  
42 addRFCandPMIDInterwiki.php         1,219  
43 checkDependencies.php         2,304  
44 deduplicateArchiveRevId.php         1,230  
45 deleteAutoPatrolLogs.php         1,756  
46 populateIpChanges.php         2,183  
47 minify.php         3,218  
48 populatePPSortKey.php         1,449  
49 refreshExternallinksIndex.php         1,477  
50 checkLess.php         1,304  
51 deleteSelfExternals.php         1,146  
52 populateArchiveRevId.php         1,593  
53 updateArticleCount.php         2,042  
54 cleanupWatchlist.php         1,810  
55 deleteLocalPasswords.php         1,707  
56 populateParentId.php         2,938  
57 removeUnusedAccounts.php         3,012  
58 purgeExpiredWatchlistItems.php         2,105  
59 purgeExpiredUserrights.php         1,135  
60 updateExtensionJsonSchema.php         3,504  
61 getConfiguration.php         4,247  
62 renameDbPrefix.php         4,776  
63 updateRestrictions.php         1,137  
64 initEditCount.php         2,061  
65 patchSql.php         1,445  
66 convertUserOptions.php         1,314  
67 preprocessorFuzzTest.php         1,239  
68 fixExtLinksProtocolRelative.php         1,199  
69 dumpLinks.php         2,087  
70 generateLocalAutoload.php         1,829  
71 cleanupInvalidDbKeys.php         2,945  
72 getReplicaServer.php         1,443  
73 checkUsernames.php         1,648  
74 rebuildmessages.php         1,461  
75 formatInstallDoc.php         1,362  
76 showSiteStats.php         1,212  
77 rebuildImages.php         1,709  
78 deleteOrphanedRevisions.php         2,036  
79 importSiteScripts.php         2,795  
80 checkComposerLockUpToDate.php         3,426  
81 deleteDefaultMessages.php         2,184  
82 purgeChangedPages.php         2,239  
83 fixTimestamps.php         1,502  
84 migrateImageCommentTemp.php ‎         3,030  
85 tidyUpT39714.php         1,306  
86 uppercaseTitlesForUnicodeTransition.php         3,272  
87 fixDefaultJsonContentPages.php         2,284  
88 populateFilearchiveSha1.php         1,886  
89 populateImageSha1.php         2,107  
90 populateExternallinksIndex60.php         1,893  
91 populateLogSearch.php         1,400  
92 compareParserCache.php         2,488  
93 findHooks.php         6,835  
94 fileOpPerfTest.php         2,072  
95 getSlaveServer.php         1,795  
96 mwdoc-filter.php         2,165  
97 populateRecentChangesSource.php ‎         1,739  
98 populateRevisionLength.php         1,636  
99 populateContentTables.php         3,047  
100 pruneFileCache.php‎         1,469  
101 purgeChangedFiles.php         2,226  
102 populateLogUsertext.php         1,624  
103 clearInterwikiCache.php         1,949  
104 eraseArchivedFile.php         3,389  
105 deleteBatch.php         4,366  
106 refreshImageMetadata.php         3,665  
107 populateCategory.php         2,585  
108 nukePage.php         2,706  
109 updateDoubleWidthSearch.php         1,528  
110 dumpTextPass.php         8,100  
111 attachLatest.php‎         2,839  
112 fixUserRegistration.php         1,597  
113 updateCollation.php‎         4,663  
114 copyJobQueue.php‎         4,613  
115 wrapOldPasswords.php‎         2,572  
116 alltrans.php         1,400  
117 langmemusage.php         1,559  
118 dumpMessages.php         4,162  
119 digit2html.php         6,610  
120 benchmarkHooks.php         1,961  
121 benchmarkParse.php         2,704  
122 benchmarkPurge.php         1,862  
123 checkStorage.php         1,394  
124 moveToExternal.php         2,052  
125 lag.php         1,248  
126 dumpRev.php         1,501  
127 date-formats.php         3,358  
128 listVariants.php         2,367  
129 sql.php         3,995  
130 SqliteMaintenance.php         2,652  
131 sqlite.php         2,674  
132 sqlite.inc   n/a n/a   706  
133 doMaintenance.php   n/a     1,253  
134 createCommonPasswordCdb.php         1,974  
135 convertExtensionToRegistration.php ‎         3,128  
136 deleteArchivedFiles.php ‎         1,917  
137 deleteArchivedRevisions.php ‎         3,559  
138 deleteEqualMessages.php ‎         2,797  
139 deleteOldRevisions.php ‎         4,019  
140 deleteUserEmail.php‎         1,702  
141 fixMergeHistoryCorruption.php ‎         2,632  
142 getText.php‎         3,684  
143 fetchText.php         2,867  
144 findClasses.php         1,543  
145 emptyUserGroup.php ‎         1,795  
146 findMissingActors.php ‎         2,450  
147 getLagTimes.php         1,906  
148 generateConfigDefaultSettings.php ‎         1,969  
149 generateConfigNames.php‎         1,681  
150 generateConfigSchemaArray.php         1,758  
151 generateConfigSchemaYaml.php         1,810  
152 cleanupUsersWithNoId.php ‎         2,443  
153 createAndPromote.php         4,285  
154 cleanupUploadStash.php         1,728  
155 cleanupTitles.php         3,728  
156 cleanupSpam.php         3,000  
157 cleanupPreferences.php         2,094  
158 cleanupEmptyCategories.php         2,962  
159 cleanupCaps.php         2,693  
160 addChangeTag.php         1,403  
161 blockUsers.php ‎         3,746  
162 changePassword.php ‎         3,013  
163 createBotPassword.php ‎         3,829  
164 dumpUploads.php ‎         3,437  
165 invalidateBotPasswords.php ‎         1,664  
166 migrateActors.php ‎         3,135  
167 nukeNS.php         3,052  
168 pageExists.php ‎         2,022  
169 populateChangeTagDef.php ‎ ‎         1,704  
170 purgeExpiredBlocks.php‎         1,261  
171 purgeOldText.php         3,363  
172 purgePage.php‎         3,261  
173 reassignEdits.php         2,211  
174 rebuildall.php         3,652  
175 rebuildrecentchanges.php‎         2,088  
176 rebuildtextindex.php ‎ ‎         2,380  
177 removeInvalidEmails.php ‎ ‎         2,585  
178 recountCategories.php‎         3,562  
179 purgeMessageBlobStore.php         1,431  
180 purgeParserCache.php‎         3,241  

Survey edit

Bug discovered edit

Created Categories edit