Feature Proposal: Add a variable $top to available variable format for %WEB{...}%, %BASEWEB{...}%, etc.
Motivation
Currently, %WEB{format="..."}% supports variables
$web,
$parents, and
$current.
It is ideal to support an additional variable
$top to represent the top-level web name relative to any subwebs (e.g. if a subweb is "WebA/SubWebB/SubWebC", then
$top represents "WebA").
It is particularly useful when all the webs are managed under
RepositoryForSiteAndWebMetadata, as the
mdrepo basically manages top-level webs.
Description and Documentation
Add
$top to the available variables for %WEB{format="..."}%.
Examples
Impact
Implementation
--
Contributors:
Mahiro Ando - 2013-02-19
Discussion
Sounds good.
--
Peter Thoeny - 2013-02-19
TWikibug:Item7171
--
Mahiro Ando - 2013-03-01