From: Gary B. <ga...@in...> - 2001-10-17 20:00:38
|
> > The other day it hit me -- why not use the underused backtick? My > > PersonalWiki now supports __bold__, ''italic'', and ``monospaced`` > > text. It works really well and is easy to type, so I'd ask you to > > consider adding this feature to PhpWiki. > > that works for me. if you are using the alpha version can you post a > patch? I'm using 1.2, but if you open transform.php, search for '', make a copy of the two lines and replace '' with `` and <em> with <tt> you won't go far wrong... > ps. i assume everyone knows but moinmoin and twiki's sourceforge pages > were totally wiped by someone the other day, and since the pages were > read/write sf does't want to restore them. it might pay to make sure that > someone has a backup of the phpwiki page database in case this is wiki > hatred :-) For the GtmWiki, I have two complimentary backup(ish) strategies. Firstly, I have a CGI containing the following (note that I use custom table names): | #!/bin/sh | | echo "Content-type: text/plain" | echo | | mysqldump 2>&1 -uUSER -pPASS DATABASE \ | --add-drop-table --add-locks --quick --lock-tables \ | wiki_pages \ | wiki_archive \ | wiki_links \ | wiki_score \ | wiki_hitcount \ | wiki_hottopics which gets called every night and the results saved. Secondly, I hacked savepage.php to email me a diff of the edits, so a) I don't have to check RecentChanges, and b) I have an evolving record of what changes. |