The translator converts text to html (HyperTextMarkupLanguage). It performs the conversion on-the-fly as each page is read. This lets us...
A sequence of text substitutions perform the conversion. There are around a dozen TextFormattingRegularExpressions equally divided between...
It is from them that we get the TextFormattingRules.
If I may ask, where in WardsOriginalWiki does this occur?