You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- 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]>
Copy file name to clipboardexpand all lines: .github/README.en.md
+6
Original file line number
Diff line number
Diff line change
@@ -9,10 +9,12 @@ Our canonical source is [GitHub.com](https://github.com/librewiki/liberty-skin),
9
9
Security vulnerability should be reported using email (dev (골뱅이!) librewiki.net) (replace (Korean text) with @).
10
10
11
11
## Installation
12
+
12
13
* Unzip to the MediaWiki Skins folder or perform a git clone. The name of the unzipped folder should be `Liberty`.
13
14
* Add `wfLoadSkin( 'Liberty' );` to your LocalSettings.php file.
14
15
15
16
## Configurations
17
+
16
18
Please set these variables in the LocalSettings.php file.
17
19
18
20
| Name | Description | Example Variable | Default Variable |
@@ -32,6 +34,7 @@ Please set these variables in the LocalSettings.php file.
32
34
|`$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]`|
33
35
34
36
## Navbar
37
+
35
38
Please fill out `MediaWiki:Liberty-Navbar` article in the following format.
36
39
37
40
* First-Level menu:
@@ -40,7 +43,9 @@ Please fill out `MediaWiki:Liberty-Navbar` article in the following format.
40
43
*`** 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`
41
44
* Third-Level menu:
42
45
*`*** 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
+
43
47
---
48
+
44
49
* All values are optional, but at least one of `icon` or `display` must be set.
45
50
* If `title` is not set, `display` is used instead.
46
51
* 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.
52
57
You can see an example on [LibreWiki](https://librewiki.net/wiki/MediaWiki:Liberty-Navbar).
53
58
54
59
## Rights
60
+
55
61
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.
0 commit comments