#11 Support wiki-based paths in media URLs

Отворено
отворено пре 2 година од towerofnix · 0 коментара
(quasar) nebula коментирира пре 2 година

This would probably be done with [[media:path/to/whatever.mp3]] syntax to be supported Later(tm). Basically, make sure that works in URLs!

This also means [[x]] has to be specifically considered valid as far as data processing is concerned, and we might need to dynamically error/warn if the actual computed value is an invalid (absolute or wiki-relative) URL.

I think it's okay to only support either a valid URL or ^\[\[.*\]\]$ - in other places it might be reasonable to concatenate tags, but here it should really only ever be one (i.e. a single tag which returns a URL).

This would probably be done with `[[media:path/to/whatever.mp3]]` syntax to be supported Later(tm). Basically, make sure that works in URLs! This also means `[[x]]` has to be specifically considered valid as far as data processing is concerned, and we might need to dynamically error/warn if the actual computed value is an invalid (absolute or wiki-relative) URL. I think it's okay to only support either a valid URL or `^\[\[.*\]\]$` - in other places it might be reasonable to concatenate tags, but here it should really only ever be one (i.e. a single tag which returns a URL).
Пријавите се да се прикључе у овом разговору.
Нема фазе
Нема одговорних
1 учесника
Учитавање...
Откажи
Сачувај
Још нема садржаја.