Jump to content

Extension:TitleKey/ko

From mediawiki.org
This page is a translated version of the page Extension:TitleKey and the translation is 11% complete.
미디어위키 확장 기능 설명서
TitleKey
출시 상태: 안정
구현 검색
설명 Provides a case-insensitive page title prefix search
만든 이 Brooke Vibber토론
최신 버전 continuous updates
MediaWiki 1.25+
데이터베이스 변경
Licence GNU General Public License 2.0 or later
다운로드
README
TitleKey 확장 기능 번역 (translatewiki.net에서 가능한 경우)
이슈 미해결 작업 · 버그 보고

The TitleKey extension provides a case-insensitive page title prefix search. It uses a separate table for the keys so that it can be deployed without an expensive rebuild of core tables and uninstalled later in preference for a different search extension such as CirrusSearch .

For the average site administrator, the benefit of this extension is that it allows search suggestions (e.g., from Opensearch API) to be case-insensitive.

This extension is incompatible with CirrusSearch .

설치

  • 파일을 다운로드하고 TitleKey 폴더를 extensions/ 디렉토리에 넣어 주세요.
    개발자와 코딩 기여자는 Git을 이용해 확장기능을 다운받는 것이 좋습니다.
    cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/TitleKey
    
  • 아래의 코드를 LocalSettings.php 코드의 마지막에 추가합니다.
    wfLoadExtension( 'TitleKey' );
    // For MW 1.43.0 and above, no further configuration is needed.
    
    // For MW 1.42.x (use SearchEngineMySQL, SearchEnginePostgres, or SearchEngineSqlite depending on your $wgDBtype)
    $wgSearchType = MediaWiki\Extension\TitleKey\SearchEngineMySQL::class;
    
    // For MW 1.39.x to 1.41.x
    $wgSearchType = MediaWiki\Extension\TitleKey\SearchEngine::class;
    
  • 갱신 스크립트를 실행합니다. 이 스크립트는 이 확장기능을 필요로 하는 데이터 베이스 테이블을 자동적으로 작성합니다.
  • Yes 완료 – 위키의 ‘Special:Version’에 이동해서, 확장기능이 올바르게 설치된 것을 확인합니다.

Maintenance

The RebuildTitleKeys maintenance script can be used at any time to rebuild the title index (this requires command-line access):

$ path/to/mediawiki/maintenance/run.php RebuildTitleKeys

Or, for MediaWiki before 1.40:

$ php path/to/mediawiki/extensions/TitleKey/maintenance/rebuildTitleKeys.php