|
Cookbook /
AdminHintsSummary: Hints & suggestions for wiki administrators
Version: n/a
Prerequisites: n/a
Status: Documentation
Maintainer: Varied
Categories: Administration
Discussion: AdminHints-Talk
Questions answered by this recipe
DescriptionHints & suggestions for wiki administrators. NOTE: If this stuff is already covered somewhere else, please let me know and I'll move over there... —Peter Bowers
NotesMake one change at a timeIf you were a scientist, a mainstay of your scientific method would be to ensure that you have only a single variable in your experiment at a time. In wiki administration it is essential that you make one change at a time.
Backup regularly, keeping a historyBefore you start making changes (and/or after you finish making changes and have tested things), make a backup of your site configuration. Refer to cookbook recipes such as BackupPages or WbBackup for a full, formal approach to backup. The "poor man's approach" to backing up your wiki configuration before making changes is simply to make a copy of your configuration files in your wiki's local/ directory. Normally this consists of copying config.php to config.php.YYYY-MM-DD. This means that you can look in that directory and see a list of dated "known states" that you can go back to. Thus if you suddenly notice that something is not working, you copy off your CURRENT (non-working) config.php somewhere, and copy back the most recent known state. If it still doesn't work then you go back to a previous version, continuing on until you find when the problem was introduced. Then you can compare the differences between the last-working-state config.php and the first-broken-state config.php and see exactly what changed. The same applies to any wiki-group or -page specific configuration files in your local/ directory you may have added. Write down your changes in a central locationWhether you choose a physical notebook in which to write things down or whether you choose a directory in your personal computer to store a series of text/Word documents -- choose some place to write down what changes you are making. Add comments to your additions and changes in config.php by using text starting with hashes # or double slashes //, as you can see used widely in docs/sample-config.php I know, it increases the amount of work. I know, it makes it take longer. But if you will discipline yourself to writing down the reason why you are making a change and what the actual change is (including that little change that seems irrelevant -- maybe especially that one!) then you will find that your initial "extra" work actually saves you time in the long term. Reporting problems and asking for help
How to ask for help
There is a difference between editing pages and editing scripts - CAUTION!A script is a PHP program. It is in a file with a The files you find in wiki.d and wikilib.d are NOT scripts! You do not edit these in the same way you edit a file! You should NEVER go into wiki.d/ and wikilib.d/ and try to edit a file there using an editor unless you really know what you are doing. Instead you navigate to that page using your web-browser and then click the Again, be very careful to differentiate between pages and scripts when you are making changes to your site. Treating one as the other or visa versa can completely mess up your system. Change log / Release notes
See alsoContributorsCommentsSee discussion at AdminHints-Talk User notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki. |