Last modified: 2006-07-10 08:17:16 UTC
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).
Created attachment 2067 [details]
Patch to SkinTemplate.php
Priority -> Low, Severity -> trivial
*** This bug has been marked as a duplicate of 3556 ***