Extension:XenForoAuth/ko
This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored. If you are interested in taking on the task of developing and maintaining this extension, you can request repository ownership. As a courtesy, you may want to contact the author. You should also remove this template and list yourself as maintaining the extension in the page's {{확장 기능}} infobox. |
출시 상태: 관리되지 않음 |
|
|---|---|
| 구현 | 사용자 식별 |
| 설명 | Provides login with a XenForo account in a configurable XenForo forum. |
| 만든 이 | Florian Schmidt (Florianschmidtwelzow토론) |
| 최신 버전 | 0.1.0 |
| MediaWiki | 1.27+ |
| PHP | 5.5+ |
| 데이터베이스 변경 | 예 |
|
|
| Licence | MIT License |
| 다운로드 | |
| XenForoAuth 확장 기능 번역 (translatewiki.net에서 가능한 경우) | |
The XenForoAuth extension allows wiki users to login with an account of a XenForo based online-forum. The extension uses the XenForo bd Api plugin (which needs to be installed on the XenForo forum in order to work with this extension) to request basic profile information.
Requirements
To use this extension you need at least:
- MediaWiki 1.27+
- MySQL (no PostgreSQL or SQLite support for now!)
- PHP 5.5+
- An API client in the forum with which your users can authenticate
- Able to run
composer update
설치
- 파일을 다운로드하고
XenForoAuth폴더를extensions/디렉토리에 넣어 주세요.
개발자와 코딩 기여자는 Git을 이용해 확장기능을 다운받는 것이 좋습니다.cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/XenForoAuth
- 아래의 코드를 LocalSettings.php 코드의 마지막에 추가합니다.
wfLoadExtension( 'XenForoAuth' );
- 갱신 스크립트를 실행합니다. 이 스크립트는 이 확장기능을 필요로 하는 데이터 베이스 테이블을 자동적으로 작성합니다.
- Configure the required parameters
완료 – 위키의 ‘Special:Version’에 이동해서, 확장기능이 올바르게 설치된 것을 확인합니다.
Configuration
The extension provides two configuration variables to set the Client ID and Client Secret (you get this pair in the API Client settings of the XenForo forum, remove "<" and ">"). You also need to configure the base url where the api can be reached.
$wgXenForoAuthClientSecret = '<your-client-secret>';
$wgXenForoAuthClientId = '<your-client-id>';
$wgXenForoAuthBaseUrl = 'https://example.com/api/';
Additional Configuration parameter
| Configuration variable | Default value | Description |
|---|---|---|
| $wgXenForoAuthButtonIcon | 'images/xenForo_icon.png'
|
The icon, which will be added to the "Log in with XenForo" button. Normally you would set the path to the icon of the forum here. The value has to be surrounded with '.
|
| $wgXenForoAuthAutoCreate | false
|
Whether users from XenForo should be autocreated in this wiki. If you set this to true and a user logs in with XenForo and doesn't have a local connected account, it will be created automatically. If the username is already registered, the user will get an error message, that he couldn't be logged in.
|
Settings for the API Client
Please make sure, that you created an API Client in XenForo.
Please also set your full URL to Special:UserLogin into the Redirect Uri input field (e.g. https://www.example.com/wiki/Special:UserLogin).
Please also add your domain to the White-listed Domains input field (e.g. *.example.com).
