Index: trunk/extensions/Wikidata/OmegaWiki/forms.php |
— | — | @@ -62,7 +62,8 @@ |
63 | 63 | global $wgUser; |
64 | 64 | $dc = wdGetDataSetContext(); |
65 | 65 | if ( ($dc == "uw") and (! $wgUser->isAllowed( 'deletewikidata-uw' ) ) ) { |
66 | | - return getCheckBoxWithOnClick( $name, false, "removeClicked(this);", true ); |
| 66 | + // do not print the checkbox |
| 67 | + return ''; |
67 | 68 | } else { |
68 | 69 | return getCheckBoxWithOnClick( $name, false, "removeClicked(this);" ); |
69 | 70 | } |