You are viewing Revision 5 of Discuss_Version_0.30_DevTrack

This page is registered as a special page, however you are viewing a previous revision of the page. As such, the special page function will not be triggered.

One thing I've changed is in DoMaintPurgeOldRevs(). Previously we relied on stat to get the file modification time, and use that to determine when to remove the old revision based on $PurgeArchives. However, along the way it was changed to check the internal ts variable instead. This is all well and good, however, it presents a unique problem. If you have a page that has been unmodified for a year, and a spammer comes along and spams it, assuming your $PurgeArchives was set to 2 weeks, the last good copy of the page will be purged immediately, leaving only the spammed version. By checking the file modification time instead, it will guarantee that you have a previously known good copy for at least $PurgeArchives time, regardless of how old that good copy was.

-- AaronGraves Wed Jul 31 16:29:38 UTC 2013 (69.4.28.21)


Aneuch will now show you the number of comments on a discussion page in the link to the discussion page.

-- AaronGraves Wed Jul 31 17:58:39 UTC 2013 (69.4.28.21)


Link behavior was changed in the Markup() sub. Now if you create a link to a page that does not exist, the name is displayed surrounded by brackets, and there is a question mark after the name, which links to the edit command for that page (i.e. ?do=edit;page=PageName). The title element says "Create page PageName".

-- AaronGraves Thu Aug 1 15:12:51 UTC 2013 (69.4.28.21)


Categories can be implemented in a rudimentary way. The way I've done it on this site so far is to put the word "Category", followed by the category name, at the bottom of each page in that category (for example, "CategoryTest"). If you then search for "CategoryTest", you will see every page with that tag on it.

While it's not perfect, it's something that's available. Ultimately I'd like to make it better than this, similar to MediaWiki.

-- AaronGraves Thu Aug 1 15:16:08 UTC 2013 (69.4.28.21)


I updated Aneuch to use the environment variable PATH_INFO, which allows you to have URLs similar to http://www.mysite.com/aneuch.pl/HomePage. This does not require a change in the .htaccess file, however I have updated the htaccess.dist file which will be included in future tarballs.

-- AaronGraves Thu Aug 1 23:14:11 UTC 2013 (174.74.32.92)