Sidebar template: Set a default for a parameter

Make sure edit_links_add_entity is always defined in the
shared-entity-sidebar template, to avoid associated warnings.
Merge remote-tracking branch 'chirlu/fix_warning' into beta

* chirlu/fix_warning:
  Sidebar template: Set a default for a parameter