확장기능:Info

From mediawiki.org
This page is a translated version of the page Extension:Info and the translation is 42% complete.
미디어위키 확장 기능 설명서
Info
출시 상태: 불안정
구현 사용자 인터페이스
설명 Adds an info tab on all normal pages, allowing for quick info displaying
만든 이 Suriyaa Sundararuban (Suriyaa Kudo토론)
유지 보수자 Suriyaa Sundararuban
최신 버전 2.0.0 (2019-06-08)
MediaWiki 1.29+
PHP 5.6+
데이터베이스 변경 아니오
라이선스 GNU 일반 공중 사용 허가서 2.0 or later
다운로드

The Info extension adds an info tab on all normal pages, that allows us to display the site information quickly.

설치

  • 파일을 최신 릴리스 다운로드하고 Info 폴더를 extensions/ 디렉토리에 넣어 주세요.
  • Git에서 설치할 경우, PHP 의존 기능을 설치하려면 Composer를 실행하여 확장 기능 디렉터리에 composer install --no-dev를 발행하십시오. (잠재적인 문제에 대해서는 작업 T173141 을 참고하십시오.)
  • 아래의 코드를 LocalSettings.php 코드의 마지막에 추가합니다.
    wfLoadExtension( 'Info' );
    
  • 갱신 스크립트를 실행합니다. 이 스크립트는 이 확장기능을 필요로 하는 데이터 베이스 테이블을 자동적으로 작성합니다.
  • 필요한 경우 구성
  • Yes 완료 – 위키의 ‘Special:Version’에 이동해서, 확장기능이 올바르게 설치된 것을 확인합니다.

설정

This extension comes with an extra user right called "info" to allow fine grained control of its usage. By default it is assigned to the "user" user group, i.e. to all users with an account who are logged in. In case you would like to also assign it to anonymous users for them to make use of page info display functionality without the need of a post add the following code to your "LocalSettings.php" file right after invoking this extension:

$wgGroupPermissions['*']['info'] = true;

Revoking the permission for the "user" user group and granting it at the same time only to the "sysop" user group may be done by adding the following two lines:

$wgGroupPermissions['user']['info'] = false;
$wgGroupPermissions['sysop']['info'] = true;