Template:Log link


This template takes three parameters, all optional.

  • type is the log type, e.g., block or patrol
  • user is the user performing the action logged
  • page is the page on which the logged action was performed

The output of this template is the bare URL for a log display filtered by whichever of type, page, and user are used. If none are, the link produced will be functionality equivalent to Special:Log. No brackets are in the output.

This template uses the 'magic word' urlencode to encode the user name and page name, and will be broken (but not beyond repair) if the default output for that magic word no longer produces the correct encoding for a local URL.