미디어위키 initSiteStats.php

1 개요[ | ]

미디어위키 initSiteStats.php
  • 미디어위키 유지보수 스크립트 중 하나
  • 사이트 통계 테이블을 초기화·업데이트·재생성할 수 있음

2 사용법[ | ]

php maintenance/initSiteStats.php --update
옵션 설명
--update 통계 갱신 (활동 사용자 수는 미포함)
--active 통계 갱신 + 활동 사용자 수 갱신
--use-master 마스터 데이터베이스를 사용하여 카운트

3 실행예시[ | ]

root@localhost:/var/www/html/w/maintenance# php initSiteStats.php
Refresh Site Statistics

Counting total edits...696908
Counting number of articles...92915
Counting total pages...198564
Counting number of users...2996
Counting number of images...1770

To update the site statistics table, run the script with the --update option.

Done.
root@localhost:/var/www/html/w/maintenance# php initSiteStats.php --update
Refresh Site Statistics

Counting total edits...696908
Counting number of articles...92915
Counting total pages...198564
Counting number of users...2996
Counting number of images...1770

Updating site statistics...done.

Done.

4 같이 보기[ | ]

5 참고[ | ]

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