Ticket #372 (new defect)

Opened 6 years ago

Last modified 6 years ago

Search startup parameter: fallback behavior

Reported by: FND Owned by:
Priority: undefined Milestone: unscheduled
Component: core Version: 2.1.03
Severity: low Keywords:
Cc:

Description

When using the startup parameter search:text with an empty text, TW interprets this as a request for the "search" tiddler ("The tiddler 'search' doesn't yet exist. Double-click to create it").

It would be useful if the entire parameter was simply ignored, so the regular DefaultTiddlers? behavior is used.

This is important when using bookmarks for TiddlyWiki (especially with Firefox's quick search feature).

Change History

Changed 6 years ago by FND

Actually, this fallback behavior should apply to all paramifiers (cf.  StartupParameters), not just the search.

Changed 6 years ago by FND

addendum: Firefox's quick search feature appends the literal string "%s" when no search term has been specified (this string/variable is usually replaced by the actual search term). Calling TiddlyWiki with that parameter value (e.g. "#search:%s") leads to a blank page - i.e. TiddlyWiki doesn't load.

However, incorporating processing for such a very browser-specific issues into the core might be considered bloat.

Note: See TracTickets for help on using tickets.