It is possible to create pages in UseMod 1.0 that can not be edited if FreeLinks are enabled. See the bug report at WikiBugs/PossibleToCreatePagesThatCanNotBeEdited for more details. This patch fixes the bug described in that report.
--- wiki.pl 2004-11-16 02:46:05.000000000 -0800 +++ wiki-uneditablefix.pl 2004-11-28 08:57:30.000000000 -0800 @@ -3896,6 +3896,10 @@ my $editTime = $Now; my $authorAddr = $ENV{REMOTE_ADDR}; + #Bug fix: the following three lines fix the "uneditable page" bug + if ($FreeLinks) { + $id = &FreeToNormal($id); + } if (!&UserCanEdit($id, 1)) { # This is an internal interface--we don't need to explain &ReportError(Ts('Editing not allowed for %s.', $id));
*** wiki.pl 2004-11-16 02:46:05.000000000 -0800 --- wiki-uneditablefix.pl 2004-11-28 08:57:30.000000000 -0800 *************** *** 3896,3901 **** --- 3896,3905 ---- my $editTime = $Now; my $authorAddr = $ENV{REMOTE_ADDR}; + #Bug fix: the following three lines fix the "uneditable page" bug + if ($FreeLinks) { + $id = &FreeToNormal($id); + } if (!&UserCanEdit($id, 1)) { # This is an internal interface--we don't need to explain &ReportError(Ts('Editing not allowed for %s.', $id));
-- RichardP