Fixed a bug: PRE tags now behave as expected -- that is, they turn off the WikiRenderer between them. Before, they would behave erratically (line-oriented).
Posted a bug: _WikiLink does not link. Should it? _WikiLink_ does not link, but does emphasize. Is this the `expected behaviour'? Similarly, WikiLink_ does link, but not the underscore: is that `expected'? Finally, _WikiLink_Underscores_ does not link or emphasize: is that `expected'? Thanks for your feedback.
-jQuinn
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Changed the semantics of {include} slightly, so that you need {...://...} to make it fire. This should make it easier to use curly braces on the same line :)
Finished up the statistics display code. Added a script, 'zero-statistics.php', so you can zero out the statistics, should you happen to want to at some point. /Only/ the topics page displays current/last-year (not actually total) views. The statistics are stored in their own table, so you'll have to run ./gen-table.php3 to get started after the cvs update. Because it would Really Painful (or because I'm missing something terribly obvious) to do 14-month tracking (last 12, current, total), I only do 12-month tracking, displaying the current month and the sum of all twelve. If this is a big problem, let me know, and I'll try to look up the Right Way to do things.
-jQuinn
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
As for emphasis, I don't have much opinion. Except that I vagly recall a problem with #comma#, or some such, when the second # is followed by punctuation rather than whitespace. But perhaps it was something else.
Meanwhile, we tried using our new product, JXWeb, on sfWiki, but Tidy doesn't like your site, so we're stumped.
Bill
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yeah, those troughs in the middle just don't look right, do they? I'll go try and fetch tidy and clean up sfWiki right now, actually. Thanks for the reminder.
-jQuinn
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well, I tidied the index page, except for the accessability warnings and the &... is not an entity spewage. Apparently tidy isn't all that good at picking out PHP. I'll try d/l'ing JxWeb (later :)) and playing with it to see what the problems actually are.
-jQuinn
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
As for emphasis, I don't have much opinion. Except that I vagly recall a problem with #comma#, or some such, when the second # is followed by punctuation rather than whitespace. But perhaps it was something else.
Meanwhile, we tried using our new product, JXWeb, on sfWiki, but Tidy doesn't like your site, so we're stumped.
Bill
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
cvs server: Updating .
P CHANGELOG
U TODO
P gen-table.php3
U zero-stats.php3
cvs server: Updating htdocs
P htdocs/edit.php
M htdocs/index.php
cvs server: Updating import
P import/WikiFormat.txt
cvs server: Updating portal
cvs server: Updating portal/example
P portal/example/site.inc
cvs server: Updating portal/htdocs
cvs server: Updating portal/htdocs/wiki
P portal/htdocs/wiki/ChangesBody.ihtml
P portal/htdocs/wiki/EditBody.ihtml
P portal/htdocs/wiki/HubsNodesBody.ihtml
P portal/htdocs/wiki/InfoBody.ihtml
P portal/htdocs/wiki/OrphansBody.ihtml
P portal/htdocs/wiki/TopicBody.ihtml
P portal/htdocs/wiki/database.inc
P portal/htdocs/wiki/edit.inc
M portal/htdocs/wiki/success.ihtml
P portal/htdocs/wiki/table.inc
P portal/htdocs/wiki/view.inc
Then here's the gen-table:
blaforge@usw-pr-shell2:/home/groups/q/qu/quickutil/sfWiki$ ./gen-table.php3
Table 'db' already exists
Table 'dbsession' already exists
Table 'dbuser' already exists
You have an error in your SQL syntax near '( topic VARCHAR(255) PRIMARY KEY, m01
MEDIUMINT DEFAULT 0, m02 MEDIUMINT DEFAULT' at line 1
Now here's what's coming out of the wiki wiki on the topics page:
Viewing topics 1 to 100 out of 232 in all webs. next
topics in Main views last edit summary
AKumar [info] (orphan)
Warning: Supplied argument is not a valid MySQL result resource in /home/groups/q/qu/quickutil/sfWiki/portal/htdocs/wiki/table.inc on line 54
/0 2001-04-11 07:04:20 AKumar's page
API [info]
Warning: Supplied argument is not a valid MySQL result resource in /home/groups/q/qu/quickutil/sfWiki/portal/htdocs/wiki/table.inc on line 54
/0 2001-04-12 04:17:46 Application Program Interface
AsTiwari [info] (orphan)
Warning: Supplied argument is not a valid MySQL result resource in /home/groups/q/qu/quickutil/sfWiki/portal/htdocs/wiki/table.inc on line 54
/0 2001-04-12 21:51:43 Personal page for Ashish Tiwari
BillLaForge [info]
Warning: Supplied argument is not a valid MySQL result resource in /home/groups/q/qu/quickutil/sfWiki/portal/htdocs/wiki/table.inc on line 54
/0 2001-04-29 23:17:26 Author of jxquick
Books [info]
Warning: Supplied argument is not a valid MySQL result resource in /home/groups/q/qu/quickutil/sfWiki/portal/htdocs/wiki/table.inc on line 54
/0 2001-04-23 23:18:13 A first example using jxquick
BookStep1 [info]
Warning: Supplied argument is not a valid MySQL result resource in /home/groups/q/qu/quickutil/sfWiki/portal/htdocs/wiki/table.inc on line 54
B-(
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm sorry about that. I forgot the important part of the update instructions! (Note to self -- don't tell blaforge to do /anything/ after two in the morning. :)) In site.inc, add the line
$_SITE["stattable"] = "whatever";
and re-run ./gen-table.php3. Again, my apologies.
-_Quinn
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
blaforge@usw-pr-shell2:/home/groups/q/qu/quickutil/sfWiki$ ./gen-table.php3
Table 'db' already exists
Table 'dbsession' already exists
Table 'dbuser' already exists
You have an error in your SQL syntax near '( topic VARCHAR(255) PRIMARY KEY, m01
MEDIUMINT DEFAULT 0, m02 MEDIUMINT DEFAULT' at line 1
And I get the same errors on the topics page.
B-((((((((((((
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry for being so dense, but (a) I'm working with 6 other folks on-site, plus an electrition and his helper are here today and (b) making changes is slow (cat, paste, edit, cat>, paste). So I don't even think of experimenting. And (c) I really don't want to mess up our wiki!!!
I fixed it for you; apparently I didn't jigger gen-tables.php3 quite right, and you have to run zero-stats.php3 before anything works. *sigh* I'll remember to check things like this next time, honest. :) Thanks for sticking with me.
-jQuinn
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Fixed a bug: PRE tags now behave as expected -- that is, they turn off the WikiRenderer between them. Before, they would behave erratically (line-oriented).
Posted a bug: _WikiLink does not link. Should it? _WikiLink_ does not link, but does emphasize. Is this the `expected behaviour'? Similarly, WikiLink_ does link, but not the underscore: is that `expected'? Finally, _WikiLink_Underscores_ does not link or emphasize: is that `expected'? Thanks for your feedback.
-jQuinn
Implemented the `who edited those recent chagnes' feature request; editors are linked to their WikiName.
-jQuinn
Changed the semantics of {include} slightly, so that you need {...://...} to make it fire. This should make it easier to use curly braces on the same line :)
Finished up the statistics display code. Added a script, 'zero-statistics.php', so you can zero out the statistics, should you happen to want to at some point. /Only/ the topics page displays current/last-year (not actually total) views. The statistics are stored in their own table, so you'll have to run ./gen-table.php3 to get started after the cvs update. Because it would Really Painful (or because I'm missing something terribly obvious) to do 14-month tracking (last 12, current, total), I only do 12-month tracking, displaying the current month and the sum of all twelve. If this is a big problem, let me know, and I'll try to look up the Right Way to do things.
-jQuinn
JQ,
Its good to hear from you after so long! I am looking forward to installing the new release in all its statistical glory!!!
Speaking of statistics, we're doing ok. 234 topic pages. Hit counts have been irregular. http://sourceforge.net/project/stats/index.php?report=last_30&group_id=9261 Sourceforge just not collect statistics consistently. So it will be very nice to be able to generate our own.
As for emphasis, I don't have much opinion. Except that I vagly recall a problem with #comma#, or some such, when the second # is followed by punctuation rather than whitespace. But perhaps it was something else.
Meanwhile, we tried using our new product, JXWeb, on sfWiki, but Tidy doesn't like your site, so we're stumped.
Bill
Yeah, those troughs in the middle just don't look right, do they? I'll go try and fetch tidy and clean up sfWiki right now, actually. Thanks for the reminder.
-jQuinn
Well, I tidied the index page, except for the accessability warnings and the &... is not an entity spewage. Apparently tidy isn't all that good at picking out PHP. I'll try d/l'ing JxWeb (later :)) and playing with it to see what the problems actually are.
-jQuinn
JQ,
Its good to hear from you after so long! I am looking forward to installing the new release in all its statistical glory!!!
Speaking of statistics, we're doing ok. 234 topic pages. Hit counts have been irregular. http://sourceforge.net/project/stats/index.php?report=last_30&group_id=9261 Sourceforge just not collect statistics consistently. So it will be very nice to be able to generate our own.
As for emphasis, I don't have much opinion. Except that I vagly recall a problem with #comma#, or some such, when the second # is followed by punctuation rather than whitespace. But perhaps it was something else.
Meanwhile, we tried using our new product, JXWeb, on sfWiki, but Tidy doesn't like your site, so we're stumped.
Bill
I've got some real problems now!
Here's the update:
cvs server: Updating .
P CHANGELOG
U TODO
P gen-table.php3
U zero-stats.php3
cvs server: Updating htdocs
P htdocs/edit.php
M htdocs/index.php
cvs server: Updating import
P import/WikiFormat.txt
cvs server: Updating portal
cvs server: Updating portal/example
P portal/example/site.inc
cvs server: Updating portal/htdocs
cvs server: Updating portal/htdocs/wiki
P portal/htdocs/wiki/ChangesBody.ihtml
P portal/htdocs/wiki/EditBody.ihtml
P portal/htdocs/wiki/HubsNodesBody.ihtml
P portal/htdocs/wiki/InfoBody.ihtml
P portal/htdocs/wiki/OrphansBody.ihtml
P portal/htdocs/wiki/TopicBody.ihtml
P portal/htdocs/wiki/database.inc
P portal/htdocs/wiki/edit.inc
M portal/htdocs/wiki/success.ihtml
P portal/htdocs/wiki/table.inc
P portal/htdocs/wiki/view.inc
Then here's the gen-table:
blaforge@usw-pr-shell2:/home/groups/q/qu/quickutil/sfWiki$ ./gen-table.php3
Table 'db' already exists
Table 'dbsession' already exists
Table 'dbuser' already exists
You have an error in your SQL syntax near '( topic VARCHAR(255) PRIMARY KEY, m01
MEDIUMINT DEFAULT 0, m02 MEDIUMINT DEFAULT' at line 1
Now here's what's coming out of the wiki wiki on the topics page:
Viewing topics 1 to 100 out of 232 in all webs. next
topics in Main views last edit summary
AKumar [info] (orphan)
Warning: Supplied argument is not a valid MySQL result resource in /home/groups/q/qu/quickutil/sfWiki/portal/htdocs/wiki/table.inc on line 54
/0 2001-04-11 07:04:20 AKumar's page
API [info]
Warning: Supplied argument is not a valid MySQL result resource in /home/groups/q/qu/quickutil/sfWiki/portal/htdocs/wiki/table.inc on line 54
/0 2001-04-12 04:17:46 Application Program Interface
AsTiwari [info] (orphan)
Warning: Supplied argument is not a valid MySQL result resource in /home/groups/q/qu/quickutil/sfWiki/portal/htdocs/wiki/table.inc on line 54
/0 2001-04-12 21:51:43 Personal page for Ashish Tiwari
BillLaForge [info]
Warning: Supplied argument is not a valid MySQL result resource in /home/groups/q/qu/quickutil/sfWiki/portal/htdocs/wiki/table.inc on line 54
/0 2001-04-29 23:17:26 Author of jxquick
Books [info]
Warning: Supplied argument is not a valid MySQL result resource in /home/groups/q/qu/quickutil/sfWiki/portal/htdocs/wiki/table.inc on line 54
/0 2001-04-23 23:18:13 A first example using jxquick
BookStep1 [info]
Warning: Supplied argument is not a valid MySQL result resource in /home/groups/q/qu/quickutil/sfWiki/portal/htdocs/wiki/table.inc on line 54
B-(
I'm sorry about that. I forgot the important part of the update instructions! (Note to self -- don't tell blaforge to do /anything/ after two in the morning. :)) In site.inc, add the line
$_SITE["stattable"] = "whatever";
and re-run ./gen-table.php3. Again, my apologies.
-_Quinn
More problems, or are they the same?
I've updated site.inc...
$_SITE["database"] = "quickutil";
$_SITE["dbtable"] = "db";
$_SITE["dbsessiontable"] = "dbsession";
$_SITE["dbusertable"] = "dbuser";
$_SITE["stattable"]="stattable";
but then I get that sql error again...
blaforge@usw-pr-shell2:/home/groups/q/qu/quickutil/sfWiki$ ./gen-table.php3
Table 'db' already exists
Table 'dbsession' already exists
Table 'dbuser' already exists
You have an error in your SQL syntax near '( topic VARCHAR(255) PRIMARY KEY, m01
MEDIUMINT DEFAULT 0, m02 MEDIUMINT DEFAULT' at line 1
And I get the same errors on the topics page.
B-((((((((((((
*grumble* Doble sorry. Change "stattable" to "dbstattable". *grumble, mumble*
-jQuinn
Sorry for being so dense, but (a) I'm working with 6 other folks on-site, plus an electrition and his helper are here today and (b) making changes is slow (cat, paste, edit, cat>, paste). So I don't even think of experimenting. And (c) I really don't want to mess up our wiki!!!
OK, I'm getting 0's now. Accessing pages doesn't change that. Now what???
Bill
I fixed it for you; apparently I didn't jigger gen-tables.php3 quite right, and you have to run zero-stats.php3 before anything works. *sigh* I'll remember to check things like this next time, honest. :) Thanks for sticking with me.
-jQuinn