Changeset 765


Ignore:
Timestamp:
11/17/08 23:20:13 (3 years ago)
Author:
KennethLavrsen
Message:

Item205: More TWiki. to %SYSTEMWEB% conversions
note that sometimes you have to replace TWiki.xx by System.xx
It depends on the context.
And watch out for plugins that has Javascript where TWiki. is part
of a namespace. They will be goofed up by a %SYSTEMWEB%
This is a loooooooong slow task.

Location:
trunk
Files:
24 edited

Legend:

Unmodified
Added
Removed
  • trunk/BibliographyPlugin/data/TWiki/BibliographyPlugin.txt

    r529 r765  
    8484 
    8585        * Default topic to get references from: 
    86         * Set DEFAULTBIBLIOGRAPHYTOPIC = TWiki.BibliographyPlugin 
     86        * Set DEFAULTBIBLIOGRAPHYTOPIC = %SYSTEMWEB%.BibliographyPlugin 
    8787 
    8888        * Default sorting for references: 
  • trunk/BibtexPlugin/data/TWiki/BibtexPlugin.txt

    r664 r765  
    279279 
    280280        * Available search templates 
    281                 * TWiki.BibtexSearchTemplate - verbose .bib file query form 
    282                 * TWiki.BibtexSimpleSearchTemplate - !BibTeX key query form 
    283                 * TWiki.BibtexSelectTemplate - query .bib files using bib2bib 'select' syntax 
     281                * %SYSTEMWEB%.BibtexSearchTemplate - verbose .bib file query form 
     282                * %SYSTEMWEB%.BibtexSimpleSearchTemplate - !BibTeX key query form 
     283                * %SYSTEMWEB%.BibtexSelectTemplate - query .bib files using bib2bib 'select' syntax 
    284284 
    285285---+++ Bibtool Resource Files 
     
    375375 
    376376        * Default topic name for <nop>BibTeX files: 
    377                 * Set DEFAULTTOPIC = TWiki.BibtexPlugin 
     377                * Set DEFAULTTOPIC = %SYSTEMWEB%.BibtexPlugin 
    378378 
    379379        * Default search template 
    380                 * Set DEFAULTSEARCHTEMPLATE = TWiki.BibtexSearchTemplate 
     380                * Set DEFAULTSEARCHTEMPLATE = %SYSTEMWEB%.BibtexSearchTemplate 
    381381 
    382382 
  • trunk/BibtexPlugin/data/TWiki/BibtexSearchTemplate.txt

    r482 r765  
    9999</table> 
    100100</form> %STOPINCLUDE% 
    101 %META:TOPICMOVED{by="MichaelDaum" date="1101476758" from="TWiki.BibSearchTemplate" to="TWiki.BibtexSearchTemplate"}% 
  • trunk/BibtexPlugin/lib/TWiki/Plugins/BibtexPlugin.pm

    r42 r765  
    109109  $defaultTopic = TWiki::Func::getPreferencesValue( "\U${pluginName}\E_DEFAULTTOPIC", $web ) ||  
    110110    TWiki::Func::getPreferencesValue( "\U${pluginName}\E_DEFAULTTOPIC" ) ||  
    111     "TWiki.BibtexPlugin"; 
     111    "System.BibtexPlugin"; 
    112112  $defaultSearchTemplate = TWiki::Func::getPreferencesValue( "\U${pluginName}\E_DEFAULTSEARCHTEMPLATE", $web ) ||  
    113113    TWiki::Func::getPreferencesValue( "\U${pluginName}\E_DEFAULTSEARCHTEMPLATE" ) ||  
    114     "TWiki.BibtexSearchTemplate"; 
     114    "System.BibtexSearchTemplate"; 
    115115 
    116116  $hostUrl = &TWiki::Func::getUrlHost(); 
  • trunk/DragonSkin/data/TWiki/DragonSkinCustomize.txt

    r690 r765  
    4747For example: 
    4848<verbatim> 
    49 <ul><li>[[TWiki.DragonSkin][Change me]]</li></ul> 
     49<ul><li>[[%SYSTEMWEB%.DragonSkin][Change me]]</li></ul> 
    5050</verbatim> 
    5151will have one link with the link text &quot;Change me&quot; that points to this page. 
     
    6565        3. On that page, set DS_TOPICCSS to a blank value (or any other safe value). 
    6666        4. Preview and save that page. 
    67  
    68  
    69  
    70 %META:TOPICMOVED{by="cbs" date="1090945787" from="TWiki.DragonSkin" to="TWiki.DragonSkinCustomize"}% 
  • trunk/DragonSkin/data/TWiki/DragonSkinInstall.txt

    r464 r765  
    2121---+++ Including the left menu from a topic 
    2222        1. Create a topic with the menu contents.  When doing so, be careful about including blank lines in the menu, since the TWiki renderer will insert paragraph tags and mess up the layout.  Also, use %<nop>INCLUDINGWEB% when necessary to make sure that searches and links to topics like !WebPreferences will reference the right web.  Note that including the menu from a topic will be slightly slower than using it directly from the template file. 
    23         2. Change the templates/dragonmenu.dragon.css file to just have the single line %<nop>INCLUDE{"TWiki.DragonMenuTopic"}% (or whatever your menu topic is called).  
     23        2. Change the templates/dragonmenu.dragon.css file to just have the single line %<nop>INCLUDE{"%SYSTEMWEB%.DragonMenuTopic"}% (or whatever your menu topic is called).  
    2424---+++ Adding site-specific CSS styles 
    2525If you want to add a site-specific CSS style, add it to pub/%<nop>SYSTEMWEB%/DragonSkin/typography.css, since that file is included in every theme.  Alternatively, add another import rule to the definition of dragoncss in templates/twiki.dragon.tmpl that imports a site-specific css file, and put all local styles in that file.  If your style makes use of TWiki variables, add it to templates/dragoncssvars.dragon.tmpl, so variables will get expanded. 
  • trunk/DragonSkin/templates/dragonmenu.dragon.tmpl

    r92 r765  
    3434            <h2>Help</h2> 
    3535            <ul> 
    36                <li>[[TWiki.TextFormattingRules][Text formatting rules]]</li> 
    37               <li>[[TWiki.WebHome][TWiki documentation]]</li> 
     36               <li>[[%SYSTEMWEB%.TextFormattingRules][Text formatting rules]]</li> 
     37              <li>[[%SYSTEMWEB%.WebHome][Documentation]]</li> 
    3838              <li>[[Sandbox.WebHome][Sandbox (test) web]]</li> 
    3939            </ul> 
  • trunk/EmptyHeaderArtContrib/data/Sandbox/PluginTestEmptyHeaderArtContrib.txt

    r482 r765  
    11%META:TOPICINFO{author="ProjectContributor" date="1042728360" format="1.0" version="1.1"}% 
    2 %META:TOPICPARENT{name="TWiki.EmptyHeaderArtContrib"}% 
     2%META:TOPICPARENT{name="System.EmptyHeaderArtContrib"}% 
    33 
    44SOME EXAMPLES OF THE PLUGIN 
  • trunk/EmptyPlugin/lib/TWiki/Plugins/EmptyPlugin.pm

    r529 r765  
    782782Additional parameters can be recovered via de query object in the $session. 
    783783 
    784 For more information, check TWiki:TWiki.TWikiScripts#rest 
     784For more information, check %SYSTEMWEB%.CommandAndCGIScripts#rest 
    785785 
    786786*Since:* TWiki::Plugins::VERSION 1.1 
  • trunk/EmptyTag/data/Sandbox/EmptyTagTest.txt

    r482 r765  
    11%META:TOPICINFO{author="ProjectContributor" date="1042728360" format="1.0" version="$Rev$"}% 
    2 %META:TOPICPARENT{name="TWiki.EmptyPlugin"}% 
     2%META:TOPICPARENT{name="System.EmptyPlugin"}% 
    33 
    44SOME EXAMPLES OF THE PLUGIN 
  • trunk/EmptyTag/lib/TWiki/Tags/EmptyTag.pm

    r110 r765  
    2121This is an empty TWiki tag. It is a fully defined tag, but is 
    2222disabled by default in a TWiki installation. Use it as a template 
    23 for your own tags; see TWiki.TWikiTags for details. 
     23for your own tags; see %SYSTEMWEB%.Macros for details. 
    2424 
    2525=cut 
  • trunk/ExcelImportExportPlugin/data/TWiki/ExcelImportExportPlugin.txt

    r604 r765  
    99   * Export to Excel 
    1010      * Generate an Excel spreadsheet from a TWiki table, such that each row in the table corresponds to a row in the resultant spreadsheet. 
    11       * Generate an Excel spreadsheet from a table returned as the result of a TWiki.FormattedSearch, such that each row in the table corresponds to a row in the resultant spreadsheet. 
     11      * Generate an Excel spreadsheet from a table returned as the result of a %SYSTEMWEB%.FormattedSearch, such that each row in the table corresponds to a row in the resultant spreadsheet. 
    1212      * Generate an Excel spreadsheet from all topics that have an indicated form. Each topic results in a row of the spreadsheet, such that each form field is mapped to a column in the spreadsheet. 
    1313 
  • trunk/FlowchartPlugin/data/TWiki/FlowchartPlugin.txt

    r529 r765  
    130130        * (Dakar) Visit =configure= in your TWiki installation, and enable the plugin in the {Plugins} section. 
    131131        * Test if the installation was successful: 
    132         * See the TWiki.FlowchartPluginExample 
     132        * See the %SYSTEMWEB%.FlowchartPluginExample 
    133133 
    134134---++ Plugin Info 
  • trunk/JSPopupPlugin/data/TWiki/JSPopupPlugin.txt

    r529 r765  
    1212Popups are activated either on a mouse click, when the mouse passes over the anchor, or when the page is loaded. 
    1313 
    14 To make it easy for TWiki.TWikiSkin developers, any html link with the css  =twikiPopupLink= class will get a popup dialog. If the Javascript fails, or this plugin is disabled, the link will gracefully fall back to going to the link in the main browser window. 
     14To make it easy for %SYSTEMWEB%.TWikiSkin developers, any html link with the css  =twikiPopupLink= class will get a popup dialog. If the Javascript fails, or this plugin is disabled, the link will gracefully fall back to going to the link in the main browser window. 
    1515 
    1616use the =twikiPopupLink= class to get popup dialog elements on urls that can degrade gracefully for users without javascript. 
  • trunk/MakeCtrlTopicsListAddOn/data/TWiki/MakeCtrlTopicsListAddOn.txt

    r672 r765  
    7979|  Change History: | <!-- versions below in reverse order -->&nbsp; | 
    8080|  07 Jun 2005: | Initial version | 
    81 |  10 Jun 2005: | Bug fix (incorrect handling of topics "with dash"). <br>Marker string must now be placed at the beginning of the line (this removes doc topic from list). <br>Forces link at non-[[TWiki.WikiWord][WikiWord]]-Topics now.| 
     81|  10 Jun 2005: | Bug fix (incorrect handling of topics "with dash"). <br>Marker string must now be placed at the beginning of the line (this removes doc topic from list). <br>Forces link at non-[[%SYSTEMWEB%.WikiWord][WikiWord]]-Topics now.| 
    8282|  CPAN Dependencies: | none | 
    8383|  Other Dependencies: | ApprovalPlugin must be installed | 
     
    9595 
    9696%META:FILEATTACHMENT{name="MCTLscreenshot.gif" attr="" comment="Example Screenshot" date="1118312007" path="D:\data\Work\twiki-org\MCTLscreenshot.gif" size="41215" user="DetlefMarxsen" version="1.1"}% 
    97 %META:TOPICMOVED{by="DetlefMarxsen" date="1118214755" from="TWiki.MakeCtrlTopicsList" to="TWiki.MakeCtrlTopicsListAddOn"}% 
  • trunk/MetaWorkflowPlugin/data/Sandbox/MetaWorkflowExample.txt

    r604 r765  
    33---+++ !MetaWorkflowPlugin Example 
    44 
    5 This is an example of how to use the TWiki.MetaWorkflowPlugin to create a workflow based on the value of a [[%SYSTEMWEB%.DataForms][form field]]. 
     5This is an example of how to use the %SYSTEMWEB%.MetaWorkflowPlugin to create a workflow based on the value of a [[%SYSTEMWEB%.DataForms][form field]]. 
    66 
    77This is what's displayed in the =%<nop>METAWORKFLOWCURRENT%=:%BR% 
     
    2424   * #Set METAWORKFLOWDEFINITION = MetaWorkflowDefinitionTable 
    2525 
    26 For more information on the plugin, go to [[TWiki.MetaWorkflowPlugin]]. 
     26For more information on the plugin, go to [[%SYSTEMWEB%.MetaWorkflowPlugin]]. 
  • trunk/PatentLinkPlugin/lib/TWiki/Plugins/PatentLinkPlugin.pm

    r246 r765  
    1818# 
    1919# This is a PatentLinkPlugin TWiki plugin. 
    20 # See TWiki.PatentLinkPlugin for details. 
     20# See %SYSTEMWEB%.PatentLinkPlugin for details. 
    2121# 
    2222# Each plugin is a package that contains the subs: 
  • trunk/PatternSkin/pub/TWiki/PatternSkin/colors.css

    r14 r765  
    11 
    22/* PatternSkin colors */ 
    3 /* Generated by AttachContentPlugin from TWiki.PatternSkin */ 
     3/* Generated by AttachContentPlugin from System.PatternSkin */ 
    44 
    55/* LAYOUT ELEMENTS */ 
  • trunk/SimpleBlueSkin/templates/comments.simpleblue.tmpl

    r464 r765  
    55*WARNING: THIS FILE WILL BE OVERWRITTEN WHEN YOU UPGRADE THE COMMENT PLUGIN* 
    66 
    7 Put your local templates into TWiki.UserTemplates. 
     7Put your local templates into %SYSTEMWEB%.UserTemplates. 
    88*LOCAL TEMPLATES WILL OVERRIDE TEMPLATES DEFINED IN THIS FILE* 
    99 
     
    120120<table> 
    121121 <tr> 
    122   <td align="right">Action for (TWiki.WikiName):</td> 
     122  <td align="right">Action for (%SYSTEMWEB%.WikiName):</td> 
    123123  <td><input name="who" type="text" size="50" value="%URLPARAM{"who"}%" /></td> 
    124124 </tr> 
     
    223223 
    224224 
    225 %TMPL:INCLUDE{"TWiki.UserTemplates"}%  
    226  
     225%TMPL:INCLUDE{"%SYSTEMWEB%.UserTemplates"}%  
     226 
  • trunk/TWikiInstallerContrib/lib/TWiki/Contrib/TWikiInstallerContrib/plugins.NOTES

    r682 r765  
    181181! GenerateSearchPlugin - calls TWiki::Form::getFormDef() directly 
    182182! IncludeRevisionPlugin - doesn't render 
    183 !& LatexModePlugin - viewing the page (after configuring program paths properly) yields: AccessControlException: Access to CHANGE TWiki.LatexModePlugin for WikiGuest is denied. access not allowed on web[Sun Dec 11 17:27:09 2005] [error] [client 127.0.0.1] Premature end of script headers: view.cgi - need to move the sample to the Sandbox web 
     183!& LatexModePlugin - viewing the page (after configuring program paths properly) yields: AccessControlException: Access to CHANGE %SYSTEMWEB%.LatexModePlugin for WikiGuest is denied. access not allowed on web[Sun Dec 11 17:27:09 2005] [error] [client 127.0.0.1] Premature end of script headers: view.cgi - need to move the sample to the Sandbox web 
    184184! LoginNameAliasesPlugin - TWiki::Plugins::LoginNameAliasesPlugin::earlyInitPlugin failed: 1 
    185185! MsOfficeAttachmentsAsHTMLPlugin - no docs, not sure what to do... 
     
    202202Can't call method "maketext" on an undefined value at 
    203203        /home/twiki/public_html/cgi-bin/twiki/lib/TWiki/Access.pm line 175 (#2) 
    204 while processing TWiki.BulkResetPassword (during (re)build of cache) 
     204while processing %SYSTEMWEB%.BulkResetPassword (during (re)build of cache) 
    205205 
    20620628 
     
    222222? LaTeXToMathMLPlugin - need to install itex2MML 
    223223? LDAPPasswordChangerPlugin - _looks_ like it should work 
    224 ? LdapPlugin - ??? (also references TWiki.TWikiLdapRegistration---what is that?) 
     224? LdapPlugin - ??? (also references %SYSTEMWEB%.TWikiLdapRegistration---what is that?) 
    225225? MailReminderPlugin - can't test (mysql) 
    226226? MathModePlugin - need latex2html 
     
    404404 
    405405   * clicking "attach link" wiped out my topic text (*and* replace it with a non-functional link (using %ATTACHPUBURL%)) 
    406  
    407    * TWiki.WebReferences - delete? - just put on twiki.org ??? - links from TWiki.TWikiSite and TWiki.WelcomeGuest 
    408406 
    409407   * FindElsewherePlugin renders [[%SYSTEMWEB%.BookView][%MAKETEXT{"about BookView"}%]] incorrectly --- [[]]'s show up and link text BookView is a link :( 
  • trunk/TWikiInstallerContrib/lib/TWiki/Contrib/TWikiInstallerContrib/remote-install

    r733 r765  
    5555#       (and update Main.AdminGroup) 
    5656# wikiwebmaster (for email about this wiki site) -  
    57 #       (and update TWiki.MainPreferences) - $wikiWebMaster 
     57#       (and update %SYSTEMWEB%.SitePreferences) - $wikiWebMaster 
    5858# 
    5959# other TODO? 
  • trunk/TopicVarsPlugin/data/TWiki/TopicVarsPlugin.txt

    r464 r765  
    22---++ TopicVarsPlugin TWiki Plugin  
    33 
    4 This plugin will allow you to create variables in arbitrary topic pages, and not just WebPreferences. You can then refer to those variables from any topic within the same Web or Wiki. (Perhaps a future iteration will support [[TWiki.InterwikiPlugin][Interwiki]] references, but that's probably not likely, unless we use XML-RPC or something to cut down the overhead of getting those values from afar.) 
     4This plugin will allow you to create variables in arbitrary topic pages, and not just WebPreferences. You can then refer to those variables from any topic within the same Web or Wiki. (Perhaps a future iteration will support [[%SYSTEMWEB%.InterwikiPlugin][Interwiki]] references, but that's probably not likely, unless we use XML-RPC or something to cut down the overhead of getting those values from afar.) 
    55 
    66---+++ Syntax Rules  
     
    2020---+++ <nop>%TOPIC% Settings 
    2121 
    22         * One line description, is shown in the [[TWiki.TextFormattingRules][TextFormattingRules]] topic 
     22        * One line description, is shown in the [[%SYSTEMWEB%.TextFormattingRules][TextFormattingRules]] topic 
    2323        * Set SHORTDESCRIPTION = Set variables in arbitrary topics and refer to them from other topics within the same web 
    2424 
     
    3939        * You should see the answer here: [%THE_ANSWER%] (%<nop>THE_ANSWER%) 
    4040        * and here: [%TopicVarsPlugin.THE_ANSWER%] (%<nop>TopicVarsPlugin.THE_ANSWER%) 
    41         * and here: [%TWiki.TopicVarsPlugin.THE_ANSWER%] (%<nop>TWiki.TopicVarsPlugin.THE_ANSWER%) 
     41        * and here: [%System.TopicVarsPlugin.THE_ANSWER%] (%<nop>System.TopicVarsPlugin.THE_ANSWER%) 
    4242 
    4343 
     
    5353|  Feedback: | http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%Dev | 
    5454 
    55 __Related Topics:__ [[TWiki.InterwikiPlugin][InterwikiPlugin]] 
     55__Related Topics:__ [[%SYSTEMWEB%.InterwikiPlugin][InterwikiPlugin]] 
    5656 
    5757-- %SYSTEMWEB%.TrippLilley - 15 Nov 2001 <br>  
  • trunk/UpdateAttachmentsPlugin/data/TWiki/UpdateAttachmentsPlugin.txt

    r529 r765  
    2626 
    2727---+++ Triggering an Attachment Update 
    28 As this is a TWiki.RestHandler based plugin, you can trigger it to run from a suitably authenticated URL (it will only update topics 
     28As this is a %SYSTEMWEB%.RestHandler based plugin, you can trigger it to run from a suitably authenticated URL (it will only update topics 
    2929your user as permission to edit) - for example, to update the Sandbox web 
    3030   * %SCRIPTURL{rest}%/UpdateAttachmentsPlugin/update?topic=Sandbox.WebHome 
  • trunk/UpdateAttachmentsPlugin/lib/TWiki/Plugins/UpdateAttachmentsPlugin.pm

    r529 r765  
    157157Additional parameters can be recovered via de query object in the $session. 
    158158 
    159 For more information, check TWiki:TWiki.TWikiScripts#rest 
     159For more information, check %SYSTEMWEB%.CommandAndCGIScripts#rest 
    160160 
    161161*Since:* TWiki::Plugins::VERSION 1.1 
Note: See TracChangeset for help on using the changeset viewer.