Log in

View Full Version : Richard: removal of empty wiki pages


Wilbert
30th December 2003, 18:00
Alsair, BlindWanderer and I were discussing the deletion of empty wiki-pages like this one:

http://www.avisynth.org/index.php?page=Section+3%3A+Filters+and+colorspaces

It's there (and empty) for many months. Apperently there should be an expiration period of two weeks:

http://tavi.sourceforge.net/ExpirationPeriod


Therefore, WikkiTikkiTavi normally expires these old versions when they get beyond a certain age. This is configured by the $ExpireLen configuration variable in lib/defaults.php. By default, the expiration period is set to 14 days. This means that, once an old version has been kept for 14 days, it will be deleted.

If all of a page's old versions have expired, and the page itself is empty, then the page is deleted from the database altogether. (See HowToDeletePages for more details.)

$ExpireLen may be set to 0. In this case, old versions will never be expired, and empty pages will never be deleted. Again, this is not recommended unless considerations such as business process demand it.


Richard, could you check whether it is set to 14 days? Because it seems that empty pages are not removed.

BlindWanderer
30th December 2003, 21:19
i only added a comment to it because i fixed all links going to it. I didn't know that files timed out.

Richard Berg
31st December 2003, 18:02
As far as I can tell, version 0.22 of 'Tavi doesn't have this feature. I haven't had reason to upgrade it lately, but if you think this is needed I can do so.

Edit: on their website I see a new version came out recently that finally allows sane markup! (no more counting '''s) Since it's not in their documentation yet, here's a quick reference: **bold**, //italic//, ,,subscript,, ^^superscript^^, ++insertions++, --deletions-- I will upgrade as soon as I get the chance.

I see they also use our German flags, even using our server to host the image...thankfully we have bandwidth to spare :)

Wilbert
31st December 2003, 18:07
Edit: on their website I see a new version came out recently that finally allows sane markup! (no more counting '''s) Since it's not in their documentation yet, here's a quick reference: **bold**, //italic//, ,,subscript,, ^^superscript^^, ++insertions++, --deletions-- I will upgrade as soon as I get the chance.
Great!

Richard Berg
31st December 2003, 18:56
Ok, that was painless. New version is installed, with expiration set to 14 days. I tested the new syntax and it works great...not sure how often the expiration runs but we'll see soon enough whether it's working.

BlindWanderer
3rd January 2004, 04:08
there is a warning posted at the top of all edit pages...

Warning: Missing argument 1 for html_toolbar_top() in /home/avisynt/tavi/tavi-0.25/parse/html.php on line 350

arlsair
3rd January 2004, 12:49
Originally posted by Richard Berg
I see they also use our German flags, even using our server to host the image...thankfully we have bandwidth to spare :)
That was me. I translated the command summary we link to and leave it on there wiki, so more german people can see it and read it.

Richard Berg
4th January 2004, 11:44
On that note, I went and added the new options from http://tavi.sourceforge.net/TaviPatches/TextEnhance onto the page we link to.

I'll look into the html_toolbar bug when I get back.