Content deleted Content added
Sept14tata (talk | contribs) No edit summary Tags: Reverted Visual edit Mobile edit Mobile web edit |
m Reverted edits by 94.202.250.8 (talk): unexplained content removal (HG) (3.4.12) |
||
(36 intermediate revisions by 25 users not shown) | |||
Line 1:
{{Short description|Wikipedia help page}}
{{Wikipedia how to|HELP:NOSEE|HELP:NOIMAGE}}
Some
▲Some people do not wish to see some images on Wikipedia for various reasons – images may not be [[NSFW|suitable for a work environment]]; they may wish to [[Wikipedia:Advice for parents|prevent their children from seeing such images]]; their religion may forbid it; and so on.
[[Wikipedia:Wikipedia is
However, readers who wish to prevent certain images from displaying have options to customize their experience.
This page is more suitable for you if:
Line 12:
Wikipedia readers can influence how Wikipedia content is displayed on their screens in two ways:
#By [[Wikipedia:Creating an account|creating an account]] and reading Wikipedia while logged in. Logged-in users can use personal [[Help:Cascading Style Sheets|Cascading Style Sheets]] (CSS)
#By filtering content locally, either by configuring their [[web browser]] (including the possibility to display no images at all), or by setting up a [[proxy server|proxy]] (such as [[Privoxy]]).
==Wikipedia user preferences==
{{see|Help:Cascading Style Sheets}}
To create an account, visit <span class="plainlinks">[https://en.wikipedia.org/w/index.php?title=Special:CreateAccount&returnto=Help:Options_to_hide_an_image
* [[Help:Options to hide an image#Disable images on specific pages|Disabling images on selected pages]]
[[File:Battenburg-white-blue.svg|thumb|All images will be replaced by this [[Battenburg markings|Battenburg pattern]] until you click on them in order to view the image]]▼
* [[Help:Options to hide an image#Disable specific images|Disabling specific images]]
* [[Help:Options to hide an image#Disable images in search widget for certain skins|Disabling the display of images in searches]]
===Hide all images until they are clicked on===
▲[[File:Battenburg-white-blue.svg|thumb|All images will be replaced by this [[Battenburg markings|Battenburg pattern]] placeholder image, until you click on them
You can install a user script called [[User:Anomie/hide-images]] which replaces all images with a placeholder image. Clicking the placeholder image will reveal the original image. To hide images in this fashion, install the required user script by following the directions below:
{{ctop|title=Instructions for installation}}
First, copy the following text below to your [[Special:MyPage/common.js|common.js]] page:
Line 35 ⟶ 39:
<syntaxhighlight lang="css" inline>@import url('//en.wikipedia.org/w/index.php?action=raw&title=User:Anomie/hide-images.css&ctype=text/css');</syntaxhighlight>
{{cbot}}
▲[[ToimportScript('User:Anomie/hide-images.js')]] reveal and display an individual image on a Wikipedia page, simply click on the checkerboard pattern. You can simply reload the page in order to re-hide the images. To turn this entire feature off, simply undo the changes you made when you followed the instructions above.
===Disable images on specific pages===
{{ctop|title=Instructions
To
<syntaxhighlight lang="css" inline>.page-(
Where you'll replace
For example, to disable images from automatically displaying on the [[Muhammad]] article, your addition will look like this: <syntaxhighlight lang="css" inline>.page-Muhammad img {display: none;}</syntaxhighlight>
If the page name includes spaces or punctuation marks,
{| class="wikitable"
▲If the page name includes spaces or punctuation marks, use underscores instead. An example is below:
! Page name !! {{ya}} Correct !! {{na}} Incorrect
|-
| [[Muhammad (name)]] || <syntaxhighlight lang="css" inline>.page-Muhammad_name img {display: none;}</syntaxhighlight> || <syntaxhighlight lang="css" inline>.page-Muhammad (name) img {display: none;}</syntaxhighlight>▼
|-
| ''[[Did Muhammad Exist?]]'' || <syntaxhighlight lang="css" inline>.page-Did_Muhammad_Exist img {display: none;}</syntaxhighlight> || <syntaxhighlight lang="css" inline>.page-Did_Muhammad_Exist? img {display: none;}</syntaxhighlight>
|}
Create a newline, with the same code for each page you'd like to disable images on.
▲<syntaxhighlight lang="css" inline>.page-Muhammad (name) img {display: none;}</syntaxhighlight>
{{cbot}}
Line 64 ⟶ 69:
You can also disable specific images by individual filename. To enable this option, follow the instructions listed below:
{{ctop|title=Instructions
<syntaxhighlight lang="css" inline>body a[href="/wiki/File:(file name)"] {display: none;}</syntaxhighlight>
Where you'll replace
<syntaxhighlight lang="css" inline>body a[href="/wiki/File:Silver-service-star.png"] {display: none;}</syntaxhighlight>
Line 79 ⟶ 84:
<syntaxhighlight lang="css" inline>body a[href="//commons.wikimedia.org/wiki/File:(file name)"] {display: none;}</syntaxhighlight>
Where, again, you'll replace
{{cbot}}
Line 87 ⟶ 92:
===Disable images in search widget for certain skins===
<syntaxhighlight lang="css">span.wvui-typeahead-suggestion__thumbnail {
background-image:none !important;
Line 94 ⟶ 99:
==Configure your browser==
===How to block images site-wide
====
Modifying the preference in [https://support.mozilla.org/en-US/kb/about-config-editor-firefox ''about:config'']:
extensions.contentblocker.enabled = true
#Click on the
▲====[[Google Chrome]]====
▲#Click on the padlock next to the site's URL address. Navigate to ''Site settings''.
#Scroll down to ''Images''.
#Change setting to ''Block''.
====User scripts====▼
With a [[userscript manager]] such as [[Tampermonkey]], you can install "[https://greasyfork.org/en/scripts/524816-hide-images-3 hide-images-3]", which hides images in Wikipedia until they are clicked on.
===How to set up your browser not to see images at all===
▲====User scripts====
====Google Chrome====
#Click top right icon on Google Chrome browser, then choose
#Click
#Under "Default behaviour", select "Don't allow sites to show images".
▲====[[Mozilla Firefox]] ====
=====With add-on=====
Line 136 ⟶ 132:
# Go to settings
# Click on other, the last item on the settings list.
# Under
# Scroll down to images, click on do not show any images.
* Note: UC Browser and UC Browser mini serves better than Google Chrome, Mozilla Firefox and Opera browser for browsing editing in Wikipedia and other Wikimedia projects with hiding images, specially in android versions.
Line 176 ⟶ 172:
==Use a proxy filter==
You can selectively block content by using a [[web filter]] program. Freely available examples include [[Privoxy]] and [[DansGuardian]]. Once you have installed such a program, you can exert fine-grained control over what content is received by your web browser. This method can also be used for system administrators for schools and workplaces to restrict the access of potentially inappropriate images to students/employees. If you are using a URL based filter which also blocks images from a host, blocking Wikimedia will also block all images. Please note by doing this, some system icons on Wikipedia may no longer be visible as they are hosted on Wikimedia. Also any images from
==See also==
|