스킨:페미위키
Jump to navigation
Jump to search
Outdated translations are marked like this.
![]() | Please do not mark this page for translation yet. It is still being drafted. |
Femiwiki Release status: stable |
|||
---|---|---|---|
![]() |
|||
Author(s) | Femiwiki Team | ||
MediaWiki | 1.34+ | ||
License | GNU Affero General Public License 3.0 or later | ||
Download | GitHub: Note: CHANGELOG |
||
Example | femiwiki.com skins.toolforge.org(broken) | ||
|
|||
Translate the Femiwiki skin if it is available at translatewiki.net | |||
Check usage and version matrix; |
페미위키는 페미위키를 위한 반응형 스킨입니다. 이 스킨은 설정되었을 때 URL을 줄이기 위한 목적의 Firebase의 동적 링크와과 SNS 공유를 지원합니다.
설치
- 파일을 다운로드해서,
skins/
폴더 내의Femiwiki
이라는 이름의 디렉터리 내에 설치합니다. - 아래의 코드를 LocalSettings.php의 말미에 추가합니다:
wfLoadSkin( 'Femiwiki' );
$wgDefaultSkin = 'femiwiki';
- Run npm to install Node dependencies, by issuing
npm install
in the extension directory. 완료 - 위키의 ‘Special:Version’에 이동해서, 스킨이 올바르게 설치된 것을 확인합니다.
설정
Logos
FemiwikiSkin loads its logos from $wgLogos.
You must define both $wgLogos['svg']
and $wgLogos['wordmark']
.
$wgLogos = [
'svg' => "path/to/svg_version.svg",
'wordmark' => [
'src' => "path/to/wordmark_version.svg",
'width' => 135,
'height' => 20,
],
];
Sidebar
Sidebar items have its own icons, defined in Mediawiki:Skin-femiwiki-xeicon-map.json
your wiki.
{
"pt-createaccount": "user-plus",
"pt-login": "log-in",
"pt-userpage": "profile",
"pt-notifications-all": "bell",
"pt-mytalk": "forum",
"pt-preferences": "cog",
"pt-watchlist": "star",
"pt-mycontris": "list",
"pt-logout": "log-out",
"t-contributions": "list",
"t-log": "document"
}
The keys are the ID of the items and the values are XEIcon names, you see the whole supported icons in: https://xpressengine.github.io/XEIcon/library-2.3.3.html
Others
$wgFemiwikiTwitterAccount
- 모든 페이지에서 메타 데이터로 추가 할 Twitter의 계정 ID입니다.
$wgFemiwikiFirebaseKey
- https://firebase.google.com/docs/dynamic-links/rest 문서를 참고하십시오.
wgFemiwikiFacebookAppId
- https://developers.facebook.com/docs/javascript/reference/FB.init 문서를 참고하십시오.
$wgFemiwikiHeadItems
OutputPage::addHeadItems()
에 사용될 수 있는 추가적인 head item들입니다. [$url 문서]를 봐주세요. See the document.
This skin was originally made for Femiwiki.