[WIP] Fix/13573 wiki toolbar entry

This is a WIP PR just now. I still have to watch (and add) tests.

Fixes: https://www.openproject.org/work_packages/13573

When saving a work package query under a new name (and the old query was starred), the new querry was starred but didn't get a menu item.
unexpected token tIDENTIFIER