From: Gary B. <ga...@in...> - 2001-10-17 01:34:25
|
I can't find the exact message in the archives, but someone a while ago mentioned that they wanted to have inlined monospaced text, ie using <tt> rather than <pre>. This bugged me, since I wanted it too, but the proposed syntax -- {{monospaced}} -- struck me as cumbersome. 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. Later, Gary [ ga...@in... ][ GnuPG 85A8F78B ][ http://inauspicious.org/ ] |
From: Sergio A. K. <ser...@ho...> - 2001-10-17 01:52:52
|
----- Original Message ----- From: "Gary Benson" <ga...@in...> > > 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. speaking of this, my wiki has this semantics: __underline__ **bold** //italic// isn't a little more intuitive ? (ie. is what most irc do this days, even mozilla) /sergio |
From: Steve W. <sw...@pa...> - 2001-10-21 15:12:51
|
I wish the IETF would create a Wiki markup syntax RFC already. :-) I agree, //italic// is more intuitive. ``monospaced`` would be easy to add. ~swain On Tue, 16 Oct 2001, Sergio A. Kessler wrote: > ----- Original Message ----- > From: "Gary Benson" <ga...@in...> > > > > > > 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. > > speaking of this, my wiki has this semantics: > > __underline__ > > **bold** > > //italic// > > isn't a little more intuitive ? > (ie. is what most irc do this days, even mozilla) > > /sergio > > _______________________________________________ > Phpwiki-talk mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwiki-talk > --- http://www.panix.com/~swain/ "Without music to decorate it, time is just a bunch of boring production deadlines or dates by which bills must be paid." -- Frank Zappa |
From: Adam S. <ad...@pe...> - 2001-10-17 19:00:31
|
Gary wrote ... > I can't find the exact message in the archives, but someone a while > ago mentioned that they wanted to have inlined monospaced text, ie > using <tt> rather than <pre>. This bugged me, since I wanted it too, > but the proposed syntax -- {{monospaced}} -- struck me as cumbersome. that was me, and {{{text}}} is kinda cumbersome but it's what moin used. > 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? Sergio wrote ... > speaking of this, my wiki has this semantics: > > __underline__ > **bold** > //italic// > > isn't a little more intuitive ? (ie. is what most irc do this days, even > mozilla) yes, i think it is a little more intuitive, the problem i see is that **bold** will interfere with double indented lists won't it? it would be nice to see a standard wiki syntax, but then i guess that would take some of the fun out of writing them. adam. 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 :-) |
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. |
From: Steve W. <sw...@pa...> - 2001-10-21 15:15:39
|
On Wed, 17 Oct 2001, Adam Shand wrote: > 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 :-) Wow, that's awful! I've made a zip dump of the current site. Thanks for the heads-up. ~swain --- http://www.panix.com/~swain/ "Without music to decorate it, time is just a bunch of boring production deadlines or dates by which bills must be paid." -- Frank Zappa |
From: Reini U. <ru...@x-...> - 2001-10-21 16:07:49
|
Steve Wainstead schrieb: > On Wed, 17 Oct 2001, Adam Shand wrote: > > ps. i assume everyone knows but moinmoin and twiki's sourceforge page= s > > 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 wik= i > > hatred :-) >=20 > Wow, that's awful! I've made a zip dump of the current site. Thanks for > the heads-up. I make dialy backup's. Not only zipdump's, also incremental RCS versions. Did I never post this shell script? This is for a dialy zipdump of my german murwiki: #!/bin/sh # dump wikidb from murwiki cd //v/mur/wiki baseurl=3D"http://tv.mur.at/murwiki/" zip=3D`date +"wiki-%Y%m%d.zip"` log=3Dwiki.log # login=3D"http://xarch.tu-graz.ac.at/autocad/wiki/PhpWikiAdministration?ac= tion=3Dlogin" dump=3D$baseurl"PhpWikiAdministration?action=3Dzip" changes=3D$baseurl"Letzte=C4nderung" # xlog=3Dacadwiki-1.3.4pre/log/xarch_access.log credentials=3D' --http-user=3Dadmin --http-passwd=3Dxxx' echo "dumping $changes..." wget -nv -OLetzte=C4nderung-`date +"%Y%m%d"` $changes wget -nv $credentials -a$log -O$zip $dump # wget -nv $credentials -a$log http://xarch.tu-graz.ac.at/home/rurban/$xl= og echo "$baseurl successfully dumped to $zip." this is a better one, into RCS: #!/bin/sh # shell script to save a [remote] phpwiki v1.3x into RCS # # cron sample for daily backup # 0 1 * * * cd ~/backup/wiki1; ~/phpwiki/wbackup --http-user=3Drurban --http-passwd=3Dpass http://xarch.tu-graz.ac.at/acadwiki/ # 10 1 * * * cd ~/backup/wiki2; ~/phpwiki/wbackup http://tv.mur.at/murw= iki/ # default cfg, if no arguments given wikiurl=3D$@ if [ -z "$wikiurl" ]; then wikiurl=3D"http://xarch.tu-graz.ac.at/acadwiki/" fi # create rcs in the actdir=20 # path of backup, RCS will be created in a subdir reldir=3D`dirname $0` homedir=3D`cd $reldir; pwd` tmpdir=3D/tmp/phpwiki zip=3D/tmp/`/bin/date +"phpwiki-%Y%m%d.zip"` # log=3D/var/log/phpwiki.log log=3D$homedir/phpwiki.log # changes=3D$wikiurl"RecentChanges" # echo "dumping $changes..." # wget -ORecentChanges-`date +"%Y%m%d"` $changes /usr/bin/wget -nv -a$log -O$zip $wikiurl"PhpWikiAdministration?action=3Dz= ip" # echo "$wikiurl successfully dumped to $zip." /bin/rm -rf $tmpdir /usr/bin/unzip $zip -d $tmpdir/ pushd $tmpdir files=3D$(ls --color=3Dnone *) popd for f in $files; do=20 # overwrite old if [ ! -f $f,v ]; then=20 /bin/cp -f $tmpdir/$f . /usr/bin/rcs -i -q -U -t-"phpwiki backup" $f;=20 /usr/bin/sed -e"1d" $tmpdir/$f >$f fi # drop first line to ignore equal files=20 # this holds only "From <backup date>" /usr/bin/sed -e"1d" $tmpdir/$f >$f /usr/bin/ci -q -m'#' $f /bin/rm -f $tmpdir/$f done /bin/rm -f $zip /bin/rmdir $tmpdir This is one of my sample cronjob scripts: #!/bin/sh cd /home/rurban/proj/wiki/acadwiki ../wbackup --http-user=3Dadmin --http-passwd=3Dxxx http://xarch.tu-graz.ac.at/acadwiki/ |