미디어위키 API 도움말
이 페이지는 자동으로 생성된 미디어위키 API 도움말 문서입니다.
설명 문서 및 예시: https://www.mediawiki.org/wiki/API
list=recentchanges (rc)
- 이 모듈은 read 권한을 요구합니다.
- This module can be used as a generator.
- 출처: MediaWiki
- 라이선스: GPL-2.0+
Enumerate recent changes.
변수:
- rcstart
The timestamp to start enumerating from.
- Type: timestamp (allowed formats)
- rcend
The timestamp to end enumerating.
- Type: timestamp (allowed formats)
- rcdir
In which direction to enumerate:
- newer
- List oldest first. Note: rcstart has to be before rcend.
- older
- List newest first (default). Note: rcstart has to be later than rcend.
- 하나의 값: newer, older
- 기본값: older
- rcnamespace
Filter changes to only these namespaces.
- 값 ("|"로 구분): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 2300, 2301, 2302, 2303
- rcuser
Only list changes by this user.
- Type: user name
- rcexcludeuser
Don't list changes by this user.
- Type: user name
- rctag
Only list changes tagged with this tag.
- rcprop
Include additional pieces of information:
- user
- Adds the user responsible for the edit and tags if they are an IP.
- userid
- Adds the user ID responsible for the edit.
- comment
- Adds the comment for the edit.
- parsedcomment
- Adds the parsed comment for the edit.
- flags
- Adds flags for the edit.
- timestamp
- Adds timestamp of the edit.
- title
- Adds the page title of the edit.
- ids
- Adds the page ID, recent changes ID and the new and old revision ID.
- sizes
- Adds the new and old page length in bytes.
- redirect
- Tags edit if page is a redirect.
- patrolled
- Tags patrollable edits as being patrolled or unpatrolled.
- loginfo
- Adds log information (log ID, log type, etc) to log entries.
- tags
- Lists tags for the entry.
- sha1
- Adds the content checksum for entries associated with a revision.
- 값 ("|"로 구분): user, userid, comment, parsedcomment, flags, timestamp, title, ids, sizes, redirect, patrolled, loginfo, tags, sha1
- 기본값: title|timestamp|ids
- rctoken
- 사용 중지됨.
Use action=query&meta=tokens instead.
- 값 ("|"로 구분): patrol
- rcshow
Show only items that meet these criteria. For example, to see only minor edits done by logged-in users, set rcshow=minor|!anon.
- 값 ("|"로 구분): minor, !minor, bot, !bot, anon, !anon, redirect, !redirect, patrolled, !patrolled, unpatrolled
- rclimit
How many total changes to return.
- No more than 500 (5,000 for bots) allowed.
- Type: integer or max
- 기본값: 10
- rctype
Which types of changes to show.
- 값 ("|"로 구분): edit, external, new, log
- 기본값: edit|new|log
- rctoponly
Only list changes which are the latest revision.
- 유형: 부울 (자세한 정보)
- rccontinue
When more results are available, use this to continue.
예시:
- List recent changes.
- api.php?action=query&list=recentchanges
- Get page info about recent unpatrolled changes.
- api.php?action=query&generator=recentchanges&grcshow=!patrolled&prop=info