확장기능:InterwikiSorting
Appearance
출시 상태: 안정 |
|
|---|---|
| 구현 | 사용자 인터페이스 |
| 만든 이 | Wikimedia Germany (WMDE) |
| 최신 버전 | 지속적인 업데이트 |
| 호환성 정책 | 스냅샷은 미디어위키와 함께 릴리스됩니다. Master is not backward compatible. |
| MediaWiki | 1.27+ |
| PHP | 7.4+ |
| 데이터베이스 변경 | 아니오 |
| 라이선스 | GNU 일반 공중 사용 허가서 2.0 또는 이후 |
| 다운로드 | |
|
|
|
| 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 is being used alongside the Cognate extension and Wikibase.
Installation
- 파일을 다운로드하고
InterwikiSorting폴더를extensions/디렉토리에 넣어 주세요.
개발자와 코딩 기여자는 Git을 이용해 확장기능을 다운받는 것이 좋습니다.cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/InterwikiSorting
- 아래의 코드를 LocalSettings.php 코드의 마지막에 추가합니다.
wfLoadExtension( 'InterwikiSorting' );
- Configure as required
완료 – 위키의 ‘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.
| 이 확장 기능은 하나 이상의 위키미디어 프로젝트에서 사용 중입니다. 이것은 아마도 이 확장 기능이 안정적이고 트래픽이 많은 웹 사이트에서 사용할 수 있을 만큼 충분히 잘 작동한다는 것을 의미합니다. 설치된 위치를 확인하려면 위키미디어의 CommonSettings.php 및 InitialiseSettings.php 구성 파일에서 이 확장 기능의 이름을 찾습니다. 특정 위키에 설치된 확장 기능의 전체 목록은 위키의 Special:Version 문서에서 볼 수 있습니다. |
| This extension is included in the following wiki farms/hosts and/or packages: |
