Skip Menu |

This queue is for tickets about the Kwiki-ShortcutLinks CPAN distribution.

Report information
The Basics
Id: 9528
Status: new
Priority: 0/
Queue: Kwiki-ShortcutLinks

Owner: Nobody in particular
Requestors: ivey [...]

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)

Subject: add wafl key to display all shortcuts
Download (untitled) / with headers
text/plain 505b
Here's a patch to add a wafl phrase to display all shortcuts, for example on your InterWiki page: $registry->add(wafl => 'all_shortcuts' => 'Kwiki::ShortcutLinks::All'); .... package Kwiki::ShortcutLinks::All; use base 'Spoon::Formatter::WaflPhrase'; sub to_html { my $ret = "<pre>"; my $shortcuts = $self->hub->registry->lookup->{shortcut_links}; for my $key (keys %{ $shortcuts }) { $ret .= "$key: " . $shortcuts->{$key}[1] . "\n"; } $ret .= "</pre>"; return $ret; }

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to