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         4,138  
2 makeTestEdits.php         2,713  
3 findMissingFiles.php         2,154  
4 findDeprecated.php         5,418  
5 invalidateUserSessions.php         2,566  
6 jsparse.php         2,098  
7 validateRegistrationFile.php         3,536  
8 resetPageRandom.php         2,663  
9 dumpCategoriesAsRdf.php         5,838  
10 mysql.php         3,636  
11 view.php         3,008  
12 protect.php         2,566  
13 mctest.php         3,641  
14 orphans.php         1,662  
15 populateInterwiki.php         1,900  
16 purgeModuleDeps.php         883  
17 mcc.php         1,867  
18 addSite.php         2,593  
19 categoryChangesAsRdf.php         4,719  
20 deleteTag.php         1,659  
21 exportSites.php         2,339  
22 importSites.php         2,332  
23 refreshFileHeaders.php         3,337  
24 renameRestrictions.php         1,641  
25 initUserPreference.php         1,440  
26 cleanupRevActorPage.php         1,493  
27 checkBadRedirects.php         1,383  
28 findOrphanedFiles.php         3,083  
29 migrateFileRepoLayout.php         2,352  
30 copyFileBackend.php         3,630  
31 updateCredits.php         1,171  
32 manageForeignResources.php         4,107  
33 cleanupRemovedModules.php         1,031  
34 populateBacklinkNamespace.php         1,651  
35 populateRevisionSha1.php         1,709  
36 runBatchedQuery.php      N   1,680  
37 syncFileBackend.php         2,136  
38 checkImages.php         2,100  
39 manageJobs.php         2,914  
40 mergeMessageFileList.php         7,515  
41 cleanupBlocks.php         920  
42 addRFCandPMIDInterwiki.php         1,271  
43 checkDependencies.php         2,346  
44 deduplicateArchiveRevId.php         1,269  
45 deleteAutoPatrolLogs.php         1,795  
46 populateIpChanges.php         2,268  
47 minify.php         3,218  
48 populatePPSortKey.php         1,525  
49 refreshExternallinksIndex.php         1,516  
50 checkLess.php         1,304  
51 deleteSelfExternals.php         1,198  
52 populateArchiveRevId.php         1,632  
53 updateArticleCount.php         2,076  
54 cleanupWatchlist.php         1,852  
55 deleteLocalPasswords.php         1,746  
56 populateParentId.php         3,014  
57 removeUnusedAccounts.php         3,055  
58 purgeExpiredWatchlistItems.php         2,144  
59 purgeExpiredUserrights.php         1,212  
60 updateExtensionJsonSchema.php         3,543  
61 getConfiguration.php         4,294  
62 renameDbPrefix.php         4,815  
63 updateRestrictions.php         1,176  
64 initEditCount.php         2,113  
65 patchSql.php         1,476  
66 convertUserOptions.php         1,327  
67 preprocessorFuzzTest.php         1,278  
68 fixExtLinksProtocolRelative.php         1,251  
69 dumpLinks.php         2,125  
70 generateLocalAutoload.php         1,867  
71 cleanupInvalidDbKeys.php         2,988  
72 getReplicaServer.php         1,482  
73 checkUsernames.php         1,698  
74 rebuildmessages.php         1,500  
75 formatInstallDoc.php         1,401  
76 showSiteStats.php         1,251  
77 rebuildImages.php         1,748  
78 deleteOrphanedRevisions.php         2,161  
79 importSiteScripts.php         2,834  
80 checkComposerLockUpToDate.php         3,464  
81 deleteDefaultMessages.php         2,226  
82 purgeChangedPages.php         2,277  
83 fixTimestamps.php         1,540  
84 migrateImageCommentTemp.php ‎         3,069  
85 tidyUpT39714.php         1,344  
86 uppercaseTitlesForUnicodeTransition.php         3,460  
87 fixDefaultJsonContentPages.php         2,336  
88 populateFilearchiveSha1.php         1,937  
89 populateImageSha1.php         2,158  
90 populateExternallinksIndex60.php         1,932  
91 populateLogSearch.php         1,400  
92 compareParserCache.php         2,527  
93 findHooks.php         6,835  
94 fileOpPerfTest.php         2,110  
95 getSlaveServer.php         1,795  
96 mwdoc-filter.php         2,204  
97 populateRecentChangesSource.php ‎         1,804  
98 populateRevisionLength.php         1,781  
99 populateContentTables.php         3,100  
100 pruneFileCache.php‎         1,507  
101 purgeChangedFiles.php         2,269  
102 populateLogUsertext.php         1,624  
103 clearInterwikiCache.php         1,988  
104 eraseArchivedFile.php         3,560  
105 deleteBatch.php         4,408  
106 refreshImageMetadata.php         3,874  
107 populateCategory.php         2,585  
108 nukePage.php         2,798  
109 updateDoubleWidthSearch.php         1,529  
110 dumpTextPass.php         8,161  
111 attachLatest.php‎         2,882  
112 fixUserRegistration.php         1,635  
113 updateCollation.php‎         4,759  
114 copyJobQueue.php‎         4,650  
115 wrapOldPasswords.php‎         2,615  
116 alltrans.php         1,439  
117 langmemusage.php         1,598  
118 dumpMessages.php         4,200  
119 digit2html.php         6,648  
120 benchmarkHooks.php         2,000  
121 benchmarkParse.php         2,742  
122 benchmarkPurge.php         1,830  
123 checkStorage.php         1,433  
124 moveToExternal.php         2,091  
125 lag.php         1,287  
126 dumpRev.php         1,540  
127 date-formats.php         3,397  
128 listVariants.php         2,405  
129 sql.php         4,020  
130 SqliteMaintenance.php         2,699  
131 sqlite.php         2,674  
132 sqlite.inc   n/a n/a   706  
133 doMaintenance.php   n/a     1,191  
134 createCommonPasswordCdb.php         1,974  
135 convertExtensionToRegistration.php ‎         3,167  
136 deleteArchivedFiles.php ‎         2,002  
137 deleteArchivedRevisions.php ‎         3,703  
138 deleteEqualMessages.php ‎         2,839  
139 deleteOldRevisions.php ‎         4,161  
140 deleteUserEmail.php‎         1,745  
141 fixMergeHistoryCorruption.php ‎         2,704  
142 getText.php‎         3,739  
143 fetchText.php         2,906  
144 findClasses.php         1,585  
145 emptyUserGroup.php ‎         1,834  
146 findMissingActors.php ‎         2,621  
147 getLagTimes.php         1,949  
148 generateConfigDefaultSettings.php ‎         1,969  
149 generateConfigNames.php‎         1,720  
150 generateConfigSchemaArray.php         1,758  
151 generateConfigSchemaYaml.php         1,810  
152 cleanupUsersWithNoId.php ‎         2,513  
153 createAndPromote.php         4,285  
154 cleanupUploadStash.php         1,767  
155 cleanupTitles.php         3,771  
156 cleanupSpam.php         3,039  
157 cleanupPreferences.php         2,133  
158 cleanupEmptyCategories.php         3,101  
159 cleanupCaps.php         2,736  
160 addChangeTag.php         1,442  
161 blockUsers.php ‎         3,785  
162 changePassword.php ‎         3,055  
163 createBotPassword.php ‎         3,872  
164 dumpUploads.php ‎         3,480  
165 invalidateBotPasswords.php ‎         1,703  
166 migrateActors.php ‎         3,187  
167 nukeNS.php         3,095  
168 pageExists.php ‎         2,055  
169 populateChangeTagDef.php ‎ ‎         1,742  
170 purgeExpiredBlocks.php‎         1,300  
171 purgeOldText.php         3,641  
172 purgePage.php‎         3,302  
173 reassignEdits.php         2,250  
174 rebuildall.php         3,602  
175 rebuildrecentchanges.php‎         2,316  
176 rebuildtextindex.php ‎ ‎         2,562  
177 removeInvalidEmails.php ‎ ‎         2,655  
178 recountCategories.php‎         3,607  
179 purgeMessageBlobStore.php         1,470  
180 purgeParserCache.php‎         3,280  

Survey

edit

Bug discovered

edit

Created Categories

edit