Admin:WikiMaintenance: Difference between revisions
Created page with "Disk space management: Wiki: Check for unused files: http://hackyracers.co.uk/wiki/index.php/Special:UnusedFiles Delete unneeded files by clicking each file, then "delete all" on file history. Run maintenance script to actually remove "deleted" files from disk Wordpress: Uninstall unneeded plugins and themes Run image optimiser plugin" |
|||
| (17 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
Disk space management: | == Disk space management == | ||
=== Wiki === | |||
==== Limits ==== | |||
*Upload limit is set to 2MB to conserve disk space. Modify <code>$wgMaxUploadSize = 1024*1024*2;</code> in LocalSettings.php | |||
*Display notices on the uploads page using [[MediaWiki:Uploadtext]] | |||
==== Unused files ==== | |||
Check for unused files: | *Check for unused files: [[Special:UnusedFiles]] | ||
*Delete unneeded files by clicking each file, then "delete all" on file history. | |||
Delete unneeded files by clicking each file, then "delete all" on file history. | *Run maintenance script to actually remove "deleted" files from disk. [https://www.mediawiki.org/wiki/Manual:DeleteArchivedFiles.php DeleteArchivedFiles] | ||
Run maintenance script to actually remove "deleted" files from disk | **Open Terminal on cPanel and run: <code>php public_html/wiki/maintenance/run.php deleteArchivedFiles --delete</code> | ||
==== Compress images ==== | |||
Wordpress | === Wordpress === | ||
Uninstall unneeded plugins and themes | *Uninstall unneeded plugins and themes | ||
Run image optimiser plugin | *Run image optimiser plugin | ||
== Updates == | |||
=== Wiki === | |||
Updates should automatically process over time, however you may want to: | |||
* Purge cache of all pages on wiki (click Make Request): | |||
**[[Special:ApiSandbox#action=purge&generator=allpages&gaplimit=max]] | |||
*Purge a specific page: | |||
**[[Special:Purge]]. | |||
[[Category:Admin]] | |||
Latest revision as of 16:52, 29 October 2024
Disk space management
Wiki
Limits
- Upload limit is set to 2MB to conserve disk space. Modify
$wgMaxUploadSize = 1024*1024*2;in LocalSettings.php - Display notices on the uploads page using MediaWiki:Uploadtext
Unused files
- Check for unused files: Special:UnusedFiles
- Delete unneeded files by clicking each file, then "delete all" on file history.
- Run maintenance script to actually remove "deleted" files from disk. DeleteArchivedFiles
- Open Terminal on cPanel and run:
php public_html/wiki/maintenance/run.php deleteArchivedFiles --delete
- Open Terminal on cPanel and run:
Compress images
Wordpress
- Uninstall unneeded plugins and themes
- Run image optimiser plugin
Updates
Wiki
Updates should automatically process over time, however you may want to:
- Purge cache of all pages on wiki (click Make Request):
- Purge a specific page: