Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Module:Unsigned/doc

From Wikipedia, the free encyclopedia

This module implements {{unsigned}}. It has a few functions:

  • main called by {{unsigned}}; not intended for broader use
  • getTimestamp find a timestamp from a string. If only a date is found, it returns the date. If only a time is found, it returns the empty string. If a time and a date are both found, it appends (UTC).
  • getUsername gets the username from a string containing a timestamp. It currently assumes that everything besides a timestamp is part of the username.