Module:Unsigned/doc
Appearance
| This is a documentation subpage for Module:Unsigned. It may contain usage information, categories and other content that is not part of the original module page. |
| This module is rated as beta. It is considered ready for widespread use, but as it is still relatively new, it should be applied with some caution to ensure results are as expected. |
This module implements {{unsigned}}. It has a few functions:
maincalled by {{unsigned}}; not intended for broader usegetTimestampfind 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)
.getUsernamegets the username from a string containing a timestamp. It currently assumes that everything besides a timestamp is part of the username