Feature Proposals » $name tokens for [[WebName.TopicName][$name]], [[%ATTACHURL%/filename.ext][$name]]

Summary

Current State: Developer: Reason: Date: Concerns By: Bug Tracking: Proposed For:
MergedToCore HideyoImazu AcceptedByReleaseMeeting 2016-02-16   TWikibug:Item7730 KampalaRelease

Edit Form

Motivation

  • It's cumbersome to write [[%SYSTEMWEB%.SpreadSheetPlugin][SpreadSheetPlugin]] -- you need to write this way if NOAUTOLINK is on. Writing the same thing (SpreadSheetPlugin) twice should be avoided. [[%SYSTEMTWEB%.SpreadSheetPlugin][$topictitle]] is close, but there are cases where the topic name is wanted in place of the topic title
  • It's cumbersome to write [[%ATTACHURL%/filename.ext][filename.ext]]. Writing the same thing (filename.ext) twice should be avoided

Description and Documentation

Introduce the following syntax
  • [[WebName.TopicName][$name]] -- $name is replaced with TopicName
  • [[%ATTACHURL%/filename.ext][$name]] -- $name is replaced with filename.ext

Examples

Impact

Implementation

-- Contributors: Hideyo Imazu - 2016-02-16

Discussion

Looks good to me. Wondering though if we should use $name instead be consistent with the QuerySearch language.

-- Peter Thoeny - 2016-02-16

Agreed with $name. [[WebName.TopicName][$name]] and [[%ATTACHURL%/filename.ext][$name]] are better. Changed the TopicSummary and the name of this topic accordingly.

-- Hideyo Imazu - 2016-02-16

This proposal is accepted by KampalaReleaseMeeting2016x02x18

-- Peter Thoeny - 2016-02-21

Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2016-02-29 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.