Help:Extension:Media Viewer/zh

欢迎到媒体查看器的帮助页面，这是个用于维基媒体站点的新多媒体浏览工具.

本页中包含了该计划关键特性的常见问题.

媒体查看器是什么？
Media Viewer is a new multimedia browser that aims to improve the viewing experience on Wikipedia and Wikimedia sister projects. It lets you view images in larger size, with useful information about their contents, authors and related metadata. It also offers a number of tools to share, download or embed media files.

This tool was developed by the Wikimedia Foundation's multimedia team. To learn more about Media Viewer, read below or visit this product page.

为何需要媒体查看器？
Media Viewer aims to:


 * improve the viewing experience for readers
 * make it easier to preview and browse images
 * provide a quick summary, with easy access to details
 * offer features such as enlarge, download, share and embed

Media Viewer was created for readers and casual editors, the primary target users for this tool. Over time, these features can encourage them to contribute more to Wikipedia and Wikimedia sister projects.

How can I use Media Viewer?
To open an image in Media Viewer, click on its thumbnail on any article, gallery or category page. This will display a larger image in Media Viewer, as long as the tool is enabled.

Media Viewer is now enabled by default on all Wikimedia sites, but can be disabled by any user, as described below.

From a file description page, click on "Open in Media Viewer" below the image to view it with this tool.

媒体查看器如何运行？
When you click on a thumbnail in an article, a large version of the image appears in Media Viewer's ‘light box view’, right over the page where you clicked.

From here, you can access a number of features:
 * read the image description
 * browse through related images
 * enlarge the image (or view it in full screen)
 * learn more about the image and its authors
 * get more details on the file page
 * share, embed or download the image
 * close Media Viewer
 * disable (or enable) Media Viewer

Learn more about these features below.

如何绕过媒体查看器？
To bypass Media Viewer and access the file description page directly, press one of these keys when clicking on a thumbnail:
 * shift-click: open the file page in a new window
 * command-click: open the file page in a new tab
 * control-click: show a menu of options

如何关闭该功能？


To disable Media Viewer, click on the 'cogs' icon at the top right corner of Media Viewer, below the full-screen control (see screenshot). Then click on "Disable Media Viewer." From now on, images will no longer open in Media Viewer: clicking on thumbnails will take you to the file description page on Wikimedia Commons or other file repository. This Disable feature works for registered users (using a site preference), as well as unregistered or 'anonymous' users (using a file stored locally on your computer).

注意这个禁用功能只在您活跃的网站上工作：在维基共享资源禁用媒体查看器将不会在您所贡献的维基百科或其他姊妹项目上禁用.

如果您是注册用户，您还可以在选项中禁用媒体查看器：选择“外观”段，接着取消选中“文件”下的该选项：“[ ] ”. 点击“保存”后，您的账户登录到该站点时则不会在媒体查看器中打开图像了.

如果要重新启用媒体查看器，请参照下面的说明.

如何重新启用该功能？


如果您关闭了媒体查看器并希望重新启用它，请打开您希望使用此工具的网站上任何文件的说明页面. 接着点击图像下的“扩展视图”按钮，然后往下滚动到图像下方的信息面板并点击“重新启用媒体查看器”（见截图）. 这种启用方法适用于注册用户（通过站点的参数设置）及未注册或匿名用户（通过保存在本地电脑的文件）.

Note that this Enable feature only works on the site where you activate it: enabling Media Viewer on Wikimedia Commons will not enable it on your home Wikipedia or other sister projects.

如果您是注册用户，您还可以在“选项”中重新启用媒体查看器：选择“外观”段并选中“文件”下的该选项：'[ ] ’，然后点击保存. 以后您的账户登录到该站点时图像会再次在媒体查看器中打开.

How can I view an image without enabling Media Viewer?
If you have turned off this feature but wish to view an image in Media Viewer without re-enabling the tool permanently, visit its file description page. Then click on the "Open in Media Viewer" button below that image: this will open it in Media Viewer, but only for that image at that time.

Note that you can sometimes open an image in Media Viewer without enabling that feature by clicking on a link that includes the Media Viewer parameters at the end of the URL (e.g.: '#mediaviewer/File:foo.jpg').

How can I close Media Viewer?


要关闭媒体查看器有多种方法：
 * 点击媒体查看器面板右上角的‘X’按钮（请参阅右边的缩略图）
 * 按下键盘的‘Esc’ 键

一些情况下，您还可以点击浏览器中的‘后退’按钮返回到链接媒体查看器中图像的页面.

我如何查看更多信息？


Media Viewer shows basic information on the image you are viewing, right at the bottom of the screen. This includes the file caption or description, as well as the author, source and license information.

