Skip to content

[IDEA] Pass startup parameters via URL hash #9174

@saqimtiaz

Description

@saqimtiaz

It is desirable to be able to pass startup parameters to TiddlyWiki as key value pairs on startup via the URL hash, such as index.html##readonly:yes#layout:mylayout

These parameters could be passed as a blob of JSON to action tiddlers tagged with a new system tag and would then be evaluated one after the other in tag order.

Potential use cases include:

  • setting the wiki to read only: readonly:yes
  • changing layout based on a parameter: layout:mylayout
  • changing the content displayed based on a parameter studentid=9341
  • customizing permalink/permaview handing by moving the logic into wikitext: open:HelloThere:HelloThere%20%5B%5BQuick%20Start%5D%5D

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Needs feedback

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions