다운받기
tar.gz 다운받아 압축풀기
패키지 매니저로 다운받기
git으로 다운받기
stable 버전 다운 받으려면 아래 명령어를 사용하세요. REL1_37
부분을 최신 버전대로 바꾸시면 됩니다.
git clone https://gerrit.wikimedia.org/r/mediawiki/core.git --branch REL1_37 mediawiki
[1]
세부 버전을 설정하고 싶다면
git tag -l | sort -V
을 입력해서 버전 목록을 확인하고 git checkout 1.37.2
명령어로 버전(태그)을 선택해주세요.
그 다음에 하위 모듈을 업데이트 해야합니다.
cd mediawiki
git submodule update --init --recursive
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
0 | 틀:Int | NS_MAIN |
1 | Talk | NS_TALK |
2 | User | NS_USER |
3 | User talk | NS_USER_TALK |
4 | Project | NS_PROJECT |
5 | Project talk | NS_PROJECT_TALK |
6 | File | NS_FILE |
7 | File talk | NS_FILE_TALK |
8 | MediaWiki | NS_MEDIAWIKI |
9 | MediaWiki talk | NS_MEDIAWIKI_TALK |
10 | Template | NS_TEMPLATE |
11 | Template talk | NS_TEMPLATE_TALK |
12 | Help | NS_HELP |
13 | Help talk | NS_HELP_TALK |
14 | Category | NS_CATEGORY |
15 | Category talk | NS_CATEGORY_TALK |
-1 | Special | NS_SPECIAL |
-2 | Media | NS_MEDIA |
List of permissions
The following user rights are available in the latest version of MediaWiki. If you are using an older version, look at "Special:Version" on your wiki and see if your version is covered in the "Versions" column.
Right | Description | User groups that have this right by default | Versions |
---|---|---|---|
Reading | |||
read | 틀:Int - when set to false, override for specific pages with <tvar name=WhitelistRead>틀:Ll</tvar> | *, user | 1.5+ |
Editing | |||
applychangetags | 틀:Int | user | 1.25+ |
autocreateaccount | 틀:Int - a more limited version of createaccount | — | 1.27+ |
createaccount | 틀:Int - register / registration | *, sysop | 1.5+ |
createpage | 틀:Int - requires the <tvar name=1>edit</tvar> right | *, user | 1.6+ |
createtalk | 틀:Int - requires the <tvar name=1>edit</tvar> right | *, user | 1.6+ |
delete-redirect | 틀:Int (note that this is not needed if the group already has the <tvar name=1>delete</tvar> right) | — | 1.36+ |
edit | 틀:Int | *, user | 1.5+ |
editsemiprotected | 틀:Int - without cascading protection | autoconfirmed, bot, sysop | 1.22+ |
editprotected | 틀:Int - without cascading protection | sysop | 1.13+ |
minoredit | 틀:Int | user | 1.6+ |
move | 틀:Int - requires the <tvar name=1>edit</tvar> right | user, sysop | 1.5+ |
move-categorypages | 틀:Int - requires the <tvar name=1>move</tvar> right | user, sysop | 1.25+ |
move-rootuserpages | 틀:Int - requires the <tvar name=1>move</tvar> right | user, sysop | 1.14+ |
move-subpages | 틀:Int - requires the <tvar name=1>move</tvar> right | user, sysop | 1.13+ |
movefile | 틀:Int - requires the <tvar name=1>move</tvar> right and <tvar name=AllowImageMoving>틀:Ll</tvar> to be true | user, sysop | 1.14+ |
reupload | 틀:Int - requires the <tvar name=1>upload</tvar> right | user, sysop | 1.6+ |
reupload-own | 틀:Int - requires the <tvar name=1>upload</tvar> right (note that this is not needed if the group already has the <tvar name=reupload>reupload</tvar> right) | — | 1.11+ |
reupload-shared | 틀:Int - (requires the <tvar name=1>upload</tvar> right) | user, sysop | 1.6+ |
sendemail | 틀:Int | user | 1.16+ |
upload | 틀:Int - requires the <tvar name=1>edit</tvar> right and <tvar name=EnableUploads>틀:Ll</tvar> to be true | user, sysop | 1.5+ |
upload_by_url | 틀:Int - (Prior to 1.20 it was given to sysops) | — | 1.8+ |
Management | |||
bigdelete | 틀:Int ( requires the <tvar name=1>delete</tvar> right | sysop | 1.12+ |
block | 틀:Int - Block options include preventing editing and registering new accounts, and autoblocking other users on the same IP address | sysop | 1.5+ |
blockemail | 틀:Int - allows preventing use of the Special:Emailuser interface when blocking - requires the block right | sysop | 1.11+ |
browsearchive | 틀:Int - requires the <tvar name=1>deletedhistory</tvar> right | sysop | 1.13+ |
changetags | 틀:Int - currently unused by extensions | user | 1.25+ |
delete | 틀:Int 1.5–1.11: For undeletions, there is now the <tvar name=1>'undelete'</tvar> right, see below | sysop | 1.5+ |
deletedhistory | 틀:Int | sysop | 1.6+ |
deletedtext | 틀:Int | sysop | |
deletelogentry | 틀:Int - allows deleting/undeleting information (action text, summary, user who made the action) of specific log entries - requires the deleterevision right | suppress | 1.20+ |
deleterevision | 틀:Int - Split into deleterevision and deletelogentry in 1.20 | suppress | 1.6+ |
editcontentmodel | 틀:Int - requires the <tvar name=1>edit</tvar> right | user | 1.23.7+ |
editinterface | 틀:Int - requires the <tvar name=1>edit</tvar> right | sysop, interface-admin | 1.5+ |
editmyoptions | 틀:Int | * | 1.22+ |
editmyprivateinfo | 틀:Int - also hides the "Change Password", but not other ways to change the password | * | 1.22+ |
editmyusercss | 틀:Int - requires the <tvar name=1>edit</tvar> right | user | 1.22+ |
editmyuserjs | 틀:Int - requires the <tvar name=1>edit</tvar> right | user | 1.22+ |
editmyuserjsredirect | 틀:Int requires the <tvar name=1>edit</tvar> right | 1.34+ | |
editmyuserjson | 틀:Int requires the <tvar name=1>edit</tvar> right | user | 1.31+ |
editmywatchlist | 틀:Int | * | 1.22+ |
editsitecss | 틀:Int - requires the <tvar name=1>editinterface</tvar> right | interface-admin | 1.32+ |
editsitejs | 틀:Int - requires the <tvar name=1>editinterface</tvar> right | interface-admin | 1.32+ |
editsitejson | 틀:Int - requires the <tvar name=1>editinterface</tvar> right | sysop, interface-admin | 1.32+ |
editusercss | 틀:Int - requires the <tvar name=1>edit</tvar> right | interface-admin | 1.16+ |
edituserjs | 틀:Int - requires the <tvar name=1>edit</tvar> right | interface-admin | 1.16+ |
edituserjson | 틀:Int - requires the <tvar name=1>edit</tvar> right | sysop, interface-admin | 1.31+ |
hideuser | 틀:Int - requires the <tvar name=1>block</tvar> right
Use <tvar name=HideUserContribLimit>틀:Wg</tvar> to disable. |
suppress | 1.10+ |
markbotedits | 틀:Int - requires the <tvar name=1>rollback</tvar> right | sysop | 1.12+ |
mergehistory | 틀:Int - requires the <tvar name=1>edit</tvar> right | sysop | 1.12+ |
pagelang | 틀:Int - <tvar name=PageLanguageUseDB>틀:Ll</tvar> must be true | — | 1.24+ |
patrol | 틀:Int - <tvar name=UseRCPatrol>틀:Ll</tvar> must be true | sysop | 1.5+ |
patrolmarks | 틀:Int | — | 1.16+ |
protect | 틀:Int - requires the <tvar name=1>edit</tvar> right | sysop | 1.5+ |
rollback | 틀:Int - requires the <tvar name=1>edit</tvar> right | sysop | 1.5+ |
suppressionlog | 틀:Int | suppress | 1.6+ |
suppressrevision | 틀:Int - requires the <tvar name=1>deleterevision</tvar> right | suppress | 1.6+ |
unblockself | 틀:Int - Without it, an administrator that has the capability to block cannot unblock themselves if blocked by another administrator | sysop | 1.17+ |
undelete | 틀:Int - requires the <tvar name=1>deletedhistory</tvar> right | sysop | 1.12+ |
userrights | 틀:Int - allows the assignment or removal of all(*) groups to any user. (*)With <tvar name=AddGroups>틀:Ll</tvar> and <tvar name=RemoveGroups>틀:Ll</tvar> you can set the possibility to add/remove certain groups instead of all |
bureaucrat | 1.5+ |
userrights-interwiki | 틀:Int | — | 1.12+ |
viewmyprivateinfo | 틀:Int | * | 1.22+ |
viewmywatchlist | 틀:Int | * | 1.22+ |
viewsuppressed | 틀:Int - i.e. a more narrow alternative to "suppressrevision" (note that this is not needed if the group already has the <tvar name=suppressrevision>suppressrevision</tvar> right) | suppress | 1.24+ |
Administration | |||
autopatrol | 틀:Int - <tvar name=UseRCPatrol>틀:Ll</tvar> must be true | bot, sysop | 1.9+ |
deletechangetags | 틀:Int - currently unused by extensions | sysop | 1.28+ |
import | 틀:Int - requires the <tvar name=1>edit</tvar> right | sysop | 1.5+ |
importupload | 틀:Int - requires the <tvar name=1>edit</tvar> right | sysop | 1.5+ |
managechangetags | 틀:Int - currently unused by extensions | sysop | 1.25+ |
siteadmin | 틀:Int - not available by default) | — | 1.5+ |
unwatchedpages | 틀:Int - lists pages that no user has watchlisted | sysop | 1.6+ |
Technical | |||
apihighlimits | 틀:Int | bot, sysop | 1.12+ |
autoconfirmed | 틀:Int - used for the 'autoconfirmed' group, see the other table below for more information | autoconfirmed, bot, sysop | 1.6+ |
bot | 틀:Int - can optionally be viewed | bot | 1.5+ |
ipblock-exempt | 틀:Int | sysop | 1.9+ |
nominornewtalk 틀:Anchor | 틀:Int - requires the <tvar name=1>minoredit</tvar> right | bot | 1.9+ |
noratelimit | 틀:Int - not affected by [[<tvar name=1>Special:MyLanguage/Manual:$wgRateLimits</tvar>|rate limits]] (prior to the introduction of this right, the configuration variable <tvar name=RateLimitsExcludedGroups>틀:Ll</tvar> was used for this purpose) | sysop, bureaucrat | 1.13+ |
override-export-depth | 틀:Int With this right, you can define the depth of linked pages at <tvar name=link1>Special:Export</tvar>. Otherwise, the value of <tvar name=link2>틀:Ll</tvar>, which is 0 by default, will be used. |
— | ? |
purge | 틀:Int - [[<tvar name=1>Special:MyLanguage/Manual:URL</tvar>|URL parameter]] "&action=purge "
|
user | 1.10+ |
suppressredirect | 틀:Int - requires the <tvar name=1>move</tvar> right | bot, sysop | 1.12+ |
writeapi | 틀:Int - requires the <tvar name=1>edit</tvar> right | *, user, bot | 1.13+ |
$wgLibertyLiveRCArticleNamespaces = array_merge(
[NS_MAIN, NS_PROJECT, NS_TEMPLATE, NS_HELP, NS_CATEGORY],
[NS_HANJA_DICT]
);
$wgLibertyLiveRCTalkNamespaces = array_merge(
[NS_TALK, NS_USER_TALK, NS_PROJECT_TALK, NS_FILE_TALK, NS_MEDIAWIKI_TALK, NS_TEMPLATE_TALK, NS_HELP_TALK, NS_CATEGORY_TALK],
[NS_HANJA_DICT_TALK]
);
메일 서버 설정
$wgEnableEmail = true;
$wgEnableUserEmail = true; # UPO
$wgEmergencyContact = "xyz37.smtp@gmail.com";
$wgPasswordSender = "xyz37.smtp@gmail.com";
$wgEnotifUserTalk = true; # UPO
$wgEnotifWatchlist = true; # UPO
$wgEmailAuthentication = true;
#아래 부분을 본인에 맞게 설정해 주면 된다.
$wgSMTP = array(
'host' => "smtp.gmail.com",
'IDHost' => "gmail.com",
'port' => 587,
'auth' => true,
'username' => "********@gmail.com",
'password' => "**********"
);
$wgSMTP = array(
'host' => "smtp.sendgrid.net",
'IDHost' => "smtp.sendgrid.net",
'port' => 587,
'auth' => true,
'username' => "apikey",
'password' => "***************************"
);
[출처] MediaWiki에 Gmail 알림 기능 설정하기|작성자 The Programmer
- ↑ 복사는 연속 3번 클릭!