[Home]WikiBugs/SkipMigratingParameterLock

UseModWiki | WikiBugs | RecentChanges | Preferences

Fixed in 1.0.6 --MarkusLude
Thanks! --JuanmaMP


Rename pages doesn't rename file ".lck"

The Patch

sub RenamePage {
...
unlink($newkeep)  if (-f $newkeep);  # Clean up if needed.
  rename($oldkeep,  $newkeep);
  unlink($IndexFile)  if ($UseIndex);
+ my ($oldlock, $newlock);
+ $oldlock = &GetLockedPageFile($old);
+ if (-f $oldlock) {
  + $newlock = &GetLockedPageFile($new);
  +rename($oldlock, $newlock);
  + }
Thank to the great UseModKr script (and my comparative study on the best of both worlds)!

--JuanmaMP


UseModWiki | WikiBugs | RecentChanges | Preferences
Edit text of this page | View other revisions | Search MetaWiki
Last edited October 21, 2022 11:59 pm by MarkusLude (diff)
Search: