Revision [16786]
This is an old revision of PreventLongTags made by CesLig on 2007-05-31 10:48:12.
VeryLongTagWhichConfusesWakkaWikiBecauseOnlyPartsOfItWillBeStoredInThePagesTable - if this link looks strange to you, try out how strange it looks to wakkawiki ;)
this mod takes care that wakkawiki will not be fed with tags that are too long for saving. this only occurs to "new" pages, because any existing page has a tag that fits in the database. since such new pages call the edit-method, we'll put our stuff there.
we need a mechanism to chose a new (shorter) tag which will be postet as an input-field called "newtag". if the editor receives such a field, it should redirect to newtag/edit.
let's do this redirect first. insert at the top of the method edit.php after the first if-clause
if ($this->HasAccess("write")