For more information, simply scroll down to see a ‘metadata panel’ that includes: a longer description (if available), who uploaded this file, when it was created or uploaded -- as well as links to Media Viewer information, such as this help page. (You can also click the up or down arrow keys on your keyboard to see this panel.)

If you would like even more information, click on the big blue 'More details' button, which lets you view the file description page on Wikimedia Commons or other file repository.

How can I browse through a collection of images?


To browse through all the images in a collection, you can use the 'Next' and 'Previous' arrow buttons, which appear to the left and right of images in Media Viewer (see thumbnail to the right).

A collection can include all the images in an article, a gallery or a category page. You can also use the left and right arrow keys on your keyboard for this feature.

我如何放大一张图片？


To enlarge an image, simply click on it. (As a reminder, your cursor turns into a magnifier icon when you hover over an image.)

This will open the original image in its largest size, on Wikimedia Commons or the file repository site where it was first uploaded.

You can then use your browser zoom feature to examine details of the image, or right-click it to use this file in a variety of ways. In this view, the Media Viewer controls disappear completely, so you can interact the image directly.

To view the image in Media Viewer again, simply click the 'go back' button in your browser.

如何全屏查看图像？


To see an image in full screen, click on the full screen button at the top right of the Media Viewer panel (the icon with two opposing arrows - see icon to the right).

This will show a large image across your entire screen, not just the browser window. This full-screen view is completely uncluttered, so you can focus exclusively on the image, with no other distractions. In this mode, you can hover over the image to see the controls, the file caption, author, source and license.

To exit full screen mode, you can click on the same button to return to the light box view. (To exit Media Viewer, select the close ‘X’ button or press the 'Esc' key.)

我如何使用不同尺寸查看图片？
To view images in different sizes, click on the ‘Download’ button (the down arrow icon at the lower right corner of the screen). This opens the ‘Download' panel, with the original image size pre-selected.

To pick a different size, click the down arrow in the green Download button, and select the size that best fits your needs (e.g. Original, Small, Medium or Large).

Then click on 'View in browser' below the green button to open the file at that size, in a separate tab.

我如何下载图像？
要下载图像，点击“使用此图像”按钮（屏幕右下角有个弯箭头图标），然后点击“下载”. 这将让您浏览器触发下载行为，从而弹出下载器（例如迅雷）. 有些浏览器也在鼠标停在图片时额外出现下载按钮.

To download an image in a different size, click the down arrow in the green Download button, where you can pick the size that best fits your needs (e.g. Original, Small, Medium or Large). Then click the green button again to download that image size. You can also preview any of these sizes, before you download: click on 'View in browser' below the green button to open the file at the selected size.

请在下载使用前检查文件的许可条款，确保允许该用途. 同时请根据这些条款的要求包括到所有必须的贡献者和链接：这些贡献者包含在内嵌面板中，您可从那里复制并用于别处. 点击标签以获取完整许可，您可以复制和粘贴纯文本或HTML.

如何分享图像？


To share images you find in Media Viewer, click on the ‘Share / Embed’ button (the curved arrow icon at the lower right corner of the screen - see icon to the right). The 'Share' tab is shown first, and includes show a link to the selected image, which you can copy and paste to share it with your community. Note that for now, this link will open the image in Media Viewer on its file repository page (e.g. Commons), not on the page where you found it.

如何把图像嵌入到其他页面？
To use an image on another wiki page or website, click on the ‘Share / Embed’ button (the curved arrow icon at the lower right corner of the screen - see icon to the right). Then click on the 'Embed' tab. This will show the code needed to display the selected image, which you can copy and paste into your page’s code.

要添加图像到 wiki 页面，请选择‘WikiText’. 要添加到标准网页，请选择‘HTML’. 必要的属性和许可信息包含在 HTML 代码及相应链接中.

大小选择工具可让您选取适合页面的最佳大小. 注意，您还可以改变代码中图像的高度和宽度.

Please check the license terms of a file before embedding it on a page, to confirm that your use is covered. Also, please include all required credits and links to comply with their license terms.

How can I tell if an image can be re-used?
Many of the images you find in Media Viewer can be re-used freely, as long as you provide attribution and comply with their license terms. For example, some images are licensed under Creative Commons terms (e.g. CC-BY or CC-BY-SA). Others are public domain or available under some other license.

To find out what these license terms mean, simply click on the license label at the lower right of Media Viewer, right below the blue 'More details' button. In some cases, it will show you the license details on the Creative Commons site. In other cases, it will show the license in in the metadata panel -- or it will go to the file description page on the repository site, where you can learn more.

If an image has special licensing terms or requires special credits or permissions, a ‘view terms’ link will be added next to the license label. Click on it to see the permission details and special requests from the author or source.

