Manual:HistoryAction.php
Appearance
Outdated translations are marked like this.
Esta página está desatualizada. |
| Arquivo do MediaWiki: HistoryAction.php | |
|---|---|
| Localização: | includes/actions/ (includes/Actions/ in 1.46 or later) |
| Código-fonte: | master • 1.46.0 • 1.45.4 • 1.43.9 |
| Classes: | MediaWiki\Actions\HistoryAction |
O arquivo HistoryAction.php contém a classe HistoryAction, que lida com a impressão do histórico de página para um artigo. A fim de ser eficaz, ele utiliza marcas de tempo, em vez de deslocamentos para paginação, para evitar as consultas LIMIT,offset dispendiosas. Ele também contém a classe HistoryPager.
In order to be efficient, it uses timestamps rather than offsets for paging, to avoid costly LIMIT, offset queries.
It also contains the HistoryPager class.
Construct it by passing in an Article, and call $h->history() to print the history.
Métodos
HistoryPager::historyLine( $row, $next, $notificationtimestamp = false, $latest = false, $firstInList = false )- retorna uma linha a partir da impressão do histórico