This Plugin assists in the management of topics within a TWiki web by locating orphaned topics (topics that have no parent, or their parent has been deleted).
Orphaned topics are displayed in a table, optionally with a reference count. Example:
Action | Lost Topic![]() |
References | Referees |
---|---|---|---|
delete | JamesSawyer | 42 | TheHidden, TheOthers, TheFaithful |
delete | JohnLocke | 4 | TheFaithless |
delete | KateAusten | 15 | JackShepherd, JamesSawyer |
delete | MichaelDawson | 23 | TheOthers, TheIrritating |
delete | SayidJarrah | 8 | HugoReyes. FrenchChick |
delete | WaltLloyd | 16 | MichaelDawson, TheLost |
The plugin is used from a page in the TWiki web, ManageOrphanedPages. Normally you should be able to get away with just this topic, though you can use the plugin from any topic in any web if you want to.
Write %FINDORPHANS{ parameters }%
anywhere in a topic.
Supported parameters:
Parameter and Values | Description | Default |
---|---|---|
web="..." |
TWiki web to search | Current web "TWiki" |
allwebs="on" allwebs="off" |
Searches in all public webs for references to topic when detecting orphans | "off" |
allrefs="on" allrefs="off" |
Analyses count of references to each topic when searching for orphans, and includes them in the output table | "off" |
Example:
%FINDORPHANS{web="Myproject" allwebs="on" allrefs="off"}%
When the topic is viewed the Plugin will generate a table of topics in the selected web, with reference counts if you requested them, and an action link that allows you to delete the topic directly (prompts you to move it to the Trash web).
Notes 1 Before you can delete a topic, a final check for any topics that reference it is performed. If you searched in all webs, then the check also searches in all webs, but if you searched in the current web only, then only the current web is searched for confirmation. If you want to be absolutely sure that no useful references exist, always select allwebs.
You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server where TWiki is running.
Like many other TWiki extensions, this module is shipped with a fully automatic installer script written using the BuildContrib.
configure
interface (Go to Plugins->Find More Extensions) .zip
or .tgz
archives
perl <module>_installer
)
configure
and enable the module, if it is a plugin.
,v
files in your existing install (take care not to lock the files when you check in)
Many thanks to the following sponsors for supporting this work:
Plugin Author: | TWiki:Main.CrawfordCurrie![]() |
Copyright: | © 2004, Wind River; © 2004-2010, TWiki:TWiki/TWikiContributor ![]() |
License: | GPL (GNU General Public License![]() |
Plugin Version: | 18561 (2010-04-30) |
Change History: | |
2010-04-30: | TWikibug:Item6433![]() |
7 Sep 2007 | Bugs:Item4571 corrected noautolink handling, and hopefully improved UTF-8 handling as well |
11498 | Ported to TWiki-4 |
25 Mar 2004: | Initial version |
Dependencies: | None |
Perl Version: | 5.008 and up |
TWiki:Plugins/Benchmark![]() |
GoodStyle 99%, FormattedSearch 99%, ManageOrphanedPages 95% |
Plugin Home: | http://TWiki.org/cgi-bin/view/Plugins/OrphansPlugin![]() |
Feedback: | http://TWiki.org/cgi-bin/view/Plugins/OrphansPluginDev![]() |
Appraisal: | http://TWiki.org/cgi-bin/view/Plugins/OrphansPluginAppraisal![]() |
Related Topics: ManageOrphanedPages, TWikiPlugins, DeveloperDocumentationCategory, AdminDocumentationCategory, TWikiPreferences
antalya escort bursa escort eskisehir escort istanbul escort izmir escort