Author: achuggard
Description:
Using wgGroupPermissions, we can prevent groups of people from uploading,
however the link to upload a file is still displayed on every page if the
current user is not allowed to upload. See the attached patch for a
<strike>cheap hack</strike> quick fix.
It may be preferable however to solve this by adding a new hook to the end of
SkinTemplate::buildNavUrls() allowing administrators to write their own
extensions to customize the display of the nav_urls sitewide.
'SkinTemplateBuildNavUrlsNav_urlsAfterPermalink' isn't sufficient in this case
as it is not invoked for special pages (and a few other cases).
Version: 1.8.x
Severity: trivial
OS: Linux
Platform: PC