I recently was tasked to add a document number to the metadata. Easy, except with hundreds of documents, I didn't want to do this manually.
Each Wiki topic is a text document. The text document also stores the metadata (like the document number). Of course, since it's text it is easy to edit and script the edit with perl.
However, each topic text file also has an associated RCS file for versioning information. If you just edit the text file, the web page itself looks fine, but you can't see the change you made in the page's history (unless you make another change using the web interface).
But it turns out to be very easy to record your direct text file edits in RCS. Simply do
rcs -l TextFileName.txt ## now make your changes using whatever method (manual, scripted, etc.), then: ci -mnone -t-none -wusername -u TextFileName.txt
That's it! Now the edits you made from your terminal are visible in the topic's history.