"미디어위키 AbuseFilter 설치"의 두 판 사이의 차이

잔글 (Jmnote 사용자가 미디어위키 Abuse Filter 설치 문서를 미디어위키 AbuseFilter 설치 문서로 옮겼습니다)
2번째 줄: 2번째 줄:


==방법==
==방법==
https://git.wikimedia.org/git/mediawiki/extensions/AbuseFilter.git
*[[미디어위키 extensions 폴더]]로 이동하여 git으로 설치
<source lang='cli'>
[root@jmnote ~]# cd /var/www/html/w/extensions/
[root@jmnote extensions]# git clone https://git.wikimedia.org/git/mediawiki/extensions/AbuseFilter.git
Initialized empty Git repository in /var/www/html/w/extensions/AbuseFilter/.git/
remote: Counting objects: 10869, done
remote: Finding sources: 100% (10869/10869)
remote: Getting sizes: 100% (1694/1694)
remote: Compressing objects:  99% (169674/169676)
remote: Total 10869 (delta 7493), reused 9274 (delta 7224)
Receiving objects: 100% (10869/10869), 6.24 MiB | 1.51 MiB/s, done.
Resolving deltas: 100% (8453/8453), done.
</source>
<source lang='cli'>
[root@jmnote extensions]# ll | grep AbuseFilter
drwxr-xr-x 11 root root    4096 Feb  2 01:58 AbuseFilter
</source>
 
*LocalSettings.php의 최하단에 아래 코드 추가
<source lang='php'>
require_once "$IP/extensions/AbuseFilter/AbuseFilter.php";
</source>
*[[미디어위키 maintenance 폴더]]로 이동하여 update.php 실행
<source lang='cli'>
[root@jmnote maintenance]# php update.php
MediaWiki 1.23.3 Updater
... (생략)
...protocol-relative URLs in externallinks table already fixed.
...fa_sha1 column of filearchive table already populated.
Purging caches...done.
 
Done in 0:02.
</source>
:→ DB에 abuse_filter, abuse_filter_action, abuse_filter_history, abuse_filter_log 테이블이 생성된다.
*[[Special:Version]]에서 Abuse Filter 설치 확인


==같이 보기==
==같이 보기==

2015년 2월 2일 (월) 02:00 판

미디어위키 Abuse Filter 설치

1 방법

[root@jmnote ~]# cd /var/www/html/w/extensions/
[root@jmnote extensions]# git clone https://git.wikimedia.org/git/mediawiki/extensions/AbuseFilter.git
Initialized empty Git repository in /var/www/html/w/extensions/AbuseFilter/.git/
remote: Counting objects: 10869, done
remote: Finding sources: 100% (10869/10869)
remote: Getting sizes: 100% (1694/1694)
remote: Compressing objects:  99% (169674/169676)
remote: Total 10869 (delta 7493), reused 9274 (delta 7224)
Receiving objects: 100% (10869/10869), 6.24 MiB | 1.51 MiB/s, done.
Resolving deltas: 100% (8453/8453), done.
[root@jmnote extensions]# ll | grep AbuseFilter
drwxr-xr-x 11 root root    4096 Feb  2 01:58 AbuseFilter
  • LocalSettings.php의 최하단에 아래 코드 추가
require_once "$IP/extensions/AbuseFilter/AbuseFilter.php";
[root@jmnote maintenance]# php update.php
MediaWiki 1.23.3 Updater
... (생략)
...protocol-relative URLs in externallinks table already fixed.
...fa_sha1 column of filearchive table already populated.
Purging caches...done.

Done in 0:02.
→ DB에 abuse_filter, abuse_filter_action, abuse_filter_history, abuse_filter_log 테이블이 생성된다.

2 같이 보기

3 참고 자료

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}