You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
(103) |
Jul
(105) |
Aug
(16) |
Sep
(16) |
Oct
(78) |
Nov
(36) |
Dec
(58) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(100) |
Feb
(155) |
Mar
(84) |
Apr
(33) |
May
(22) |
Jun
(77) |
Jul
(36) |
Aug
(37) |
Sep
(183) |
Oct
(74) |
Nov
(235) |
Dec
(165) |
| 2002 |
Jan
(187) |
Feb
(183) |
Mar
(52) |
Apr
(10) |
May
(15) |
Jun
(19) |
Jul
(43) |
Aug
(90) |
Sep
(144) |
Oct
(144) |
Nov
(171) |
Dec
(78) |
| 2003 |
Jan
(113) |
Feb
(99) |
Mar
(80) |
Apr
(44) |
May
(35) |
Jun
(32) |
Jul
(34) |
Aug
(34) |
Sep
(30) |
Oct
(57) |
Nov
(97) |
Dec
(139) |
| 2004 |
Jan
(132) |
Feb
(223) |
Mar
(300) |
Apr
(221) |
May
(171) |
Jun
(286) |
Jul
(188) |
Aug
(107) |
Sep
(97) |
Oct
(106) |
Nov
(139) |
Dec
(125) |
| 2005 |
Jan
(200) |
Feb
(116) |
Mar
(68) |
Apr
(158) |
May
(70) |
Jun
(80) |
Jul
(55) |
Aug
(52) |
Sep
(92) |
Oct
(141) |
Nov
(86) |
Dec
(41) |
| 2006 |
Jan
(35) |
Feb
(62) |
Mar
(59) |
Apr
(52) |
May
(51) |
Jun
(61) |
Jul
(30) |
Aug
(36) |
Sep
(12) |
Oct
(4) |
Nov
(22) |
Dec
(34) |
| 2007 |
Jan
(49) |
Feb
(19) |
Mar
(37) |
Apr
(16) |
May
(9) |
Jun
(38) |
Jul
(17) |
Aug
(31) |
Sep
(16) |
Oct
(34) |
Nov
(4) |
Dec
(8) |
| 2008 |
Jan
(8) |
Feb
(16) |
Mar
(14) |
Apr
(6) |
May
(4) |
Jun
(5) |
Jul
(9) |
Aug
(36) |
Sep
(6) |
Oct
(3) |
Nov
(3) |
Dec
(3) |
| 2009 |
Jan
(14) |
Feb
(2) |
Mar
(7) |
Apr
(16) |
May
(2) |
Jun
(10) |
Jul
(1) |
Aug
(10) |
Sep
(11) |
Oct
(4) |
Nov
(2) |
Dec
|
| 2010 |
Jan
(1) |
Feb
|
Mar
(13) |
Apr
(11) |
May
(18) |
Jun
(44) |
Jul
(7) |
Aug
(2) |
Sep
(14) |
Oct
|
Nov
(6) |
Dec
|
| 2011 |
Jan
(2) |
Feb
(6) |
Mar
(3) |
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2012 |
Jan
(11) |
Feb
(3) |
Mar
(11) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(4) |
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(4) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(8) |
Dec
(1) |
| 2015 |
Jan
(3) |
Feb
(2) |
Mar
|
Apr
(3) |
May
(1) |
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
| 2016 |
Jan
|
Feb
(4) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
(5) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2021 |
Jan
|
Feb
(4) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(6) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
| 2022 |
Jan
(11) |
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(3) |
Dec
(3) |
| 2024 |
Jan
(7) |
Feb
(2) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2025 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
(3) |
Aug
|
Sep
(5) |
Oct
|
Nov
|
Dec
|
|
From: Jeff D. <da...@da...> - 2001-03-14 23:18:06
|
In message <3AA...@x-...>,Reini Urban writes:
>> Is there a reason we shouldn't switch to using
>> strftime rather than date everywhere?
>>
>> >setlocale("LC_TIME", "german");
>
>yes, there is.
>I couldn't figure out which locale on which platform is best, or just works.
>at least for german :)
Uh oh. I was afraid of that.
>LC_TYPE "german" works for me on win2000 and linux now,
>but the recommended settings ("de_GE" or "de_AT") do not work as they should.
> (austrians need different sublocales for weekday and month names for
>example)
'de_GE' (probably a typo?) is incorrect, I think. Should be 'de_DE'?
Datapoint: I've tested 'de_DE' and 'de_AT', and 'german' on four Linux
systems. They all seem to work (at least they do something) on all of them.
The systems were:
RedHat 7.0, glibc 2.2
RedHat 6.2, glibc-2.1
RedHat 5.2, glibc-2.1
Debian 2.2?, glibc 2.1
Plain 'de' does not work on any of those systems. I though it should,
but perhaps I'm wrong.
(A simple way to test, at least on unix systems, is from the command
line, e.g.:)
LANG=de_DE date "+%x"
Which should print the date in the locale-specific format.
That said, even if you can't find the correct locale setting, does
switching from date() to strftime() break anything? With date()
you're stuck with English days/months no matter what --- with strftime()
you have a chance of getting dates in your native language.
Jeff
|
|
From: Reini U. <ru...@x-...> - 2001-03-14 22:41:01
|
Jeff Dairiki schrieb:
> >Reini says:
> >date() is not localised, use strftime() instead.
> >but strftime() has a different template syntax. edit index.php also then.
>
> Good observation. Is there a reason we shouldn't switch to using
> strftime rather than date everywhere?
>
> >setlocale("LC_TIME", "german");
yes, there is.
I couldn't figure out which locale on which platform is best, or just works.
at least for german :)
LC_TYPE "german" works for me on win2000 and linux now,
but the recommended settings ("de_GE" or "de_AT") do not work as they should.
(austrians need different sublocales for weekday and month names for
example)
my /usr/share/locale dirs are not very rich on TC_TIME settings. Or I just
cannot find them.
Win2000 has a better native (ie builtin) SDK on this.
> Speaking of which, has anyone tried the latest CVS code to see if
> my hacks to accept international characters in WikiWörter work?
>
> (Steve: alpha/index.php needs to be updated --- new $WikiNameRegexp)
not yet. this is a massive change for existing content.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
|
|
From: Thomas K. <th...@co...> - 2001-03-14 17:33:49
|
Sorry making so mutch trouble about it, next time i will be more modest creating the subject line ;-) T. |
|
From: Steve W. <sw...@pa...> - 2001-03-14 16:17:55
|
On Wed, 14 Mar 2001, Jeff Dairiki wrote:
> >Reini says:
> >date() is not localised, use strftime() instead.
> >but strftime() has a different template syntax. edit index.php also then.
>
> Good observation. Is there a reason we shouldn't switch to using
> strftime rather than date everywhere?
None... or perhaps better yet wrap strftime() in a function or method, and
give it a more user-friendly appearance. (I wonder how long it takes
non-English speaking people to figure out what "strftime" means?)
> (Steve: alpha/index.php needs to be updated --- new $WikiNameRegexp)
I'll check to see if it's updated lately. I have never seen an unreliable
crond until I started running jobs on Sourceforge.
~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: Jeff D. <da...@da...> - 2001-03-14 15:55:37
|
>Reini says:
>date() is not localised, use strftime() instead. =
>but strftime() has a different template syntax. edit index.php also then=
=2E
Good observation. Is there a reason we shouldn't switch to using
strftime rather than date everywhere?
>setlocale("LC_TIME", "german"); =
Speaking of which, has anyone tried the latest CVS code to see if
my hacks to accept international characters in WikiW=F6rter work? =
(Steve: alpha/index.php needs to be updated --- new $WikiNameRegexp)
=3D=3D=3D=3D=3D=3D=3D
As for transform bugs:
}Steve says:
}Do you mean the <P><p> here? Isn't the first one from the template?
Actually, it's from lib/savepage.php. It only appears in a freshly
saved page. (It should be removed, I think -- but it's certainly no big
deal.)
}The rest below look well formed to me.
Me too.
Jeff
|
|
From: Steve W. <sw...@pa...> - 2001-03-14 15:22:14
|
On Wed, 14 Mar 2001, Thomas Kalka wrote:
> <table class=3D"outer" width=3D"100%" cellspacing=3D2 border=3D0>
> <tr><td><table class=3D"inner" width=3D"100%" border=3D0 cellspacing=3D0 =
cellpadding=3D5>
> <tr><td class=3D"wikitext">Thank you for editing <a href=3D"ParagraphTest=
" class=3D"wikilink"><span class=3D"wikiword">ParagraphTest</span></a>.<br>
> Your careful attention to detail is much appreciated.
> <hr noshade><P><p>
> asdkjlas asdjklads asdjklasdjkl=F6 asasd
> asddasjkldas asdjklasdjklasd asdjkld as
> </p>
Do you mean the <P><p> here? Isn't the first one from the template?
The rest below look well formed to me.
~swain
> <p>
> asdjkldasjklasd asdjklasdjklasdjklasd adsjklasd
> asdljkasdjklasd asdjklasdjklasdjklasd
> asdjklasdjklasd
> </p>
> <p>
> asdjklasdjklasdjkldasjkasd
> asdadsjklasd
> </p>
> <pre>
> as asddash asd
> asdjklasd dasjklasdjl
> asdkadjls
> </pre>
> <pre>
> as asddash asd
> asdjklasd dasjklasdjl
> asdkadjls
> </pre>
> <p>
> asdhj asdjkd=F6as asdjk=F6asdl
> asdkladsl=F6jkasd =F6jldasjkl=F6 asd=F6jkl
> asdjkl=F6=F6asdjk=F6jkasd
> </p>
> <hr>
> <p>
> <a href=3D"CategoryTestPage" class=3D"wikilink"><span class=3D"wikiword">=
CategoryTestPage</span></a>
> </p>
> </td></tr>
> </table></td></tr>
> </table>
> <hr noshade>
>
> <a class=3D"wikiaction" href=3D"ParagraphTest?action=3Dedit">EditText</a>=
of this page
>
> (last edited March 14, 2001)
> [<a class=3D"wikiaction" href=3D"ParagraphTest?action=3Dinfo">info</a>]
> [<a class=3D"wikiaction" href=3D"ParagraphTest?action=3Ddiff">diff</a>])
> <br>
> <a class=3D"wikilink" href=3D"FindPage"><span class=3D"wikiword">FindPage=
</span></a>
> by browsing or searching
> <hr noshade>
> <small><b>5 best incoming links:</b>
> <a href=3D"RecentChanges" class=3D"wikilink"><span class=3D"wikiword">Rec=
entChanges</span></a> (7),
> <br><b>5 best outgoing links:</b>
> <a href=3D"CategoryTestPage" class=3D"wikilink"><span class=3D"wikiword">=
CategoryTestPage</span></a> (6),
> <br><b>5 most popular nearby:</b>
> <a href=3D"RecentChanges" class=3D"wikilink"><span class=3D"wikiword">Rec=
entChanges</span></a> (143), <a href=3D"CategoryTestPage" class=3D"wikilink=
"><span class=3D"wikiword">CategoryTestPage</span></a> (2), </small>
>
> </body>
> </html>
>
>
---
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: Thomas K. <th...@co...> - 2001-03-14 13:17:30
|
Sorry, I should have tried it more often. It only appears if you save = the page. Here it is. (hopefully you have html-mails on) T. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <!-- phpwiki source: $Id: prepend.php,v 1.3 2001/02/14 22:02:05 dairiki Exp $ $Id: index.php,v 1.10 2001/02/14 22:02:05 dairiki Exp $ $Id: main.php,v 1.10 2001/02/28 20:54:18 dairiki Exp $ $Id: config.php,v 1.36 2001/03/11 17:56:36 wainstead Exp $ $Id: mysql.php,v 1.12 2001/02/12 01:43:10 dairiki Exp $ $Id: interwiki.php,v 1.5 2001/03/03 19:29:48 dairiki Exp $ $Id: stdlib.php,v 1.37 2001/03/05 23:37:32 dairiki Exp $ $Id: userauth.php,v 1.4 2001/02/16 04:43:08 dairiki Exp $ $Id: logger.php,v 1.1 2001/02/16 04:43:08 dairiki Exp $ $Id: savepage.php,v 1.13 2001/02/14 05:22:49 dairiki Exp $ $Id: transform.php,v 1.20 2001/03/07 16:45:20 dairiki Exp $ --> <meta http-equiv=3D"Content-Type" content=3D"text/html; = charset=3Diso-8859-1"> <meta name=3D"robots" content=3D"noindex, nofollow"> <base = href=3D"http://phpwiki.sourceforge.net/alpha/index.php/ParagraphTest"> <title>ParagraphTest</title> <link rel=3D"stylesheet" title=3D"phpwiki" = href=3D"http://phpwiki.sourceforge.net/alpha/phpwiki.css" = type=3D"text/css"> </head> <body bgcolor=3Divory text=3Dblack alink=3Dred link=3Ddarkblue = vlink=3Ddarkmagenta> <h1><a class=3D"wikilink" href=3D"FrontPage"><img = src=3D"http://phpwiki.sourceforge.net/alpha/images/wikibase.png" = border=3D0 alt=3D"[phpwiki]" align=3Dmiddle width=3D50 height=3D50></a> <a class=3D'wikiaction' = href=3D"ParagraphTest?action=3Dsearch&searchtype=3Dfull&searchter= m=3DParagraphTest" ><span class=3D'wikiword'>ParagraphTest</span></a></h1> <table class=3D"outer" width=3D"100%" cellspacing=3D2 border=3D0> <tr><td><table class=3D"inner" width=3D"100%" border=3D0 cellspacing=3D0 = cellpadding=3D5> <tr><td class=3D"wikitext">Thank you for editing <a = href=3D"ParagraphTest" class=3D"wikilink"><span = class=3D"wikiword">ParagraphTest</span></a>.<br> Your careful attention to detail is much appreciated. <hr noshade><P><p> asdkjlas asdjklads asdjklasdjkl=F6 asasd asddasjkldas asdjklasdjklasd asdjkld as </p> <p> asdjkldasjklasd asdjklasdjklasdjklasd adsjklasd asdljkasdjklasd asdjklasdjklasdjklasd asdjklasdjklasd </p> <p> asdjklasdjklasdjkldasjkasd asdadsjklasd </p> <pre> as asddash asd asdjklasd dasjklasdjl asdkadjls </pre> <pre> as asddash asd asdjklasd dasjklasdjl asdkadjls </pre> <p> asdhj asdjkd=F6as asdjk=F6asdl asdkladsl=F6jkasd =F6jldasjkl=F6 asd=F6jkl asdjkl=F6=F6asdjk=F6jkasd </p> <hr> <p> <a href=3D"CategoryTestPage" class=3D"wikilink"><span = class=3D"wikiword">CategoryTestPage</span></a> </p> </td></tr> </table></td></tr> </table> <hr noshade> <a class=3D"wikiaction" = href=3D"ParagraphTest?action=3Dedit">EditText</a> of this page (last edited March 14, 2001) [<a class=3D"wikiaction" href=3D"ParagraphTest?action=3Dinfo">info</a>] [<a class=3D"wikiaction" href=3D"ParagraphTest?action=3Ddiff">diff</a>]) <br> <a class=3D"wikilink" href=3D"FindPage"><span = class=3D"wikiword">FindPage</span></a> by browsing or searching <hr noshade> <small><b>5 best incoming links:</b> <a href=3D"RecentChanges" class=3D"wikilink"><span = class=3D"wikiword">RecentChanges</span></a> (7),=20 <br><b>5 best outgoing links:</b> <a href=3D"CategoryTestPage" class=3D"wikilink"><span = class=3D"wikiword">CategoryTestPage</span></a> (6),=20 <br><b>5 most popular nearby:</b> <a href=3D"RecentChanges" class=3D"wikilink"><span = class=3D"wikiword">RecentChanges</span></a> (143), <a = href=3D"CategoryTestPage" class=3D"wikilink"><span = class=3D"wikiword">CategoryTestPage</span></a> (2), </small> </body> </html> |
|
From: Reini U. <ru...@x-...> - 2001-03-14 12:17:38
|
I cannot spot it. which <p>? > Thomas Kalka schrieb: > Am I wrong or is there a <P> too mutch, if You look at the html-source of > http://phpwiki.sourceforge.net/alpha/index.php/ParagraphTest ? -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |
|
From: Reini U. <ru...@x-...> - 2001-03-14 12:15:43
|
> Thomas Kalka schrieb:
> does anybody have already some code to display a localised version of
> the date output (for example in german).
which date output? there are multiple.
in the template, in the transformation.
date() is not localised, use strftime() instead.
but strftime() has a different template syntax. edit index.php also then.
I use this for converting a mysql isodate to a localized date string:
----
setlocale("LC_TIME", "german");
function fmt_isodate ($isodate) {
return strftime ("%a., %d. %b %Y", strtotime($isodate));}
----
you'll probably have to edit just this code from lib/stdlib.php: (this is from
my extended version)
replace date($datetimeformat with something like
strftime("%x %X"
%x for date, %X for time
----
if (!empty($hash['lastmodified'])) {
_iftoken('LASTMODIFIED', true, $page);
_dotoken('LASTMODIFIED', date($datetimeformat, $hash['lastmodified']),
$page);
} elseif ($template == 'EDITPAGE') { // new page
_iftoken('LASTMODIFIED', true, $page);
_dotoken('LASTMODIFIED', date($datetimeformat, time()), $page);
} else { // dynamic MagicPage: no edit
_iftoken('LASTMODIFIED', false, $page);
}
----
insert the setlocale somewhere before (best in index.php)
see http://php.net/strftime
> Or is this already implemented in
> the current release ? (I'm using a hacked version 1.19)
no
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
|
|
From: Thomas K. <th...@co...> - 2001-03-14 04:47:30
|
Am I wrong or is there a <P> too mutch, if You look at the html-source = of http://phpwiki.sourceforge.net/alpha/index.php/ParagraphTest ? Thomas |
|
From: Thomas K. <th...@co...> - 2001-03-14 04:35:37
|
Hi, does anybody have already some code to display a localised version of the date output (for example in german). Or is this already implemented = in the current release ? (I'm using a hacked version 1.19) Thomas |
|
From: Jeff D. <da...@da...> - 2001-03-13 19:16:50
|
In message <3aa...@re...>,ph...@de... wri > For those of us who are CVS-impared but whom might >nonetheless feel comfortable messing about with a "alpha" version >of the phpWiki development *pre-great-leap-forward* code: how >can we get a single download which contains this snapshot before >the new API gets introduced? There's a snapshot of the latest CVS code, updated nightly at: ftp://phpwiki.sourceforge.net/pub/phpwiki/phpwiki.nightly.tar.gz |
|
From: <ph...@de...> - 2001-03-13 18:51:02
|
On Tue, 13 Mar 2001 08:55:40 -0800, Jeff Dairiki <da...@da...> wrote: => NOTE: These comments pertain only to the latest CVS development code, => not to the stable release (1.2.x) of PhpWiki. => As I noted, the development branch is unstable code. You're not allowed => to get snippy if it doesn't work :-) => (I think at this instant, it's fairly bug-free, but that's liable to => change once we start introducing the new database API.) For those of us who are CVS-impared but whom might nonetheless feel comfortable messing about with a "alpha" version of the phpWiki development *pre-great-leap-forward* code: how can we get a single download which contains this snapshot before the new API gets introduced? Sorry for being CVS-dense. TIA, - Don |
|
From: Jeff D. <da...@da...> - 2001-03-13 16:53:43
|
NOTE: These comments pertain only to the latest CVS development code, not to the stable release (1.2.x) of PhpWiki. In message <m3d...@ap...>,Jan Nieuwenhuizen writes: >Ok, this seems to have been fixed in the very latest ,v1.13 or 1.14. As I noted, the development branch is unstable code. You're not allowed to get snippy if it doesn't work :-) (I think at this instant, it's fairly bug-free, but that's liable to change once we start introducing the new database API.) >However, now you get to see the page, but can't click on editpage: > > http://appel.lilypond.org/new-wiki/?pointandclick > >maybe I need to specify some Path or Serveraddress? I think this is because you've set SCRIPT_NAME to something that's not the name of your script. The simple fix is to leave SCRIPT_NAME unset (or set it to a value which actually points to the index.php script.) Then the canonical URLs for pages in your wiki will look like: http://appel.lilypond.org/new-wiki/index.php/pointandclick though http://appel.lilypond.org/new-wiki/?pointandclick should still work. ======= A fancier solution, if you don't mind if URLs like http://appel.lilypond.org/new-wiki/index.php?pointandclick (with an explicit 'index.php') stop working altogether, is: 1. Rename the new-wiki directory to something else. (Actually only the images/ subdirectory and 'phpwiki.css' need to be web-accessible. The rest of the phpwiki code can go outside your document root.) 2. Copy index.php to /your/server/root/new-wiki. You are copying the file index.php to a file (not a directory) named new-wiki. 3. In /your/server/root/.htaccess add these lines: <Files new-wiki> SetHandler application/x-httpd-php </Files> That should make apache treat the file new-wiki as a php script. 4. Edit new-wiki as follows (more or less): a. (Set admin user/pass, database config stuff normally...) b. Uncomment the ini_set('include_path',...) line, and set the include_path to point to where the rest of the PhpWiki source code is. c. Set DATA_PATH to the abs url (relative to the server root) where phpwiki.css and the images/ subdirectory can be found. Now your wiki pages should appear at, e.g.: http://appel.lilypond.org/new-wiki/pointandclick (or http://appel.lilypond.org/new-wiki?pointandclick ) ===== >Which brings me to another question. I'm in the process of upgrading >the php code of the wiki, but what would be the easiest way to upgrade >the canned pages that come with the wiki (leaving the rest of the wiki >db intact, of course)? Esp. > > http://appel.lilypond.org/new-wiki?releasenotes > >would be good to have upgraded. Update the PhpWikiAdministration page by hand. (ie. Browse to http://appel.lilypond.org/new-wiki/PhpWikiAdministration , click on EditText, and cut-and-paste from pgsrc/PhpWikiAdministration.) Then browse to the new PhpWikiAdministration page. Near the top you should see a "Log In" link. Click on it and log in (using the admin user/password). Then lock the PhpWikiAdministration page. Then you can use the "Upload File" or "Load File" forms on the PhpWikiAdministration page to load individual files from the pgsrc directory into your wiki. (You could also use LoadFile to load all the pages in pgsrc in one fell swoop --- but that would blindly overwrite any existing pages (like FrontPage) so that probably isn't what you want to do.) Jeff |
|
From: Reini U. <ru...@x-...> - 2001-03-13 16:19:38
|
And, besides Jeff's solution which works in the template only and not inside the content, use this hack below. This enables these special page macros. But jeff already had better ideas for these kinds of dynamic content, With dynamic extendable %%extension attribute=value ...%% markup. See http://phpwiki.sourceforge.net/phpwiki/index.php?MagicPages Add this hack to lib/stdlib.php: $transform->register(WT_SIMPLE_MARKUP, 'wtm_mostpopular'); // Bretin hack $transform->register(WT_SIMPLE_MARKUP, 'wtm_currentdate'); $transform->register(WT_SIMPLE_MARKUP, 'wtm_currentdatetime'); ... // Bretin hack // wiki token: %%CurrentDate%% function wtm_currentdate($line, &$transformer) { if (strpos($line, '%%CurrentDate%%') !== false) { $html = date($dateformat); $line = str_replace('%%CurrentDate%%', $html, $line); } return $line; } // wiki token: %%CurrentDateTime%% function wtm_currentdatetime($line, &$transformer) { if (strpos($line, '%%CurrentDateTime%%') !== false) { $html = date($datetimeformat); $line = str_replace('%%CurrentDateTime%%', $html, $line); } return $line; } Didier Bretin schrieb: > I would like to display the current date in all my pages. I find how to > do this in php, but I can't find where I can add this in the lib/*.php files. > I have tried some changes but I go no solution. Can you help me ? Where I > can add the code for the date ? -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |
|
From: Jan N. <ja...@gn...> - 2001-03-13 16:12:49
|
Jeff Dairiki <da...@da...> writes:
> >Well, I'm running latest cvs, maybe that's 1.3.x.
>
> That said, I think if you upgrade to the latest CVS version your
> problem will go away. If it doesn't let us know.
Ok, this seems to have been fixed in the very latest ,v1.13 or 1.14.
However, now you get to see the page, but can't click on editpage:
http://appel.lilypond.org/new-wiki/?pointandclick
maybe I need to specify some Path or Serveraddress?
Which brings me to another question. I'm in the process of upgrading
the php code of the wiki, but what would be the easiest way to upgrade
the canned pages that come with the wiki (leaving the rest of the wiki
db intact, of course)? Esp.
http://appel.lilypond.org/new-wiki?releasenotes
would be good to have upgraded.
--
Jan Nieuwenhuizen <ja...@gn...> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org
|
|
From: Jeff D. <da...@da...> - 2001-03-13 15:57:59
|
> I would like to display the current date in all my pages. I find how to
>do this in php, but I can't find where I can add this in the lib/*.php files.
>I have tried some changes but I go no solution. Can you help me ? Where I
>can add the code for the date ?
Here's one way:
In lib/stdlib.php, in the function GeneratePage() at about line 478
(right after "_dotoken('LOGO', $logo, $page);") add a line like:
_dotoken('CURRENT_DATE', date($GLOBALS['dateformat']), $page);
Then, in the templates (e.g. templates/browse.html) you can use
the token ###CURRENT_DATE### which will be replaced by the current
date.
Jeff
|
|
From: Jeff D. <da...@da...> - 2001-03-13 15:50:04
|
>Well, I'm running latest cvs, maybe that's 1.3.x. Yes, the MAIN branch of the CVS is the development branch (1.3.x), which is currently in an alpha state and is not guaranteed to work. (If you want the latest of the 1.2.x code check out the code tagged 'cvs-1_2-branch' from the CVS.) That said, I think if you upgrade to the latest CVS version your problem will go away. If it doesn't let us know. Jeff |
|
From: Didier B. <db...@in...> - 2001-03-13 15:12:44
|
Hello,
I would like to display the current date in all my pages. I find how to
do this in php, but I can't find where I can add this in the lib/*.php files.
I have tried some changes but I go no solution. Can you help me ? Where I
can add the code for the date ?
Thanks
--
.------------------------------------------------.
.^. | Didier Bretin, France | db...@in... |
/V\ |-----------------------| www.informactis.com |
// \\ | `------------------------|
/( )\ | Visit: http://www.multimania.com/cieexcalibur/ |
^^-^^ `------------------------------------------------'
|
|
From: Jan N. <ja...@gn...> - 2001-03-13 09:03:10
|
Jon =C5slund <d9...@na...> writes: > > Yesterday I tried to upgrade to 1.2 from 1.1.7, but it seems that old > > urls, handily avoiding index.php3, index.php like: > >=20 > > http://appel.lilypond.org/wiki?pointandclick > >=20 > > don't work with 1.2: > >=20 > > http://appel.lilypond.org/new-wiki?pointandclick >=20 > Your new-wiki use a different addressing scheme than wiki. Yes, and I want to keep the old one too. > http://appel.lilypond.org/new-wiki/index.php/pointandclick >=20 > instead of: >=20 > http://appel.lilypond.org/wiki/index.php?pointandclick Yes, these work, but these are not in the current documentation. > No question mark. Pretty weird because I also run 1.2 at > http://www.d.kth.se/~d98-jas/prupwiki/ and I have the ?-addressing > scheme. Are you sure you run 1.2? Because you also have some kind of > cookie verification system which I don't have. Well, I'm running latest cvs, maybe that's 1.3.x. --=20 Jan Nieuwenhuizen <ja...@gn...> | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org |
|
From: <d9...@na...> - 2001-03-12 21:43:15
|
On Mon, Mar 12, 2001 at 07:03:14PM +0100, Jan Nieuwenhuizen wrote: > Hi, >=20 > Yesterday I tried to upgrade to 1.2 from 1.1.7, but it seems that old > urls, handily avoiding index.php3, index.php like: >=20 > http://appel.lilypond.org/wiki?pointandclick >=20 > don't work with 1.2: >=20 > http://appel.lilypond.org/new-wiki?pointandclick Your new-wiki use a different addressing scheme than wiki. http://appel.lilypond.org/new-wiki/index.php/pointandclick instead of: http://appel.lilypond.org/wiki/index.php?pointandclick No question mark. Pretty weird because I also run 1.2 at http://www.d.kth.se/~d98-jas/prupwiki/ and I have the ?-addressing scheme. Are you sure you run 1.2? Because you also have some kind of cookie verification system which I don't have. --=20 ___\ Jon =C5slund |
|
From: Jan N. <ja...@gn...> - 2001-03-12 18:01:25
|
Hi,
Yesterday I tried to upgrade to 1.2 from 1.1.7, but it seems that old
urls, handily avoiding index.php3, index.php like:
http://appel.lilypond.org/wiki?pointandclick
don't work with 1.2:
http://appel.lilypond.org/new-wiki?pointandclick
How do I fix this small but handy feature that we use all over our
documentation?
In 1.1.7, I had:
$ServerAddress = "http://appel.lilypond.org/wiki/";
and I played a bit with all the new defines that replace this,
but no luck.
Greetings,
Jan.
--
Jan Nieuwenhuizen <ja...@gn...> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org
|
|
From: Jeb B. <je...@oc...> - 2001-03-11 03:51:52
|
On Sat, Mar 10, 2001 at 03:16:04PM -0500, Steve Wainstead wrote: > > OK.. what DBM library comes with FreeBSD? This becomes my first suspect. > More to the point, support for what DBM library is compiled into PHP? I'm not sure, and don't know much about DBM libraries myself... Does phpinfo() tell you? I've put that up at: http://buyorganic.org/wiki/info.php > I am going offline for a while so I may not reply until later today. Me too. I will try to reproduce this again either tomorrow or monday, by restoring the zip backup or serialized page I took while it was happening. It should be possible, since it happened three times. Also, it didn't have anything to do with my being in admin mode in the example I gave, since I saw the page was deleted under regular mode earlier, and the version number was reset each time... Anyway, thanks again! -jeb -- Jeb Bateman... http://jeb.ocha.net |
|
From: Steve W. <sw...@pa...> - 2001-03-10 20:14:13
|
OK.. what DBM library comes with FreeBSD? This becomes my first suspect. More to the point, support for what DBM library is compiled into PHP? I am going offline for a while so I may not reply until later today. ~swain On Sat, 10 Mar 2001, Jeb Bateman wrote: > Steve Wainstead wrote: > > > On Fri, 9 Mar 2001, Jeff Dairiki wrote: > >> Eeek. > >> > >> Please tell us what backend (what type of database) you are using. > >> Also which OS and which version of PHP your server is running might > >> be of interest. > > > > I can see he's using the DBM library: > > Right. It's also running in PHP 3.0.18 Apache 1.3.12 module under > FreeBSD in an iServer Virtual Server environment. I have MySQL running > there also, so I could switch to that backend without much trouble... > > > I will try to reproduce this here on my box. > > Thanks.. There is one other clue I forgot to mention earlier. I found > that in this particular page, some unknown character had been introduced > in the place of the spaces near the beginning of lines. I copied this > into an email message to for future reference, but unfortunately I was > working in Netscape at the time (need to reboot into Linux), and think > it may have converted it to a newline in the process. Anyway, I have > two zip dumps of the database, and at least one of them should contain a > copy of the file with these characters present, if that would help(?) > > I'm pasting two example lines below, one with a space after the *, and > the other with the unknown character, which may have been introduced > when a user was confused by the edit conflict screen and ended up > copying the text into Word Perfect and back. I've turned > quote-printable encoding on in this message in case that character is > still after the second * below... > > * 52431 - 25 lbs - Maple Almond Granola (JebBateman) > * > 25743 - 2 cs - Reeds Premium Ginger Brew (1 - JebBateman, 1 - lyn) > > Regards, > -jeb > > > _______________________________________________ > Phpwiki-talk mailing list > Php...@li... > http://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: Jeb B. <je...@oc...> - 2001-03-10 19:53:28
|
Steve Wainstead wrote: > On Fri, 9 Mar 2001, Jeff Dairiki wrote: >> Eeek. >> >> Please tell us what backend (what type of database) you are using. >> Also which OS and which version of PHP your server is running might >> be of interest. > > I can see he's using the DBM library: Right. It's also running in PHP 3.0.18 Apache 1.3.12 module under FreeBSD in an iServer Virtual Server environment. I have MySQL running there also, so I could switch to that backend without much trouble... > I will try to reproduce this here on my box. Thanks.. There is one other clue I forgot to mention earlier. I found that in this particular page, some unknown character had been introduced in the place of the spaces near the beginning of lines. I copied this into an email message to for future reference, but unfortunately I was working in Netscape at the time (need to reboot into Linux), and think it may have converted it to a newline in the process. Anyway, I have two zip dumps of the database, and at least one of them should contain a copy of the file with these characters present, if that would help(?) I'm pasting two example lines below, one with a space after the *, and the other with the unknown character, which may have been introduced when a user was confused by the edit conflict screen and ended up copying the text into Word Perfect and back. I've turned quote-printable encoding on in this message in case that character is still after the second * below... * 52431 - 25 lbs - Maple Almond Granola (JebBateman) * 25743 - 2 cs - Reeds Premium Ginger Brew (1 - JebBateman, 1 - lyn) Regards, -jeb |