To support more complex Wiki page layouts for [#4208], it is important that the person editing the Wiki page can view it with the same width that a non-editor would see. There is currently an option on the Wiki tool to hide the left bar, which gives more space for layout, but it still shows it if the user has edit permissions.
The option should be changed to apply to users with edit permission as well. However, they will still need access to the links for search, browse, and create page (which are currently in the sidebar). These can be added to the wiki admin menu, and accessed through there.
Diff:
Related
Tickets:
#4208created #125: [#4209] Make Wiki option to not display left bar apply to admins as well (1cp)
Related
Tickets:
#4209closed #125, see 42cc_4209 branch
The left bar is not hidden when editing a page.
Non-admin users need access to Search, so add it as an icon to the Actions bar (just link to the search page, e.g.
/p/allura/wiki/search
).Wiki Home and Formatting Help are not useful on the admin menu; please remove them.
Please remove the empty spacers from the admin menu.
Thus, the admin menu should only have three items added when the left bar is hidden: Create Page, Browse Pages, Browse Labels.
NB: The left bar menu should remain unchanged, so
create_common_wiki_menu
will either need to be split, or have some logic in to handle the differences.created #128: [#4209] Fixes and amendments (1cp)
Related
Tickets:
#4209closed #128, updated 42cc_4209