Template:Last N contributions/doc

Create a link showing user's last N contributions prior to a given date.

Parameters
All parameters after the first are optional. Unnamed numeric parameters (num, ts) may not have leading or trailing blanks.


 * 1 or user userid (required; may be a CIDR range – see Examples)
 * 2 or num number of contributions to display (optional, default:50)
 * 3 or ts return edits from strictly before this timestamp; YYYYMMDDhhmmsscc (may be truncated); (optional, default: now )
 * new show page creations only, if evaluates to true
 * ns numeric or alphabetic  namespace; e.g. 0 or Article; 1 or Talk; etc. (optional, default: all namespaces)
 * disp specify the text to be displayed in the link (optional, default: 'these/last N contributions')

Details

 * param ts

When positional parameter 3 (or ts) is given, results are strictly before the value given; so that 20210815231530 returns results on or before 23:15:29. Users may leave off digits on the right, this implies they are zero-filled; i.e, 20210815 is equivalent to 20210815000000, which means the most recent possible result would be an edit on August 14 just before midnight. Likewise, 202108 returns the last edits in July; 2021 returns the last edit(s) in 2020, and so on.

When ts is absent, the link text displays "last N contributions"; when present, it displays "these N contributions", unless overridden by disp.

Note: when ts is absent, the template provides a link to all contributions up to the present moment. This link may therefore provide different results if you refresh the page at a later time, if the user has made additional contributions in the interim. To show all contributions up to the moment you placed the template, and freeze it at that point so that future contributions by the user do not affect the results, use $(${subst:TIMESTAMP$)$}. See Examples below.


 * param ns

The namespace parameter is ns. Values may be either the (numeric) namespace number, or the alphabetic namespace name. See Namespace for the complete list of numeric and alphabetic values.

Examples

 * → (note: counted as 00:00 on the 24th)
 * →  (impermissible leading blank in unnamed numeric parameter causes an error) 
 * → (note: counted as 23:00 on the 24th)
 * → (note: in Talk space)
 * → (note: same as above)
 * → (note: freezes the link at the time the page was saved; see Parameter details above)
 * → (note: CIDR range)
 * → (note: freezes the link at the time the page was saved; see Parameter details above)
 * → (note: CIDR range)