declares canonical variable.

Signed-off-by: Rex Tsai <chihchun@kalug.linux.org.tw>
Support canonical/shortlink/shorturl for menuContextSelection.

Signed-off-by: Rex Tsai <chihchun@kalug.linux.org.tw>