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

Usage

edit

{{Last N contributions|username}}
{{Last N contributions|username|number|timestamp|ns=namespace|new=1|disp=display text}}

Parameters

edit

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

edit
param |ts=

When positional parameter 3 (or |ts=) is given, results are strictly before the value given; so that |ts=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, |ts=20210815 is equivalent to |ts=20210815000000, which means the most recent possible result would be an edit on August 14 just before midnight. Likewise, |ts=202108 returns the last edits in July; |ts=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 |ts={{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 Wikipedia:Namespace for the complete list of numeric and alphabetic values.

Examples

edit

See also

edit

Redirects:

  • {{last N contribs}}
  • {{user last N}}
  • {{user lnc}}
  • {{lnc}}

Other templates: