mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-04-21 04:41:06 -07:00
Fix inaccuracies in documentation for duplicateslugs[] (#5918)
This commit is contained in:
parent
75c99cd235
commit
1e5601ca31
1 changed files with 3 additions and 3 deletions
|
|
@ -2,13 +2,13 @@ caption: duplicateslugs
|
|||
created: 20200509141702846
|
||||
modified: 20200509141702846
|
||||
op-input: a [[selection of titles|Title Selection]]
|
||||
op-output: the input titles transformed so that they only contain lower case letters, numbers, periods, dashes and underscores
|
||||
op-purpose: returns each item in the list in a human-readable form for use in URLs or filenames
|
||||
op-output: input titles that yield duplicate slugs
|
||||
op-purpose: find titles that yield duplicate slugs
|
||||
tags: [[Filter Operators]]
|
||||
title: duplicateslugs Operator
|
||||
type: text/vnd.tiddlywiki
|
||||
|
||||
<<.from-version "5.1.23">> The <<.olink slugify>> can be used to transform arbitrary tiddler titles into human readable strings suitable for use in URLs or filenames. However, itis possible for multiple different titles to slugify to the same string. The <<.olink duplicateslugs>> operator can be used to display a warning. For example:
|
||||
<<.from-version "5.1.23">> The <<.olink slugify>> operator can be used to transform arbitrary tiddler titles into human readable strings suitable for use in URLs or filenames. However, it is possible for multiple different titles to slugify to the same string. The <<.olink duplicateslugs>> operator can be used to display a warning. For example:
|
||||
|
||||
<$macrocall $name='wikitext-example-without-html'
|
||||
src='<$list filter="[!is[system]duplicateslugs[]limit[1]]" emptyMessage="There are no duplicate slugs">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue