Jump to content

Module:Wp/khw/Citation/CS1/Date validation/doc

From Wikimedia Incubator

This is the documentation page for Module:Wp/khw/Citation/CS1/Date validation


This module contains routines that support the Citation Style 1 and Citation Style 2 date formats for citations on Wikipedia. In particular, this module contains a suite of functions that validate date formats and content for the variety of date-holding parameters associated with cs1|2 citations.


These files comprise the module support for cs1|2 citation templates:

cs1 | cs2 modules
  live sandbox description
Gold padlock Module:Wp/khw/Citation/CS1 Module:Wp/khw/Citation/CS1/sandbox [edit] Rendering and support functions
Module:Wp/khw/Citation/CS1/Configuration Module:Wp/khw/Citation/CS1/Configuration/sandbox [edit] Translation tables; error and identifier handlers
Module:Wp/khw/Citation/CS1/Whitelist Module:Wp/khw/Citation/CS1/Whitelist/sandbox [edit] List of active, deprecated, and obsolete cs1|2 parameters
Module:Wp/khw/Citation/CS1/Date validation Module:Wp/khw/Citation/CS1/Date validation/sandbox [edit] Date format validation functions
Module:Wp/khw/Citation/CS1/Identifiers Module:Wp/khw/Citation/CS1/Identifiers/sandbox [edit] Functions that support the named identifiers (isbn, doi, pmid, etc)
Module:Wp/khw/Citation/CS1/Utilities Module:Wp/khw/Citation/CS1/Utilities/sandbox [edit] Common functions and tables
Module:Wp/khw/Citation/CS1/COinS Module:Wp/khw/Citation/CS1/COinS/sandbox [edit] Functions that render a cs1|2 template's metadata
Module:Wp/khw/Citation/CS1/styles.css Module:Wp/khw/Citation/CS1/sandbox/styles.css [edit] Wp/khw/CSS styles applied to the cs1|2 templates
Silver padlock Module:Wp/khw/Citation/CS1/Suggestions Module:Wp/khw/Citation/CS1/Suggestions/sandbox [edit] List that maps common erroneous parameter names to valid parameter names