Extension:MultimediaViewer/ko

This extension comes with MediaWiki 1.31 and above. 따라서 다시 다운로드하지 않아도 됩니다. 하지만 여전히 제공되는 별개의 지침을 따라야 합니다.
Category:Extensions bundled with MediaWiki 1.31/ko Category:GPL licensed extensions/ko
미디어위키 확장 기능 설명서
MultimediaViewer
출시 상태: 안정Category:Stable extensions/ko
구현 사용자 인터페이스Category:User interface extensions/ko, AjaxCategory:Ajax extensions/ko
설명 사용자가 문서 내의 섬네일을 클릭했을 때의 표시 방법을 개선
만든 이
호환성 정책 스냅샷은 미디어위키와 함께 릴리스됩니다. Master is not backward compatible.
MediaWiki 1.25+Category:Extensions with manual MediaWiki version
PHP 5.4+
라이선스 GNU General Public License 2.0 or later
다운로드 Category:Extensions in Wikimedia version control/ko
예제 MediaWiki.org
  • $wgMediaViewerUseThumbnailGuessing
  • $wgMediaViewerRecordVirtualViewBeaconURI
  • $wgMediaViewerImageQueryParameter
  • $wgMediaViewerThumbnailBucketSizes
  • $wgMediaViewerEnableByDefault
  • $wgMediaViewerEnableByDefaultForAnonymous
  • $wgMediaViewerExtensions
Quarterly downloads 73 (Ranked 37th)
Public wikis using 1,926 (Ranked 195th)
MultimediaViewer 확장 기능 번역 (translatewiki.net에서 가능한 경우)
이슈 미해결 작업 · 버그 보고
Category:All extensions/ko

MultimediaViewer 확장 기능은 위키 사용자가 브라우저에서 불필요한 페이지 로드나 혼란스러운 중간 페이지 없이 전체 크기 또는 거의 전체 크기의 이미지를 볼 수 있는 다른 인터페이스를 제공합니다.

설치

You will also likely want to download Extension:CommonsMetadata. It is not a hard requirement, but without it, you will not get much information in the boxes showing details about the images.

On third-party wikis, even if you only use locally uploaded images, you need CommonsMetatada to populate the information in the boxes via a template holding information about the files.)

  • 파일을 다운로드하고 MultimediaViewer 폴더를 extensions/ 디렉토리에 넣어 주세요.
    개발자와 코딩 기여자는 Git을 이용해 확장기능을 다운받는 것이 좋습니다.cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
  • 아래의 코드를 LocalSettings.php 코드의 마지막에 추가합니다.
    wfLoadExtension( 'MultimediaViewer' );
    
  • Configure as required
  • Yes 완료 – 위키의 ‘Special:Version’에 이동해서, 확장기능이 올바르게 설치된 것을 확인합니다.


Vagrant 설치:

  • Vagrant 를 사용하고 있는 경우에는, vagrant roles enable multimediaviewer --provision로 설치해주세요

설정

  • $wgMediaViewerEnableByDefault and $wgMediaViewerEnableByDefaultForAnonymous will determine whether MultimediaViewer is enabled by default for everyone and anonymous users, respectively.

They both default to true.

  • $wgMediaViewerUseThumbnailGuessing will improve performance when enabled, but can be fragile depending on how the wiki is set up (it will probably work fine if you use a 404 handler).
Forced download

To ensure files are offered for download and not viewed in the user's browser following a click on the Download … button, the server has to be configured, except when using vagrant:

If the requested URL to an image directory contains the download query parameter, the Content-Disposition-header must be set to attachment. This can be achieved in Apache and compatible servers using mod_rewrite and mod_headers in a .htaccess file. Varnish configuration can look like this.

Usage testing

Next, go to a page that has a thumbnail on it. Try clicking on the image or on the "expand" icon near it. The lightbox should pop up and give you a bigger view of the image.

If you'd prefer, there's an exported test environment that you can use via "Special:Import" to set up a suitable testing environment quickly.

템플릿

MultimediaViewer and UploadWizard need several templates to show data of photos. Save this code in an XML file and import it in your wiki.

같이 보기

Category:Extensions used on Wikimedia/ko#MultimediaViewer/ko Category:Image extensions/ko
Category:Ajax extensions/ko Category:All extensions/ko Category:BeforePageDisplay extensions/ko Category:CategoryPageView extensions/ko Category:Extensions available as Debian packages/ko Category:Extensions bundled with MediaWiki 1.31/ko Category:Extensions in Wikimedia version control/ko Category:Extensions included in BlueSpice/ko Category:Extensions included in Canasta/ko Category:Extensions included in Fandom/ko Category:Extensions included in Miraheze/ko Category:Extensions included in MyWikis/ko Category:Extensions included in ProWiki/ko Category:Extensions included in Telepedia/ko Category:Extensions included in WikiForge/ko Category:Extensions included in semantic::core/ko Category:Extensions included in wiki.gg/ko Category:Extensions used on Wikimedia/ko Category:Extensions with manual MediaWiki version Category:GPL licensed extensions/ko Category:GetPreferences extensions/ko Category:Image extensions/ko Category:MakeGlobalVariablesScript extensions/ko Category:ResourceLoaderGetConfigVars extensions/ko Category:Stable extensions/ko Category:ThumbnailBeforeProduceHTML extensions/ko Category:UserGetDefaultOptions extensions/ko Category:User interface extensions/ko