diff options
author | Waldir Pimenta <waldir@email.com> | 2013-02-11 09:58:42 +0000 |
---|---|---|
committer | Reedy <reedy@wikimedia.org> | 2013-03-06 03:57:54 +0000 |
commit | 158bf7cb558a6d2e4ef39eee080a0dd67e733891 (patch) | |
tree | 4ba59a94c22f897d5ac2cedc1e5517cfcdde9aa0 /maintenance/README | |
parent | 3933910d7241e6561c502f1acd96456b86a6b1da (diff) | |
download | mediawikicore-158bf7cb558a6d2e4ef39eee080a0dd67e733891.tar.gz mediawikicore-158bf7cb558a6d2e4ef39eee080a0dd67e733891.zip |
normalize filenames of maintenance scripts
Use lowerCamelCase.php format for all files (per [[mw:CC#File_naming]]),
and make filenames more specific:
- clear_stats.php -> clearCacheStats.php
- clear_interwiki_cache.php -> clearInterwikiCache.php
- initStats.php -> initSiteStats.php
- proxy_check.php -> proxyCheck.php
- stats.php -> showCacheStats.php
- showStats.php -> showSiteStats.php
Also changed the class names accordingly (per [[mw:CC/PHP#Naming]]),
and make class names more specific:
- clear_stats -> ClearCacheStats
- InitStats -> InitSiteStats
- CacheStats -> ShowCacheStats
- ShowStats -> ShowSiteStats
Updated files that made references to the changed files/classes:
- DefaultSettings.php and SpecialBlockme.php (proxy_check.php -> proxyCheck.php)
- maintenance/showSiteStats.php (initStats.php -> initSiteStats.php)
- maintenance/README and docs/memcached.txt (stats.php -> showCacheStats.php)
- docs/maintenance.txt and docs/memcached.txt (clear_stats.php -> clearCacheStats.php)
Thanks Hashar for the initial help and encouragement :)
Change-Id: I60f76fc971e06e1b710dcda35f9c2d931b93bdd7
Diffstat (limited to 'maintenance/README')
-rw-r--r-- | maintenance/README | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/maintenance/README b/maintenance/README index 9f95f5de4924..5cb6f5f5ab5a 100644 --- a/maintenance/README +++ b/maintenance/README @@ -93,7 +93,7 @@ installations. runJobs.php Immediately complete all jobs in the job queue - stats.php + showCacheStats.php Show all statistics stored in the cache undelete.php @@ -106,4 +106,4 @@ installations. Update pages restriction to the new schema userOptions.php - Change user options
\ No newline at end of file + Change user options |