How can I edit, curate or discuss an image?
要编辑、管理或讨论图像，您需要到其存放处（如维基共享资源）的文件描述页面.

您可以通过以下按钮之一进行此操作：
 * 若已登录，则点击‘文件页’图标（屏幕右边靠下的特殊图标，通常在维基共享资源）.
 * 若未登录，请点击‘更多细节’（或‘了解更多’）链接（图像下元数据面板中的右列）.

A site icon in the 'More details' button shows whether it links to Wikimedia Commons or another file repository (indicated with a 'W' logo).

How can I link to an image from Wikitext?
To link to an image so that it opens in Media Viewer, you can use this Wikitext code:

Clicking on this link will open the linked image in Media Viewer, as an overlay covering the linked page.

如何为无关图像禁用媒体查看器？
有时媒体查看器显示图像会让用户感到困扰，包括与页面主题无关的元数据（如小图标、标记）. 当这些不是条目内容的一部分时，我们希望编者禁止这些图像显示在媒体查看器中.


 * 注意，该方法仅应用于标记不是条目内容一部分的那些元素：注释、管理目标、导航链接和媒体控制等. 此时我们不推荐使用  来禁用图像的媒体查看器，因为这会阻止用户访问该图像重要的归属和许可信息. 将来还可以通过其他方法让图像不显示在媒体查看器中.

(please only use this method to mark images that cannot be viewed effectively in Media Viewer because important details are hard to view with this tool; this method is intended for special cases, not for widespread use with images that can be viewed well in Media Viewer.)
 * For other images that are not 'metadata' files, but do not display properly in Media Viewer (e.g. maps or diagrams with unreadable labels, small icons, flags): you can disable Media Viewer for these files by adding this "noviewer" class inside their image tag:

媒体查看器支持哪些平台？
Media Viewer works on most modern web browsers for desktop computers: Chrome, Firefox and Safari's latest stable versions -- as well as Internet Explorer versions 9 and above. At this time, Media Viewer does not work on IE8 and below, and it is disabled for mobile devices (a simple media viewer is now provided for mobile devices, but lacks most of the features of the desktop version). In future releases, we plan to provide a mobile version of Media Viewer, as well as wider browser support on desktop platforms.

媒体查看器支持哪些文件格式？
At this time, Media Viewer only supports the most widely used image file formats on Wikimedia sites (e.g.: JPEG, GIF, PNG, TIFF, SVG). In future releases, we will add support for PDF, audio, video and other file formats.

如何报告技术问题？
We welcome bug reports from our community. If you find a technical issue, please file a bug here on Phabricator.

You can also post your report on this discussion page, with a screenshot and information on your browser and operating system :).

Before reporting a bug, check first that this issue is not already on this list of known bugs. In case it’s already been fixed, you may also want to test it on this test page on MediaWiki.org -- where new features are released a week before the rest of the wikis.

如何讨论该工具的新功能？
Please let us know what you think of Media Viewer. You are welcome to participate on this discussion page.

Tens of thousands of users around the world helped test Media Viewer during its development. Here are suggested improvements collected through community consultations, user surveys and other feedback they kindly shared with our development team. Many of these improvements have now been implemented.

哪里有媒体查看器的技术信息？
关于此工具的更多技术信息，请参阅以下两个位于MediaWiki.org的拓展页面：多媒体查看器和共享资源元数据.

媒体查看器何时测试和发布的？
Media Viewer was tested extensively for about nine months by tens of thousands of beta users around the world, starting in November 2013, as part of the Beta Features program. This allowed users to enable Media Viewer long before it was released on their sites, by clicking on the small 'Beta' link next to 'Preferences' in their personal menu.

We also conducted rigorous usability studies throughout development, such as this recent usability test -- and ran extensive user surveys with over 18,000 responses in 8 different languages. Additional community suggestions were collected through this widely promoted community consultation on many large wikis around the world, as well as as our regular talk page.

After addressing key issues identified by our testers, Media Viewer was gradually released between April and June 2014. Local deployments took place on different sites every week, through the middle of June 2014, when this feature was enabled by default on all wikis hosted by the Wikimedia Foundation. We then asked for more community feedback and did another round of improvements based on new suggestions, as outlined above.

更多信息请参阅此发布计划页面.

媒体查看器预计将添加哪些新功能？
No new features are planned for Media Viewer at this time.

In fall 2014, the multimedia team developed a wide range of new improvements, based on usability research and community feedback.

Here are the improvements that were released in November 2014, to make Media Viewer easier to use by readers and casual editors, our primary target users for this tool:
 * an easier way to enlarge images
 * image captions right below the image
 * a more prominent button linking to the File: page
 * clearer icons for Download and Share
 * an easier way to disable the tool for personal use

If you have any suggestions for improving this tool in future releases, please let us know on this discussion page.