확장 기능:전역 사용자 문서

This page is a translated version of the page Extension:GlobalUserPage and the translation is 25% complete.
미디어위키 확장 기능 설명서
OOjs UI icon advanced-invert.svg
GlobalUserPage
출시 상태: 안정
구현 사용자 인터페이스
설명 Enables global (shared between wikis) user pages on a wiki farm.
만든 이 Jack Phoenix, Kunal Mehta
최신 버전 0.11.1 (2017-09-18)
호환성 정책 스냅샷은 미디어위키와 함께 릴리스됩니다. Master is not backward compatible.
MediaWiki 1.37+
PHP 5.5.9+
라이선스 GNU General Public License 3.0 or later
다운로드
도움말 Help:Extension:GlobalUserPage/ko
예제 ShoutWiki
  • $wgGlobalUserPageAPIUrl
  • $wgGlobalUserPageTimeout
  • $wgGlobalUserPageDBname
  • $wgGlobalUserPageFooterKey
  • $wgGlobalUserPageCacheExpiry
GlobalUserPage 확장 기능 번역 (translatewiki.net에서 가능한 경우)

사용법과 버전 매트릭스를 확인합니다.

이슈 미해결 작업 · 버그 보고
Coolest Tool Award 2020 square logo.svg

GlobalUserPage

2020 Coolest Tool
Award Winner

in the category
Reusable


The GlobalUserPage extension enables global (shared between wikis) user pages on a wiki farm.

This extension was developed by Jack Phoenix for ShoutWiki , originally based on the Extension:HelpPages by Kunal Mehta (the extensions no longer share any code).

User documentation

도움말:확장 기능:전역 사용자 페이지 참고.

Caveats

Using this extension comes with a few security risks. You must absolutely trust the central wiki and its admins, as they can easily insert raw HTML into your wiki, opening up XSS holes and other bad things.

설치

  • 파일을 다운로드하고 GlobalUserPage 폴더를 extensions/ 디렉토리에 넣어 주세요.
  • 아래의 코드를 LocalSettings.php의 말미에 추가합니다:
    wfLoadExtension( 'GlobalUserPage' );
    
  •   완료 – 위키의 ‘Special:Version’에 이동해서, 확장기능이 올바르게 설치된 것을 확인합니다.

설정

  • $wgGlobalUserPageAPIUrl - the URL to the central wiki's api.php . This URL is internally used to fetch the global user page's text.
  • $wgGlobalUserPageCacheExpiry - controls how long to cache the rendered HTML for. The default is 60 * 60 * 24 * 7 (one week). The HTML is usually invalidated upon editing, but this is a worst case fallback.
  • $wgGlobalUserPageDBname - the name of the database where global user page data is stored, i.e. usually this should be set to the same value as $wgSharedDB .
  • $wgGlobalUserPageFooterKey - message key to add as a footer to the bottom of global user pages, or false if no footer should be added.
  • $wgGlobalUserPageTimeout - Timeout for internal API requests, to use $wgHTTPTimeout set this to the string "default".