Manual:Action.php/ja
MediaWiki ファイル: Action.php | |
---|---|
場所: | includes/actions/ |
ソース コード: | master • 1.43.1 • 1.42.6 • 1.39.12 |
クラス: | Action |
Abstract base class for actions to be performed on pages (edit, delete, rollback, etc.). It is distinct from special pages in that an action must apply to exactly one page. To add an action to an extension, create a subclass of Action, and add the key to $wgActions.
Actions generally fall into two groups:
- a group represented by the FormAction class, intended for showing a form and acting on the input (protect, delete, move, etc.),
- a group represented by the FormlessAction class, intended for actions that do not require a form (watch, rollback, patrol, etc.).
Methods
![]() | 現在、この節は草稿です。 資料が完全ではない場合や、情報が省略されている場合があります。また、コンテンツの一部が急激に変更されることがあります。 これに関する詳細情報は、トーク ページにあるかもしれません。 |