Log In
or
Register
TWiki Web
Users
Groups
Index
Search
Changes
Notifications
Statistics
Preferences
User Reference
ATasteOfTWiki
TextFormattingRules
TWikiVariables
FormattedSearch
TWikiDocGraphics
TWikiSkinBrowser
InstalledPlugins
Admin Maintenance
Reference Manual
AdminToolsCategory
InterWikis
ManagingWebs
TWikiSiteTools
TWikiPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Webs
Afp
Afp0304
Afp0405
Afp0506
Afp0607
AfpBadCopy
AfscheidDoaitseSwierstra
Alexey
Aop
Apa
Apa0506
ArieMiddelkoop
Atze
B3so
Bachelor
Bookmarks
Buildfarm
CSMaster
Cco
Center
DTP
Dos
Ehc
Eifl
Esdx
ExamCommitteeSciences
ExamenCommissie
FOO
FP
FPDag2012
FPLC
Fosa
GP
GamesAndVirtualWorlds
Gavw
GenericProgramming
Gnp
Gw
HUT
Hage
HaskellResources
Helium
HerzieningBachelorInformatica
Hpc
Hpc02
IFIP21
IFL
IFL2010
IPA2013
IS
ISS
Ipt
Ist
MSO
MTCH
Main
Martin
Master
Intern
MasterProgramComputingScience
Merijn
MethodEngineering
Mso1011
No
OWMT
OacBaICA
OacBaIKU
OacMastersCs
Odc
ProgrammingEnvironments
PrologJCU
Proxima
klad
Pt
Pt03
Pt04
Pv
Sandbox
SemanticWeb
Sgc
Sgc04
Spm
Stc
StrictnessAnalysisJFC
Students
Swa
Swe
Swe03
Swe04
Swe05
Swe0607
Sws
TC
TFP2014
TS
TS0506
TWiki
Tbpa
Techno
TechnologyForTeaching
Toetsing
TomVanDerWeide
Top
Trace
Trash
Ts
UHC
USCS
USCS2009
USCS2010
USCS2011
Uhc
Vermaas
Visser
VrouwenEnICT
WP
WebFunctions
WiskundeBDeficientie
WorkingConferenceProgramTransformation
Xagp
ZZZ
Center
Home
Courses
People
Projects
Page
Edit Page
Rename Page
Attach File
Printable
Wiki Source
More ...
Web
Recent Changes
Notify Service
News
?
Page Index
Search
More ...
Wiki
About TWiki
Text Formatting
Registration
Change Password
Reset Password
Users
Groups
Log In
or
Register
TWiki UIManage Dot Pm
TWiki
---+ Package =TWiki::UI::Manage= UI functions for web, topic and user management %TOC% ---++ StaticMethod *manage* <tt>($session)</tt> =manage= command handler. This method is designed to be invoked via the =TWiki::UI::run= method. ---++ StaticMethod *rename* <tt>($session)</tt> =rename= command handler. This method is designed to be invoked via the =TWiki::UI::run= method. Rename the given topic. Details of the new topic name are passed in CGI parameters: | =skin= | skin(s) to use | | =newweb= | new web name | | =newtopic= | new topic name | | =breaklock= | | | =attachment= | | | =confirm= | if defined, requires a second level of confirmation | | =currentwebonly= | if defined, searches current web only for links to this topic | | =nonwikiword= | if defined, a non-wikiword is acceptable for the new topic name | ---++ StaticMethod *move* <tt>($session,$oldWeb,$oldTopic,$newWeb,$newTopic,$attachment,\@refs)</tt> Move the given topic, or an attachment in the topic, correcting refs to the topic in the topic itself, and in the list of topics (specified as web.topic pairs) in the \@refs array. * =$session= - reference to session object * =$oldWeb= - name of old web - must be untained * =$oldTopic= - name of old topic - must be untained * =$newWeb= - name of new web - must be untained * =$newTopic= - name of new topic - must be untained * =$attachment= - name of the attachment to move (from oldtopic to newtopic) (undef to move the topic) - must be untaineted * =\@refs= - array of webg.topics that must have refs to this topic converted Will throw TWiki::OopsException or TWiki::AccessControlException on an error. ---++ StaticMethod *getReferringTopics* <tt>($session,$web,$topic,$allWebs) -> \%matches</tt> * =$session= - the session * =$web= - web to search for * =$topic= - topic to search for * =$allWebs= - 0 to search $web only. 1 to search all webs _except_ $web. Returns a hash that maps the web.topic name to a summary of the lines that matched. Will _not_ return $web.$topic in the list