Skip to content

Commit 3436b96

Browse files
committed
meta: Use GitHub as canonical repo
- GitHub is the canonical repo. - Replace deprecated license string `GPL-3.0+` with `GPL-3.0-or-later`. - Fix some markdownlint errors. Signed-off-by: Yongmin Hong <[email protected]>
1 parent 441bb7b commit 3436b96

File tree

4 files changed

+17
-4
lines changed

4 files changed

+17
-4
lines changed

.github/README.en.md

+6
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ Our canonical source is [GitHub.com](https://github.com/librewiki/liberty-skin),
99
Security vulnerability should be reported using email (dev (골뱅이!) librewiki.net) (replace (Korean text) with @).
1010

1111
## Installation
12+
1213
* Unzip to the MediaWiki Skins folder or perform a git clone. The name of the unzipped folder should be `Liberty`.
1314
* Add `wfLoadSkin( 'Liberty' );` to your LocalSettings.php file.
1415

1516
## Configurations
17+
1618
Please set these variables in the LocalSettings.php file.
1719

1820
| Name | Description | Example Variable | Default Variable |
@@ -32,6 +34,7 @@ Please set these variables in the LocalSettings.php file.
3234
| `$wgLibertyLiveRCTalkNamespaces` | Namespaces for the second tab in 'Recent Changes' | `[NS_TALK, NS_USER_TALK, NS_PROJECT_TALK, NS_FILE_TALK, NS_MEDIAWIKI_TALK, NS_TEMPLATE_TALK, NS_HELP_TALK, NS_CATEGORY_TALK]` | `[NS_TALK, NS_USER_TALK, NS_PROJECT_TALK, NS_FILE_TALK, NS_MEDIAWIKI_TALK, NS_TEMPLATE_TALK, NS_HELP_TALK, NS_CATEGORY_TALK]` |
3335

3436
## Navbar
37+
3538
Please fill out `MediaWiki:Liberty-Navbar` article in the following format.
3639

3740
* First-Level menu:
@@ -40,7 +43,9 @@ Please fill out `MediaWiki:Liberty-Navbar` article in the following format.
4043
* `** icon=icon | display=display text | title=hover text | link=link | access=shortcut key | class=custom HTML classes | group=required user group | right=required user right`
4144
* Third-Level menu:
4245
* `*** icon=icon | display=display text | title=hover text | link=link | access=shortcut key | class=custom HTML classes | group=required user group | right=required user right`
46+
4347
---
48+
4449
* All values are optional, but at least one of `icon` or `display` must be set.
4550
* If `title` is not set, `display` is used instead.
4651
* If you don't want to set some parameters, you can skip them. As an example, if you don't want to set an icon, skip `icon=...`.
@@ -52,6 +57,7 @@ Please fill out `MediaWiki:Liberty-Navbar` article in the following format.
5257
You can see an example on [LibreWiki](https://librewiki.net/wiki/MediaWiki:Liberty-Navbar).
5358

5459
## Rights
60+
5561
Four rights have been added to this to implement ad differentiation by user rights. if $wgLibertyAdGroup is set to 'differ', add user preferences to remove ads.
5662
* blockads-header : User can remove header ads.
5763
* blockads-right : User can remove header ads.

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@
1111
보안 취약점은 이메일 (dev(골뱅이!)librewiki.net) 로 보고해 주세요.
1212

1313
## 설치
14+
1415
* 미디어위키 Skins 폴더에 압축을 풀거나 git clone을 수행하세요. 압축해제된 폴더의 이름은 `Liberty` 이어야 합니다.
1516
* LocalSettings.php 파일에 `wfLoadSkin( 'Liberty' );` 를 추가해 주세요.
1617

1718
## 설정
19+
1820
LocalSettings.php 파일에 아래와 같이 작성해주세요.
1921

2022
| 이름 | 설명 | 예시 값 | 기본 값 |
@@ -34,6 +36,7 @@ LocalSettings.php 파일에 아래와 같이 작성해주세요.
3436
| `$wgLibertyLiveRCTalkNamespaces` | 사이드바 최근 변경 오른쪽 탭에 보여질 네임스페이스 목록 | `[NS_TALK, NS_USER_TALK, NS_PROJECT_TALK, NS_FILE_TALK, NS_MEDIAWIKI_TALK, NS_TEMPLATE_TALK, NS_HELP_TALK, NS_CATEGORY_TALK]` | `[NS_TALK, NS_USER_TALK, NS_PROJECT_TALK, NS_FILE_TALK, NS_MEDIAWIKI_TALK, NS_TEMPLATE_TALK, NS_HELP_TALK, NS_CATEGORY_TALK]` |
3537

3638
## 상단바
39+
3740
다음과 같은 형식을 따라서 `미디어위키:Liberty-Navbar` 문서에 작성해주세요.
3841

3942
* 최상단 메뉴:
@@ -42,7 +45,9 @@ LocalSettings.php 파일에 아래와 같이 작성해주세요.
4245
* `** icon=아이콘 | display=표시 내용 | title=Hover 문구 | link=클릭시 링크 | access=단축키 | class=커스텀 HTML 클래스 | group=필요 그룹 | right=필요 권한`
4346
* 최하위 메뉴:
4447
* `*** icon=아이콘 | display=표시 내용 | title=Hover 문구 | link=클릭시 링크 | access=단축키 | class=커스텀 HTML 클래스 | group=필요 그룹 | right=필요 권한`
48+
4549
---
50+
4651
* 모든 내용은 선택이나, `icon``display` 중 적어도 하나는 설정되어 있어야 합니다.
4752
* 설정하지 않을 내용은 적지 않으면 됩니다. 예를 들어, 아이콘을 설정하지 않으려면 `icon=...`을 생략하면 됩니다.
4853
* `title`이 설정되어 있지 않다면 `display`로 자동 설정 됩니다.
@@ -54,7 +59,9 @@ LocalSettings.php 파일에 아래와 같이 작성해주세요.
5459
예시는 [리브레 위키](https://librewiki.net/wiki/MediaWiki:Liberty-Navbar)에서 확인할 수 있습니다.
5560

5661
## 권한
62+
5763
권한별 광고 차등화를 구현하기 위해 아래와 같이 네 가지 권한이 추가됩니다. 만약 $wgLibertyAdGroup이 'differ'로 설정되어 있다면 아래 권한에 따라 환경설정에 광고 커스터마이징 옵션이 나타납니다.
64+
5865
* blockads-header : 헤더 광고를 없앨 수 있습니다.
5966
* blockads-right : 우측 광고를 없앨 수 있습니다.
6067
* blockads-belowarticle : 글 하단 광고를 없앨 수 있습니다.

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "librewiki/liberty-mw-skin",
33
"version": "1.13.8",
44
"description": "Liberty MediaWiki Skin",
5-
"license": "GPL-3.0+",
5+
"license": "GPL-3.0-or-later",
66
"require-dev": {
77
"mediawiki/mediawiki-codesniffer": ">=0.9.0"
88
},

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
},
99
"repository": {
1010
"type": "git",
11-
"url": "git+ssh://git@gitlab.com/librewiki/Liberty-MW-Skin.git"
11+
"url": "git+ssh://git@github.com/librewiki/liberty-skin.git"
1212
},
1313
"author": "SEE AUTHOR IN <AUTHORS.txt>",
1414
"license": "GPL-3.0-or-later",
1515
"bugs": {
16-
"url": "https://gitlab.com/librewiki/Liberty-MW-Skin/issues"
16+
"url": "https://github.com/librewiki/liberty-skin/issues"
1717
},
18-
"homepage": "https://gitlab.com/librewiki/Liberty-MW-Skin#README",
18+
"homepage": "https://github.com/librewiki/liberty-skin#README",
1919
"devDependencies": {
2020
"eslint": "^4.1.0",
2121
"eslint-config-wikimedia": "^0.4.0",

0 commit comments

Comments
 (0)