확장기능:InterwikiSorting

From mediawiki.org
This page is a translated version of the page Extension:InterwikiSorting and the translation is 21% complete.
미디어위키 확장 기능 설명서
InterwikiSorting
출시 상태: 안정
구현 사용자 인터페이스
만든 이 Wikimedia Germany (WMDE)
최신 버전 지속적인 업데이트
호환성 정책 스냅샷은 미디어위키와 함께 릴리스됩니다. Master is not backward compatible.
MediaWiki 1.27+
PHP 7.4+
데이터베이스 변경 아니오
Composer mediawiki/interwikisorting
라이선스 GNU General Public License 2.0 or later
다운로드

  • $wgInterwikiSortingSort
  • $wgInterwikiSortingSortPrepend
  • $wgInterwikiSortingInterwikiSortOrders
Quarterly downloads 3 (Ranked 141st)
Public wikis using 842 (Ranked 306th)
InterwikiSorting 확장 기능 번역 (translatewiki.net에서 가능한 경우)
이슈 미해결 작업 · 버그 보고

The InterwikiSorting extension allows for sorting of interwiki links.

The code was originally created in 2012 as part of the Wikibase Client extension, and has been factored out.

Within the Wikimedia Foundation this extension will be used alongside the Cognate extension and Wikibase .

다운로드

The extension can be retrieved directly from Git

[?]:

  • Browse code
  • Some extensions have tags for stable releases.
  • Each branch is associated with a past MediaWiki release. There is also a "master" branch containing the latest alpha version (might require an alpha version of MediaWiki).

Extract the snapshot and place it in the extensions/InterwikiSorting/ directory of your MediaWiki installation.

If you are familiar with Git and have shell access to your server, you can also obtain the extension as follows:

cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/InterwikiSorting.git

Installation

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

Configuration

$wgInterwikiSortingSort
The default sort order to use. 'code' is built in and orders alphabetically by interwiki code.
Example sort orders are currently stored in WMF configuration and can be seen at Phabricator
These can be seen used in noc.wikimedia.org under wgInterwikiSortingSort
$wgInterwikiSortingSortPrepend
Codes that should appear at the start of the list of interwiki links.
$wgInterwikiSortingInterwikiSortOrders
Definition of sort orders. Each sort order key should be the sort order name, for example 'alphabetical'. Each key should have a value of an array of interwiki codes in the order to be sorted.