https://bugzilla.wikimedia.org/show_bug.cgi?id=17963
--- Comment #6 from [email protected] 2009-03-18 05:59:36 UTC --- Ah: a greyed out unclickable talk link! But wait, that would make the user ever more furious: "why won't you let me even read it!?" Also greyed out unclickable links would require big code enhancement. Hmmm. Wait, I have made a workaround via a hook to undo the ugliness after it has been made: function JidanniLessRedContentActions($sktemplate,$content_actions){ if('new'==$content_actions['talk']['class']&&!$sktemplate->mTitle->quickUserCan('createtalk')){ unset($content_actions['talk']);} if('selected new'==$content_actions['nstab-category']['class']){ $content_actions['nstab-category']['class']='selected';} return true;} $wgHooks['SkinTemplateTabs'][]='JidanniLessRedContentActions'; I'll use my hook for now... -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
