<br><br><div class="gmail_quote">On Tue, Jun 17, 2008 at 6:44 PM, <a href="mailto:kirpi@kirpi.it">kirpi@kirpi.it</a> &lt;<a href="mailto:kirpi@kirpi.it">kirpi@kirpi.it</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
It seems to me that the real issue is not switching from GroupA.PageA<br>
to GroupB.PageB but keep an eye and update any and every link,<br>
reference, GroupA.PageA.php file and so on which is resident on the<br>
wiki install, at any level.<br>
The change should happen also inside any document of the wiki.<br>
</blockquote><div><br>One option:<br><br>===(snip)===<br>for i in BBaCommunity.*<br>do<br>
&nbsp;&nbsp; mv ${i} ${i#BBa}<br>&nbsp;&nbsp; echo &quot;(:redirect ${i##BBa}:)&quot; &gt;${i}<br>done&nbsp;</div></div>===(snip)===<br><br>That will leave a (:redirect Community.PageA:) as the only source in BBaCommunity.PageA.<br><br>Another option is the WikiSh script I have in <a href="http://www.pmwiki.org/wiki/Cookbook/WikiShExamples#RenamePage">http://www.pmwiki.org/wiki/Cookbook/WikiShExamples#RenamePage</a> to rename pages, but it is unnecessarily complicated in its current state (it can probably be cut down to 30% of it&#39;s current length).&nbsp; If you&#39;re likely to use it let me know off-list and I&#39;ll re-code it using the new session capabilities in WikiSh and put it back up there...<br>
<br>There&#39;s also <a href="http://www.pmwiki.org/wiki/Cookbook/RenamePage">http://www.pmwiki.org/wiki/Cookbook/RenamePage</a> which has capability of listing all links in a sidelink or something so you can go in and manually fix them.&nbsp; I haven&#39;t used it, but it is definitely more &quot;pmwiki&quot; in its approach.<br>
<br>-Peter<br>