Muestra las diferencias entre dos versiones de la página.
| wiki:syntax [2023/12/04 18:39] – creado - editor externo 127.0.0.1 | wiki:syntax [2023/12/09 11:34] (actual) – thejuanvisu | ||
|---|---|---|---|
| Línea 474: | Línea 474: | ||
| ~~INFO: | ~~INFO: | ||
| + | |||
| + | |||
| + | |||
| + | ====== Changes Plugin ====== | ||
| + | |||
| + | ---- plugin ---- | ||
| + | description: | ||
| + | author | ||
| + | email : dokuwiki@cosmocode.de | ||
| + | type : syntax | ||
| + | lastupdate : 2022-09-07 | ||
| + | compatible : Elenor Of Tsort, Frusterick Manners, Greebo, Hogfather, Igor, Jack Jackrum | ||
| + | depends | ||
| + | conflicts | ||
| + | similar | ||
| + | tags : changelog, listing | ||
| + | |||
| + | downloadurl: | ||
| + | bugtracker : https:// | ||
| + | sourcerepo : https:// | ||
| + | ---- | ||
| + | |||
| + | This plugin allows you to embed the list of recent changes as a simple list into any page. | ||
| + | |||
| + | ===== Download and Installation ===== | ||
| + | [[https:// | ||
| + | |||
| + | Download and install the plugin using the [[plugin: | ||
| + | |||
| + | ===== Syntax and Usage ===== | ||
| + | |||
| + | The list is created using the following syntax: | ||
| + | |||
| + | {{changes> | ||
| + | |||
| + | Optionally you can specify a number of parameters that control the scope of the shown changes and the way the list is rendered. | ||
| + | |||
| + | :!: The plugin always displays only the most recent change for every page / media file! | ||
| + | |||
| + | ==== Allowlist/ | ||
| + | By default plugin shows the changes in the entire wiki. To restrict the list of changes to a given namespace and its sub-namespaces you can specify its name either directly or using '' | ||
| + | |||
| + | {{changes> | ||
| + | {{changes> | ||
| + | |||
| + | The '' | ||
| + | |||
| + | {{changes> | ||
| + | {{changes> | ||
| + | |||
| + | The first example will show the changes in all namespaces except of " | ||
| + | |||
| + | You can also exclude specific pages: | ||
| + | {{changes> | ||
| + | |||
| + | ==== Number of changes displayed ==== | ||
| + | |||
| + | The number of changes that are presented in the list is controlled with '' | ||
| + | |||
| + | {{changes> | ||
| + | {{changes> | ||
| + | |||
| + | ==== Type(s) of changes displayed ==== | ||
| + | |||
| + | It is also possible to control the type of changes shown in the list. By default all types are shown but with '' | ||
| + | |||
| + | {{changes> | ||
| + | {{changes> | ||
| + | |||
| + | |||
| + | ==== Allowlist/ | ||
| + | To show only changes by particular users, the '' | ||
| + | |||
| + | {{changes> | ||
| + | {{changes> | ||
| + | | ||
| + | Exclusion of particular users is also possible using the '' | ||
| + | |||
| + | {{changes> | ||
| + | {{changes> | ||
| + | |||
| + | ==== Maximum age of change displayed ==== | ||
| + | Filtering by age is possible, too. Just specify the maximum age in seconds. However, please note that this plugin can not display changes older than [[config: | ||
| + | |||
| + | {{changes> | ||
| + | |||
| + | ==== Output renderer ==== | ||
| + | The changes can be rendered either as a simple list (default) or using [[: | ||
| + | |||
| + | {{changes> | ||
| + | {{changes> | ||
| + | |||
| + | The renderers can have extra parameters (a.k.a. flags), which can be passed within parenthesis as a comma-separated list: | ||
| + | |||
| + | {{changes> | ||
| + | {{changes> | ||
| + | {{changes> | ||
| + | {{changes> | ||
| + | |||
| + | The built-in list renderer supports the following parameters: | ||
| + | |||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | |||
| + | By default only the summary is shown. For the list of parameters supported by Pagelist plugin refer to its [[: | ||
| + | |||
| + | ==== Multiple parameter syntax ==== | ||
| + | |||
| + | If you want to pass a number of parameters to the plugin they should be separated with an ampersand, for example: | ||
| + | |||
| + | {{changes> | ||
| + | |||
| + | The above syntax would display the last 15 pages created by user rauschen inside the " | ||
| + | |||
| + | ==== ACL compatability ==== | ||
| + | |||
| + | Note: The plugin respects [[:ACL]] permissions but output is cached with the page it is in until a new change was made. If you're listing ACL dependent changes use the %%~~NOCACHE~~%% macro in the page you're using this plugin. | ||
| + | |||
| + | ==== Username fallback ==== | ||
| + | The plugin attempts to describe the user who made each change in the following order: | ||
| + | - If possible, the descriptive username is displayed, e.g. '' | ||
| + | - If descriptive username is unavailable((Under certain circumstances, | ||
| + | - If no user information is provided to the Changes plugin by auth, the IP address the change was made from is displayed. This will likely be the case for an anonymous edit. | ||
| + | |||
| + | ===== Development ===== | ||
| + | |||
| + | A public git repository is available at https:// | ||
| + | |||
| + | ==== Changelog ==== | ||
| + | |||
| + | {{rss> | ||
| + | |||
| + | ==== Bugs and feature request ==== | ||
| + | |||
| + | Please report issues in the bug tracker at https:// | ||
| + | |||
| + | |||
| + | |||