cross
If this topic has been moved (deleted) from another web, here is the pertinent information and link to move it back:
You are here: Foswiki>Tasks Web>Item2927 (16 Mar 2011, GeorgeClark)Edit Attach

Following up recent round of discussions in TWiki:Codev.TopicMovedMessageTooVisible, I'm moving towards implementing this small change. I'll leave my specs here for a few days before implementing for further comments.

The specific change I'm proposing is to remove the following text from line 84 of view.pattern.tmpl which is part of topicinfo template definition:
<div class="patternMoved">%META{"moved"}%</div>

I will also add the following "banner" definition for the Trash web that displays the "moved" meta info to facilitate moving a topic back out of Trash:
   * Broadcast message: _This broadcast message is specifically designed for the Trash web to make it easy to un-delete topics._
      * Set BROADCASTMESSAGE = <div class="twikiBroadcastMessage">If this topic has been moved (deleted) from another web, here is the pertinent information and link to move it back: %BR% %META{"moved"}%</div>

Peter also wanted to add a message to the "More topic actions" screen. I'll let him add some specs here for that if desired and I carry it through.

LB

There is agreement that the "topic moved" is removed from the view template.

But not that we now only have it as a banner in the trash web. If someone moves a topic from WEBA to WEBB we still need to be able to move it back. Peter suggested the feature moved to the "More topic actions" page. I have proposed having the link in the history. Both methods will allow moving the a topic back no matter where a vandal has moved it to. I have a number of times had to move a topic back that some punk has moved just for the fun of it and I know Peter does it often on twiki.org so it is a function we do not want to loose. But we still agree that the "moved" message is too visible in the topic itself.

KJL

This is not a bug, it's an enhancement. Further, it's specific to skins.

CC

The proposal in TWiki:Codev/TopicMovedMessageTooVisible is to put the "moved" messages + "put it back" links into the revision history. I have updated the entry title to reflect this.

Also this is not purely about skins.

Main problem is how to store the "moved" action to make it show up in the history. Knowing that there may be multiple renames for one topic.

AC


This was implemented. Topic moved is now part of the More Actions template. Setting to No Action.

-- GeorgeClark - 16 Mar 2011

ItemTemplate edit

Summary Move "topic moved" message from view template to revision history
ReportedBy TWiki:Main.LynnwoodBrown
Codebase
SVN Range TWiki-4.1, Sat, 23 Sep 2006, build 11571
AppliesTo Engine
Component
Priority Enhancement
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
Topic revision: r6 - 16 Mar 2011, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy