Item2161: Some WebPreferences topics still refer to TWikiAccessControl etc.

pencil
Priority: Normal
Current State: Closed
Released In:
Target Release: n/a
Applies To: Web Site
Component:
Branches:
Reported By: EliotBlennerhassett
Waiting For: Main.OlivierRaginel
Last Change By: OlivierRaginel
Most of the webs on this site mention TWikiAccessControl, TWikiAdminGroup, TWikiForms, TWikiLogos on their WebPreferences page.

For instance Home or Search for others...

I think these should be changed to System.AccessControl, Main.AdminGroup, System.DataForms respectively ??

(I'd do it myself if I had sufficient privileges)


As I'm lazy, I used perl:
perl -i.twiki -ple 'BEGIN{@ARGV=grep{!/^(?:Legacy|TWiki)/}@ARGV}s/TWiki(AccessControl|AdminGroup|SiteTools|WebLinks)/$1/g;s/TWikiForms/DataForms/g;s/TWikiPreferences/SitePreferences/g;s/TWiki(Logos|Contributor)/Project$1/g;s/T(WikiGuest)/$1/g;s/%TWIKIWEB%/System/g;s/TWiki(Registration)/User$1/g;s/TWikiDocumentation/CompleteDocumentation/g;print STDERR "$ARGV:$. $_" if /TWiki/i' */Web*.txt 2>&1|grep --color -i twiki

I leave the command here as it might be useful for somebody upgrading from TWiki.

One may remove the .twiki once confirmed I haven't screwed anything up (checked, but...)

-- OlivierRaginel - 06 Oct 2009

Hi Olivier - I'm not sure if your perl magic extended to the subwebs of International? e.g. http://foswiki.org/International/DE/WebPreferences

-- EliotBlennerhassett - 07 Oct 2009

No, indeed, it did not process the sub-webs. I've just ran the command again with =*/*/Web*.txt+ so they should be fine now.

-- OlivierRaginel - 07 Oct 2009

ItemTemplate edit

Summary Some WebPreferences topics still refer to TWikiAccessControl etc.
ReportedBy EliotBlennerhassett
Codebase
SVN Range Foswiki-1.0.7, Sun, 20 Sep 2009, build 5061
AppliesTo Web Site
Component
Priority Normal
CurrentState Closed
WaitingFor OlivierRaginel
Checkins
TargetRelease n/a
ReleasedIn
Topic revision: r5 - 07 Oct 2009, OlivierRaginel
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