For that matter, you could also make it a command and add it right to
the form in the rename action. That would be nifty!

Still, I think it should be a plugin though.

Cheers,
Dan


On Tue, Sep 29, 2009 at 5:12 PM, The Editor <[email protected]> wrote:
> On Tue, Sep 29, 2009 at 4:39 PM, Markus <[email protected]> wrote:
>>
>> Yes, Kevin.
>>
>> And wouldn't it be nice if action.rename would set all backlinks to
>> the new page name? But then the question is how to handle the link
>> description, probably one shouldn't. Still an outdated link
>> description is less of an issue than corrupted links.
>
> You can do this to either by simply adding {p} into the action forms.
> I haven't put these into the default distribution as it may not always
> be the desired effect.
>
> As for resetting links--that could be a problem. I'd suggest a plugin
> be developed which could do this...  I'm thinking do
>
> [(search link=oldlink new=newlink template=rename)]
>
> [[#rename]]
> [(renamelink {+p} $link $newlink)]
> [[#end]]
>
> The custom function would simply open the page and do a careful
> pre_replace on the link (as in /(\[\[$link([\||\]]))/ ) and then
> resave the new content.  It would depend on accurate indexing of
> course.
>
> Anyone care to take a stab at it?  I'm a little snowed under.
>
> Cheers,
> Dan
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to