Jump to content

Extension:WSSemanticParsedText/ko

From mediawiki.org
This page is a translated version of the page Extension:WSSemanticParsedText and the translation is 14% complete.
미디어위키 확장 기능 설명서
WSSemanticParsedText
출시 상태: 관리되지 않음
구현
설명 This extension extends Semantic MediaWiki to provide full-text search with parsed wikitext.
만든 이 Wikibase Solutions
최신 버전 2.1.1 (2023-05-11)
MediaWiki >= 1.31.0
데이터베이스 변경
Licence GNU General Public License 2.0 or later
다운로드

This extension is abandoned; You should install WikiSearch, which includes the functionality provided by this extension.

The WSSemanticParsedText extension extends Semantic MediaWiki to provide full-text search with parsed wikitext. This extension replaces the raw wikitext search with stripped parsed wikitext search.

The extension works by overriding the ElasticFactory used while indexing with an ElasticFactory that provides a new Indexer object that overrides the fetchNativeData function to return (stripped) parsed wikitext instead of raw wikitext.

설치

This extension requires Semantic MediaWiki with ElasticStore configured.
  • 파일을 Download하고 WSSemanticParsedText 폴더를 extensions/ 디렉토리에 넣어 주세요.
  • Git에서 설치할 경우, PHP 의존 기능을 설치하려면 Composer를 실행하여 확장 기능 디렉터리에 composer install --no-dev를 발행하십시오. (잠재적인 문제에 대해서는 T173141 을 참고하십시오.)
  • 아래의 코드를 LocalSettings.php 코드의 마지막에 추가합니다.
    wfLoadExtension( 'WSSemanticParsedText' );
    $smwgElasticsearchConfig["indexer"]["raw.text"] = true;
    
  • 갱신 스크립트를 실행합니다. 이 스크립트는 이 확장기능을 필요로 하는 데이터 베이스 테이블을 자동적으로 작성합니다.
  • Run the following script from the root of your installation directory:
php extensions/SemanticMediaWiki/maintenance/rebuildElasticIndex.php
  • Yes 완료 – 위키의 ‘Special:Version’에 이동해서, 확장기능이 올바르게 설치된 것을 확인합니다.