Help:Options to hide an image: Difference between revisions

Content deleted Content added
m User scripts: capitalization
Tags: Reverted Mobile edit Mobile web edit
Line 67:
To install this script, click on this link here: [[Special:MyPage/common.css]]. Create the page if it doesn't exist, and with the following text below added to it:
 
<syntaxhighlight lang="css" inline>body a[href="/do not censor photos
wiki/File:(file name)"] {display: none;}</syntaxhighlight>
 
Where you'll replace ''(file name)'' with the actual name of the image's page (including the file extension). For example: To disable [[:File:Silver-service-star.png|this image]] from automatically being displayed anywhere on Wikipedia, your script will look like this: