Help:Extension:Media Viewer/zh

欢迎到媒体查看器的帮助页面，这是个用于维基媒体站点的新多媒体浏览工具. Special:MyLanguage/Extension:Media Viewer/About

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

什么是媒体查看器？
媒体查看器是致力于提高维基百科、维基共享资源和 MediaWiki 站点观看体验的新多媒体浏览工具. 它能让您查看大图并显示作者、许可条款及其他元数据等信息. 它还提供了用于共享、内嵌和下载媒体文件的一些工具.

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

为何需要媒体查看器？
媒体查看器致力于：


 * 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.

我如何使用媒体查看器？
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

在下方了解更多有关此功能的东西.

如何绕过媒体查看器？
To bypass Media Viewer and access the file description page directly, you can use one of these mouse and keyboard shortcuts when clicking on an image thumbnail:
 * Shift+Click – Open the file page in a new browser window.
 * Ctrl+Click – Open the file page in a new background tab.
 * Ctrl+Shift+Click – Open the file page in a new foreground tab.

Note that mouse and keyboard shortcuts may vary depending on your browser and user configuration. For more information, check your browser support pages, such as these: Chrome, Firefox or Internet Explorer.

如何关闭该功能？


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).

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

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

Registered users can also disable Media Viewer on every wiki by adding  to their global.js file.

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

如何重新启用该功能？


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

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.

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

我如何不启用媒体查看器就查看图片？
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').

我如何关闭媒体查看器？


要关闭媒体查看器有多种方法：
 * 点击媒体查看器面板右上角的‘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.

我如何通过一组图片浏览？


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.

我如何判断图像能否重新使用？
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.

我如何编辑、调整或讨论某个图像？
要编辑、调整或讨论图像，您需要到其存放处（如维基共享资源）的文件描述页面.

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

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

我如何从wiki文本连接至一个图片？
要链接至一张图片以通过媒体查看器打开，您可以使用如下wiki文本代码：

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 elements in articles that are considered not to be part of the proper content of the article: annotations, maintenance templates, navigation links, media controls, etc. Media Viewer is not the only tool that ignores content marked as metadata.
 * For images contained in 'metadata' content that is not related to the page's topic (e.g. Template:Ambox icons): you can disable Media Viewer for these files by adding this "metadata" class around their image tag:


 * 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:


 * For images that are used to link to another document, using the  image parameter, you don't need to do anything; Media Viewer will ignore such images automatically.

媒体查看器支持哪些平台？
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.

如何报告技术问题？
我们很欢迎社群反馈的技术问题. 如果您遇到了，请点此在Phabricator提交错误报告.

您也可以提交报告至该讨论页，包括您使用的浏览器和操作系统的相关信息和截图. :)

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.

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

媒体查看器预计将添加哪些新功能？
目前没有计划为媒体查看器添加的新功能.

在2014年秋季，多媒体开发团队开发了非常多的新改进，基于可用性调查和社群反馈.

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.