XMLTagsEditHistoryDiscussion

Introduction

The edit-question svnwiki extension was designed to stop automated attempts to add content to a wiki through svnwiki, in order to avoid spam. It contains a set of types of questions that are easy for a human to answer but, hopefully, difficult for a computer to answer.

Right now it contains only of one of question that is indeed easy for a computer to answer. However, it seems to be sufficient to stop all spamming attacks against svnwiki wikis that we are aware of. If your wiki gets attacked by a program (as opposed to a human manually adding spam), contact us and we will work with you to add more complex questions.

Requirements

The edit-question extension depends on functionality that was recently added to svnwiki. You must be running revision 9351 or later.

Installing the extension

Right now the extension can be downloaded from:

The edit-question.scm file should be placed in the extensions subdirectory of your DATA-PATH (that you used when creating your wiki).

Enabling the extension

To enable the extension, simply add the name of the type of question that you want to enable to the svnwiki:handler property of the directory where you stored it wiki. Right now you can only use edit-question-arithmetic but we might add other types of questions in the future.

So, go into a directory with a checked-out copy of your repository and do:

svn ps svnwiki:handler "edit-question-arithmetic" .

Note that this assumes your svnwiki:handler doesn't already have other information. If it does, you want to add edit-question-arithmetic to it (instead of overwriting whatever it had). Commit your repository and you should be done.

Last update: 2007-11-17 (Rev 13138)

svnwiki $Rev: 12966 $