diff --git a/core/data/System/DefaultPreferences.txt b/core/data/System/DefaultPreferences.txt index 749084e3a8..4a2e979d0c 100644 --- a/core/data/System/DefaultPreferences.txt +++ b/core/data/System/DefaultPreferences.txt @@ -1,4 +1,4 @@ -%META:TOPICINFO{author="ProjectContributor" date="1489539478" format="1.1" version="1"}% +%META:TOPICINFO{author="ProjectContributor" date="1512501336" format="1.1" version="1"}% %META:TOPICPARENT{name="AdminToolsCategory"}% ---+!! %WIKITOOLNAME% Site-Level Preferences @@ -24,7 +24,7 @@ Preference settings local to your site should be set in [[%LOCALSITEPREFS%]] (th * Set WEBBGCOLOR = #FFD8AA * [[http://en.wikipedia.org/wiki/Favicon][favicon]]: Attach a =favicon.ico= to a web's %WEBPREFSTOPIC% or add a =FAVICON= setting to %WEBPREFSTOPIC% - * Set FAVICON = %PUBURLPATH%/%SYSTEMWEB%/ProjectLogos/favicon.ico + * Set FAVICON = %PUBURLPATH{"favicon.ico" topic="%SYSTEMWEB%.ProjectLogos"}% * Image, URL and alternate tooltip text of web's logo. * Set WEBLOGOIMG = %WIKILOGOIMG% @@ -37,7 +37,7 @@ Preference settings local to your site should be set in [[%LOCALSITEPREFS%]] (th * Set WEBSUMMARY = %IF{"defined SITEMAPWHAT" then="$percentSITEMAPWHAT$percent"}% %IF{"defined SITEMAPUSETO" then="$percentSITEMAPUSETO$percent"}% * Copyright notice: - * Set WEBCOPYRIGHT = %MAKETEXT{%MAKETEXT{"Copyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors." args="1999-%GMTIME{$year}%"}%
%MAKETEXT{"Ideas, requests, problems regarding [_1]? Send feedback" args="%WIKITOOLNAME%,mailto:%WIKIWEBMASTER%?subject=%WIKITOOLNAME%%20Feedback%20on%20%BASEWEB%.%BASETOPIC%"}% + * Set WEBCOPYRIGHT = %MAKETEXT{%MAKETEXT{"Copyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors." args="1999-%GMTIME{$year}%"}%
%MAKETEXT{"Ideas, requests, problems regarding [_1]? Send feedback" args="%WIKITOOLNAME%,mailto:%WIKIWEBMASTER%?subject=%WIKITOOLNAME%%20Feedback%20on%20%BASEWEB%.%BASETOPIC%"}% * Simplified Copyright notice for the WebRss feed (don't use any special characters, html tags, entities, wiki markup or WikiWords) * Set WEBRSSCOPYRIGHT = Copyright %GMTIME{"$year"}% by contributing authors @@ -247,14 +247,14 @@ Note, this feature also must be enabled on the UserRegistration page by adding ---+++ PatternSkin * Global skin styles. To change the look of the site, point these variables to custom CSS attachments. - * Set FOSWIKI_LAYOUT_URL = %PUBURLPATH%/%SYSTEMWEB%/PatternSkinTheme/layout.css - * Set FOSWIKI_STYLE_URL = %PUBURLPATH%/%SYSTEMWEB%/PatternSkinTheme/style.css - * Set FOSWIKI_COLORS_URL = %PUBURLPATH%/%SYSTEMWEB%/PatternSkinTheme/colors.css + * Set FOSWIKI_LAYOUT_URL = %PUBURLPATH{"layout.css" topic="%SYSTEMWEB%.PatternSkinTheme"}% + * Set FOSWIKI_STYLE_URL = %PUBURLPATH{"style.css" topic="%SYSTEMWEB%.PatternSkinTheme"}% + * Set FOSWIKI_COLORS_URL = %PUBURLPATH{"colors.css" topic="%SYSTEMWEB%.PatternSkinTheme"}% * Themes that add upon the global skin styles. See the Theme Browser in PatternSkin. * Set PATTERNSKIN_JQUERY_THEME = PatternSkinTheme - * Set PATTERNSKIN_THEME_VARIANT = %PUBURLPATH%/%SYSTEMWEB%/PatternSkinTheme/variant_foswiki_noframe.css - * Set PATTERNSKIN_COLUMNS = %PUBURLPATH%/%SYSTEMWEB%/PatternSkinTheme/column_left.css + * Set PATTERNSKIN_THEME_VARIANT = %PUBURLPATH{"variant_foswiki_noframe.css "topic="%SYSTEMWEB%.PatternSkinTheme"}% + * Set PATTERNSKIN_COLUMNS = %PUBURLPATH{"column_left.css" topic="%SYSTEMWEB%.PatternSkinTheme"}% * #Set PATTERNSKIN_NAVIGATION_TOPIC = %SYSTEMWEB%.PatternSkinHorizontalNavigationExample * Deprecated (use =PATTERNSKIN_THEME_VARIANT=): * Set PATTERNSKIN_THEME = %PATTERNSKIN_THEME_VARIANT% @@ -265,7 +265,7 @@ Note, this feature also must be enabled on the UserRegistration page by adding * Set USERCOLORSURL = * Top bar background image and color - * Set WEBHEADERART = %PUBURLPATH%/%SYSTEMWEB%/PatternSkin/header5.gif + * Set WEBHEADERART = %PUBURLPATH{"header5.gif" topic="%SYSTEMWEB%.PatternSkin"}% * Set WEBHEADERBGCOLOR = #ffffff ---+++ Skin icons @@ -408,7 +408,7 @@ Note, this feature also must be enabled on the UserRegistration page by adding * Set NEWLINKFORMAT = $text * %SYSTEMWEB%.PreviewBackground image: - * Set PREVIEWBGIMAGE = %PUBURLPATH%/%SYSTEMWEB%/PreviewBackground/preview2bg.gif + * Set PREVIEWBGIMAGE = %PUBURLPATH{"preview2bg.gif" topic="%SYSTEMWEB%.PreviewBackground"}% * User-friendly synonyms for system webs * Set DOCWEB = %SYSTEMWEB% diff --git a/core/data/System/FAQWhyYouAreAskedToConfirm.txt b/core/data/System/FAQWhyYouAreAskedToConfirm.txt index 269df2b2a8..eeb5285066 100644 --- a/core/data/System/FAQWhyYouAreAskedToConfirm.txt +++ b/core/data/System/FAQWhyYouAreAskedToConfirm.txt @@ -1,4 +1,4 @@ -%META:TOPICINFO{author="ProjectContributor" comment="" date="1437500521" format="1.1" version="1"}% +%META:TOPICINFO{author="ProjectContributor" comment="" date="1512501336" format="1.1" version="1"}% ---+ %MAKETEXT{"Why am I being asked to confirm?"}% %MAKETEXT{"This page explains one of the security measures that Foswiki, the software that runs this site, performs to secure this site from attackers."}%
@@ -179,7 +179,7 @@ border-top:2px solid #6e7b97; border-bottom:2px solid #6e7b97; background-color:#fff; - background-image:url(%PUBURLPATH%/%BASEWEB%/%BASETOPIC%/WhyYouAreAskedToConfirm.jpg); + background-image:url(%PUBURLPATH{"WhyYouAreAskedToConfirm.jpg" topic="%BASEWEB%.%BASETOPIC%"}%); background-repeat:no-repeat; font-style:arial,sans-serif; font-size:15px; @@ -258,4 +258,4 @@ "}% -%META:FILEATTACHMENT{name="WhyYouAreAskedToConfirm.jpg" attr="h" comment="" date="1437500521" size="91581" user="ProjectContributor" version="1"}% +%META:FILEATTACHMENT{name="WhyYouAreAskedToConfirm.jpg" attr="h" comment="" date="1512501336" size="91581" user="ProjectContributor" version="1"}% diff --git a/core/data/System/FileAttachment.txt b/core/data/System/FileAttachment.txt index e80c0ea08c..da7583da3d 100644 --- a/core/data/System/FileAttachment.txt +++ b/core/data/System/FileAttachment.txt @@ -1,4 +1,4 @@ -%META:TOPICINFO{author="ProjectContributor" comment="" date="1512490670" format="1.1" version="1"}% +%META:TOPICINFO{author="ProjectContributor" comment="" date="1512501336" format="1.1" version="1"}% %META:TOPICPARENT{name="UserDocumentationCategory"}% %STARTINCLUDE% ---+ File Attachments @@ -176,7 +176,7 @@ The file attachment table is normally displayed at the bottom of the page, or op - txttxt + txttxt Sample.txt @@ -199,7 +199,7 @@ The file attachment table is normally displayed at the bottom of the page, or op - gifgif + gifgif Smile.gif @@ -263,5 +263,5 @@ Describe the file so other people know what it is. --- *Related Topics:* UserDocumentationCategory -%META:FILEATTACHMENT{name="Sample.txt" attr="" date="1512490670" size="30" user="ProjectContributor" version="1"}% -%META:FILEATTACHMENT{name="Smile.gif" attr="" date="1512490670" size="94" user="ProjectContributor" version="1"}% +%META:FILEATTACHMENT{name="Sample.txt" attr="" date="1512501336" size="30" user="ProjectContributor" version="1"}% +%META:FILEATTACHMENT{name="Smile.gif" attr="" date="1512501336" size="94" user="ProjectContributor" version="1"}% diff --git a/core/data/System/InstantEnhancements.txt b/core/data/System/InstantEnhancements.txt index 2fadf2d9d0..fa96ef4c4b 100644 --- a/core/data/System/InstantEnhancements.txt +++ b/core/data/System/InstantEnhancements.txt @@ -1,4 +1,4 @@ -%META:TOPICINFO{author="ProjectContributor" date="1489206078" format="1.1" version="1"}% +%META:TOPICINFO{author="ProjectContributor" date="1512501336" format="1.1" version="1"}% %META:TOPICPARENT{name="AdminDocumentationCategory"}% ---+!! Instant Site Enhancements @@ -62,7 +62,7 @@ For instance, if we want to write =%DOWN%= to get the %ICON{"arrowbdown"}% If you have your own custom image that you want to use, attach it to [[%LOCALSITEPREFS%]] and write: - * Set DOWN = DOWN + * Set DOWN = DOWN %I% There are other approaches for creating more extensive icon libraries. This is a simply and quick way to get started. See DocumentGraphics for more info. diff --git a/core/data/System/PreferenceSettings.txt b/core/data/System/PreferenceSettings.txt index 0bb7ea35bc..93509bfa62 100644 --- a/core/data/System/PreferenceSettings.txt +++ b/core/data/System/PreferenceSettings.txt @@ -1,4 +1,4 @@ -%META:TOPICINFO{author="ProjectContributor" comment="" date="1437500521" format="1.1" version="1"}% +%META:TOPICINFO{author="ProjectContributor" comment="" date="1512501336" format="1.1" version="1"}% %META:TOPICPARENT{name="UserDocumentationCategory"}% #SettingPrefs #PreferencesMacros @@ -21,7 +21,7 @@ Preferences can be defined in a number of places: 1 In the topic being accessed In this list, =Set= statements which occur at numerically higher locations override macros of the same name defined at lower numbered levels, _unless the macro was listed in a finalpreferences setting (finalised) at a lower-numbered level._ in this case, the macro is locked to the value at that level; =set= statements at higher-numbered levels are ignored. - prefs-stack.jpg + prefs-stack.jpg ---++ Writing preference settings Preference settings are written as a simple bullet. In TopicMarkupLanguage @@ -133,5 +133,5 @@ be used, and the EDITBOX* settings will be ignored.
-%META:FILEATTACHMENT{name="prefs-stack.jpg" attr="h" comment="" date="1437500521" size="52064" user="ProjectContributor" version="1"}% -%META:FILEATTACHMENT{name="prefs-stack.odp" attr="h" comment="" date="1437500521" size="15256" user="ProjectContributor" version="1"}% +%META:FILEATTACHMENT{name="prefs-stack.jpg" attr="h" comment="" date="1512501336" size="52064" user="ProjectContributor" version="1"}% +%META:FILEATTACHMENT{name="prefs-stack.odp" attr="h" comment="" date="1512501336" size="15256" user="ProjectContributor" version="1"}% diff --git a/core/data/System/SiteMap.txt b/core/data/System/SiteMap.txt index 9ad43c12db..fad0130421 100644 --- a/core/data/System/SiteMap.txt +++ b/core/data/System/SiteMap.txt @@ -1,4 +1,4 @@ -%META:TOPICINFO{author="ProjectContributor" date="1418974752" format="1.1" version="1"}% +%META:TOPICINFO{author="ProjectContributor" date="1512501336" format="1.1" version="1"}% %META:TOPICPARENT{name="SiteTools"}% ---+ %WIKITOOLNAME% Sitemap This table is updated automatically based on WebPreferences settings of the individual webs. @@ -75,17 +75,17 @@ This table is updated automatically based on WebPreferences settings of the %STARTSECTION{"renderweb"}%
- [[%web%.WebSearch][]] - [[%web%.WebChanges][]] - [[%web%.%NOTIFYTOPIC%][]] - [[%web%.%WEBPREFSTOPIC%][]] + [[%web%.WebSearch][]] + [[%web%.WebChanges][]] + [[%web%.%NOTIFYTOPIC%][]] + [[%web%.%WEBPREFSTOPIC%][]] %IF{"istopic '%web%.%STATISTICSTOPIC%'" - then="[[%web%.%STATISTICSTOPIC%][]]" + then="[[%web%.%STATISTICSTOPIC%][]]" else="" }% - [[%web%.WebTopicList][]] + [[%web%.WebTopicList][]] %IF{"istopic '%web%.WebIndex'" - then="[[%web%.WebIndex][]]" + then="[[%web%.WebIndex][]]" else="" }%
diff --git a/core/data/System/SitePermissions.txt b/core/data/System/SitePermissions.txt index 860a117c04..1f9ae78150 100644 --- a/core/data/System/SitePermissions.txt +++ b/core/data/System/SitePermissions.txt @@ -1,4 +1,4 @@ -%META:TOPICINFO{author="ProjectContributor" date="1434484983" format="1.1" version="1"}% +%META:TOPICINFO{author="ProjectContributor" date="1512501336" format="1.1" version="1"}% %META:TOPICPARENT{name="AdminToolsCategory"}% ---- Permissions settings of the webs on this Foswiki site @@ -10,7 +10,7 @@ Permissions settings of the webs on this Foswiki site scope="topic" topic="%WEBPREFSTOPIC%" nototal="on" nosearch="on" - format="| [[$web.%WEBPREFSTOPIC%][\"Preferences\"$web web\" width=\"16\" height=\"16\" border=\"0\" />]] [[$web.%HOMETOPIC%][\"Home\"$web web\" width=\"16\" height=\"16\" border=\"0\" />]] [[$web.%HOMETOPIC%][$web]] | $percentVAR{ \"SITEMAPLIST\" web=\"$web\" }$percent | $percentEXPAND{ $quot$dollarpercentIF{$dollarquotdefined 'DENYWEBVIEW'$dollarquot then=$dollarquot$dollardollarpercentDENYWEBVIEW$dollardollarpercent$dollarquot else=$dollarquot_not set_$dollarquot}$dollarpercent$quot scope=$quot$web.%WEBPREFSTOPIC%$quot }$percent |$percentEXPAND{ $quot$dollarpercentIF{$dollarquotdefined 'ALLOWWEBVIEW'$dollarquot then=$dollarquot$dollardollarpercentALLOWWEBVIEW$dollardollarpercent$dollarquot else=$dollarquot_not set_$dollarquot}$dollarpercent$quot scope=$quot$web.%WEBPREFSTOPIC%$quot }$percent |$percentEXPAND{ $quot$dollarpercentIF{$dollarquotdefined 'DENYWEBCHANGE'$dollarquot then=$dollarquot$dollardollarpercentDENYWEBCHANGE$dollardollarpercent$dollarquot else=$dollarquot_not set_$dollarquot}$dollarpercent$quot scope=$quot$web.%WEBPREFSTOPIC%$quot }$percent |$percentEXPAND{ $quot$dollarpercentIF{$dollarquotdefined 'ALLOWWEBCHANGE'$dollarquot then=$dollarquot$dollardollarpercentALLOWWEBCHANGE$dollardollarpercent$dollarquot else=$dollarquot_not set_$dollarquot}$dollarpercent$quot scope=$quot$web.%WEBPREFSTOPIC%$quot }$percent |$percentEXPAND{ $quot$dollarpercentIF{$dollarquotdefined 'DENYWEBRENAME'$dollarquot then=$dollarquot$dollardollarpercentDENYWEBRENAME$dollardollarpercent$dollarquot else=$dollarquot_not set_$dollarquot}$dollarpercent$quot scope=$quot$web.%WEBPREFSTOPIC%$quot }$percent |$percentEXPAND{ $quot$dollarpercentIF{$dollarquotdefined 'ALLOWWEBRENAME'$dollarquot then=$dollarquot$dollardollarpercentALLOWWEBRENAME$dollardollarpercent$dollarquot else=$dollarquot_not set_$dollarquot}$dollarpercent$quot scope=$quot$web.%WEBPREFSTOPIC%$quot }$percent |" + format="| [[$web.%WEBPREFSTOPIC%][\"Preferences\"$web web\" width=\"16\" height=\"16\" border=\"0\" />]] [[$web.%HOMETOPIC%][\"Home\"$web web\" width=\"16\" height=\"16\" border=\"0\" />]] [[$web.%HOMETOPIC%][$web]] | $percentVAR{ \"SITEMAPLIST\" web=\"$web\" }$percent | $percentEXPAND{ $quot$dollarpercentIF{$dollarquotdefined 'DENYWEBVIEW'$dollarquot then=$dollarquot$dollardollarpercentDENYWEBVIEW$dollardollarpercent$dollarquot else=$dollarquot_not set_$dollarquot}$dollarpercent$quot scope=$quot$web.%WEBPREFSTOPIC%$quot }$percent |$percentEXPAND{ $quot$dollarpercentIF{$dollarquotdefined 'ALLOWWEBVIEW'$dollarquot then=$dollarquot$dollardollarpercentALLOWWEBVIEW$dollardollarpercent$dollarquot else=$dollarquot_not set_$dollarquot}$dollarpercent$quot scope=$quot$web.%WEBPREFSTOPIC%$quot }$percent |$percentEXPAND{ $quot$dollarpercentIF{$dollarquotdefined 'DENYWEBCHANGE'$dollarquot then=$dollarquot$dollardollarpercentDENYWEBCHANGE$dollardollarpercent$dollarquot else=$dollarquot_not set_$dollarquot}$dollarpercent$quot scope=$quot$web.%WEBPREFSTOPIC%$quot }$percent |$percentEXPAND{ $quot$dollarpercentIF{$dollarquotdefined 'ALLOWWEBCHANGE'$dollarquot then=$dollarquot$dollardollarpercentALLOWWEBCHANGE$dollardollarpercent$dollarquot else=$dollarquot_not set_$dollarquot}$dollarpercent$quot scope=$quot$web.%WEBPREFSTOPIC%$quot }$percent |$percentEXPAND{ $quot$dollarpercentIF{$dollarquotdefined 'DENYWEBRENAME'$dollarquot then=$dollarquot$dollardollarpercentDENYWEBRENAME$dollardollarpercent$dollarquot else=$dollarquot_not set_$dollarquot}$dollarpercent$quot scope=$quot$web.%WEBPREFSTOPIC%$quot }$percent |$percentEXPAND{ $quot$dollarpercentIF{$dollarquotdefined 'ALLOWWEBRENAME'$dollarquot then=$dollarquot$dollardollarpercentALLOWWEBRENAME$dollardollarpercent$dollarquot else=$dollarquot_not set_$dollarquot}$dollarpercent$quot scope=$quot$web.%WEBPREFSTOPIC%$quot }$percent |" pager="on" pagesize="%DEFAULTPAGESIZE%" }% diff --git a/core/data/System/Skins.txt b/core/data/System/Skins.txt index baaae5e2d0..b8809686ff 100644 --- a/core/data/System/Skins.txt +++ b/core/data/System/Skins.txt @@ -1,4 +1,4 @@ -%META:TOPICINFO{author="ProjectContributor" comment="" date="1512490670" format="1.1" version="1"}% +%META:TOPICINFO{author="ProjectContributor" comment="" date="1512501336" format="1.1" version="1"}% %META:TOPICPARENT{name="AdminDocumentationCategory"}% %STARTINCLUDE% ---+ Foswiki Skins @@ -142,7 +142,7 @@ CSS files are gererally attachments to the skin topic that are included in the s id="MySkin/mystyle" text=" " }% @@ -163,7 +163,7 @@ Here is an example form that has a select box and the "Go" box for illustration "script" id="SkinNavigation" requires="JQUERYPLUGIN" - text="" + text="" }% Navigate: @@ -211,7 +211,7 @@ The =ATTACH:row= macros are expanded for each file in the attachment table, usin | =%A_URL%= | =viewfile= URL that will recover the file | | =%A_REV%= | Revision of this file | | =%A_ICON%= | A file icon suitable for representing the attachment content | -| =%A_FILE%= | The name of the file. To get the 'pub' URL of the file, use =%PUBURL%/%WEB%/%TOPIC%/%A_FILE%= | +| =%A_FILE%= | The name of the file. To get the 'pub' URL of the file, use =%PUBURL{"A_FILE" topic="%WEB%/%TOPIC%"}%= | | =%A_SIZE%= | The size of the file | | =%A_DATE%= | The date the file was uploaded | | =%A_USER%= | The user who uploaded it | @@ -238,14 +238,14 @@ See Foswiki:Development/ExtensionDeveloperGuide For your own skin you are encouraged to show a small 88x31 pixel logo at the bottom of your skin: - Powered by Foswiki Generating: -[[https://foswiki.org/][Powered by Foswiki]] +[[https://foswiki.org/][Powered by Foswiki]] ---++ Browsing Installed Skins @@ -309,4 +309,4 @@ Note that you cannot use the =cover= URL parameter to _remove_ a skin applied by *Related Topics:* SkinTemplates, SkinBrowser, AdminDocumentationCategory, DeveloperDocumentationCategory -%META:FILEATTACHMENT{name="js.js" attr="h" comment="" date="1512490670" size="178" user="ProjectContributor" version="1"}% +%META:FILEATTACHMENT{name="js.js" attr="h" comment="" date="1512501336" size="178" user="ProjectContributor" version="1"}% diff --git a/core/data/System/VarPUBURL.txt b/core/data/System/VarPUBURL.txt index 86c0c3d27e..0031e995cf 100644 --- a/core/data/System/VarPUBURL.txt +++ b/core/data/System/VarPUBURL.txt @@ -1,4 +1,4 @@ -%META:TOPICINFO{author="ProjectContributor" date="1435796369" format="1.1" version="1"}% +%META:TOPICINFO{author="ProjectContributor" date="1512501336" format="1.1" version="1"}% %META:TOPICPARENT{name="Macros"}% ---+ PUBURL -- generate an URL for an attachment Generate an absolute URL for an attachment, or for a web or topic within the attachment database. @@ -12,7 +12,7 @@ Generate an absolute URL for an attachment, or for a web or topic within the att | =attachment_version= | Select attachment version, if supported | most recent | ---++ Examples * =%PUBURL%= expands to =%PUBURL%= - * =%PUBURL{"icon_plus.png"}%= expands to ==%PUBURL{"icon_plus.png"}%= + * =%PUBURL{"icon_plus.png"}%= expands to =%PUBURL{"icon_plus.png"}%= _(attachment name is ignored if topic name is not provided.)_ * =%PUBURL{web="%SYSTEMWEB%"}%= expands to =%PUBURL{web="%SYSTEMWEB%"}%= * =%PUBURL{topic="%SYSTEMWEB%.MainFeatures"}%= expands to =%PUBURL{topic="%SYSTEMWEB%.MainFeatures"}%= * =%PUBURL{web="%SYSTEMWEB%" topic="MainFeatures"}%= expands to =%PUBURL{web="%SYSTEMWEB%" topic="MainFeatures"}%= diff --git a/core/data/System/VarPUBURLPATH.txt b/core/data/System/VarPUBURLPATH.txt index cce7d4ca88..41ff102be3 100644 --- a/core/data/System/VarPUBURLPATH.txt +++ b/core/data/System/VarPUBURLPATH.txt @@ -1,4 +1,4 @@ -%META:TOPICINFO{author="ProjectContributor" date="1435796369" format="1.1" version="1"}% +%META:TOPICINFO{author="ProjectContributor" date="1512501336" format="1.1" version="1"}% %META:TOPICPARENT{name="Macros"}% ---+ PUBURLPATH -- generate a relative URL for an attachment Generate a relative URL for an attachment, or for a web or topic within the attachment database. @@ -12,11 +12,12 @@ Generate a relative URL for an attachment, or for a web or topic within the atta | =attachment_version= | Select attachment version, if supported | most recent | ---++ Examples * =%PUBURLPATH%= expands to =%PUBURLPATH%= - * =%PUBURLPATH{"icon_plus.png"}%= expands to ==%PUBURLPATH{"icon_plus.png"}%= + * =%PUBURLPATH{"icon_plus.png"}%= expands to =%PUBURLPATH{"icon_plus.png"}%= _(attachment name is ignored when topic name is not provided)_ * =%PUBURLPATH{web="%SYSTEMWEB%"}%= expands to =%PUBURLPATH{web="%SYSTEMWEB%"}%= * =%PUBURLPATH{topic="%SYSTEMWEB%.MainFeatures"}%= expands to =%PUBURLPATH{topic="%SYSTEMWEB%.MainFeatures"}%= * =%PUBURLPATH{web="%SYSTEMWEB%" topic="MainFeatures"}%= expands to =%PUBURLPATH{web="%SYSTEMWEB%" topic="MainFeatures"}%= * =%PUBURLPATH{topic="%SYSTEMWEB%.MainFeatures" "icon_plus.png"}%= expands to =%PUBURLPATH{topic="%SYSTEMWEB%.MainFeatures" "icon_plus.png"}%= + * =%PUBURLPATH{"icon_plus.png" topic="%SYSTEMWEB%.MainFeatures"}%= expands to =%PUBURLPATH{"icon_plus.png" topic="%SYSTEMWEB%.MainFeatures"}%= * Also supports =topic_version= and =attachment_version= parameters. These can be used with advanced store implements to select specific attachment versions. However simple file-based stores do not normally support them.
%X% This macro will only generate a relative URL if the store supports them, and the context allows it. Otherwise it will generate the same as =[[VarPUBURL][PUBURL]]= diff --git a/core/data/System/WebHome.txt b/core/data/System/WebHome.txt index b0bfb98869..97fdeb5c5b 100644 --- a/core/data/System/WebHome.txt +++ b/core/data/System/WebHome.txt @@ -1,4 +1,4 @@ -%META:TOPICINFO{author="ProjectContributor" date="1457496285" format="1.1" version="1"}% +%META:TOPICINFO{author="ProjectContributor" date="1512501336" format="1.1" version="1"}% ---+!! %MAKETEXT{"Welcome to the [_1] web" args="%WEB%"}% This is where Foswiki keeps system documentation, including documentation that is included with optional extensions. @@ -42,7 +42,7 @@ This site is running Foswiki version *%WIKIVERSION%*, Release *%WIKIRELEASE%*, * %STATISTICSTOPIC% - listing popular topics and top contributors"}% * WebPreferences - preferences for this web -Foswiki badge Foswiki is developed as Free Software under the [[FAQGnuGeneralPublicLicense][GNU/GPL]]. Get the latest version from [[Foswiki:Download][Foswiki.org downloads]]. +Foswiki badge Foswiki is developed as Free Software under the [[FAQGnuGeneralPublicLicense][GNU/GPL]]. Get the latest version from [[Foswiki:Download][Foswiki.org downloads]]. %META:PREFERENCE{name="SPREADSHEETPLUGIN_UNSAFECALC" title="SPREADSHEETPLUGIN_UNSAFECALC" type="Set" value="1"}% diff --git a/core/data/System/WebPreferences.txt b/core/data/System/WebPreferences.txt index acd1ca92a8..4e815dd5a4 100644 --- a/core/data/System/WebPreferences.txt +++ b/core/data/System/WebPreferences.txt @@ -1,4 +1,4 @@ -%META:TOPICINFO{author="ProjectContributor" date="1494206626" format="1.1" version="1"}% +%META:TOPICINFO{author="ProjectContributor" date="1512501336" format="1.1" version="1"}% %META:TOPICPARENT{name="WebHome"}% ---+!! %WEB% Web Preferences @@ -30,7 +30,7 @@ ---++ Copyright notice - * Set WEBCOPYRIGHT = This site is powered by Foswiki%MAKETEXT{"Copyright &© by the contributing authors. All material on this site is the property of the contributing authors." args="1999-%GMTIME{$year}%"}%
%MAKETEXT{"Ideas, requests, problems regarding [_1]? Send feedback" args="%WIKITOOLNAME%,mailto:%WIKIWEBMASTER%?subject=%WIKITOOLNAME%%20Feedback%20on%20%BASEWEB%.%BASETOPIC%"}% %IF{"$ WEB= $ SYSTEMWEB" then=""}% + * Set WEBCOPYRIGHT = This site is powered by Foswiki%MAKETEXT{"Copyright &© by the contributing authors. All material on this site is the property of the contributing authors." args="1999-%GMTIME{$year}%"}%
%MAKETEXT{"Ideas, requests, problems regarding [_1]? Send feedback" args="%WIKITOOLNAME%,mailto:%WIKIWEBMASTER%?subject=%WIKITOOLNAME%%20Feedback%20on%20%BASEWEB%.%BASETOPIC%"}% %IF{"$ WEB= $ SYSTEMWEB" then=""}% ---++ Access control diff --git a/core/data/TestCases/WebStatistics.txt b/core/data/TestCases/WebStatistics.txt index 2d32eaf60e..4b200f1f63 100644 --- a/core/data/TestCases/WebStatistics.txt +++ b/core/data/TestCases/WebStatistics.txt @@ -1,12 +1,12 @@ -%META:TOPICINFO{author="ProjectContributor" date="1229198928" format="1.1" version="1"}% +%META:TOPICINFO{author="ProjectContributor" comment="" date="1512501336" format="1.1" version="1"}% %META:TOPICPARENT{name="WebHome"}% ---++ Statistics for %WEB% Web | *Month:* | *Topic
views:* | *Topic
saves:* | *File
uploads:* | *Most popular
topic views:* | *Top contributors for
topic save and uploads:* | | | | | | | | +| Dec 2017 | 24 | 0 | 0 |   1 [[TestCaseAutoCategoryTable2]]
  1 [[TestCaseAutoInterwikiPlugin]]
  1 [[TestCaseAutoMetaSearch]]
  1 [[TestCaseAutoTOCManual]]
  1 [[TestCaseAutoSearchOrder]]
  1 [[TestCaseAutoSearch]]
  1 [[TestCaseAutoInternalTags]]
  1 [[TestCaseAutoRegionTags]]
  1 [[TestCaseAutoFormattedSearchDetails]]
  1 [[TestCaseAutoSearchWithInternalTag]]
  1 [[TestCaseAutoCategoryTable1]] | | *Notes:* * Do not edit this topic, it is updated automatically. (You can also [[%SCRIPTURL{"statistics"}%/%WEB%][force]] an update) * [[%SYSTEMWEB%.SiteTools#WebStatistics_site_statistics][SiteTools]] tells you how to enable the automatic updates of the statistics. * Suggestion: You could archive this topic once a year and delete the previous year's statistics from the table. -