Pre-save transforms (PST) are transformations which are applied to the content before it is even saved. They are implemented in the function preSaveTransform()
of the ContentTransformer
class.
For Wikitext content , the parser ’s preSaveTransform()
applies the following transformations, in order:
\r\n
as well as \r
are normalized to \n
.
{{subst:template name|template parameters}}
~~~
, ~~~~
and ~~~~~
− Note that this order has the nontrivial effect of not allowing template substitutions within a signature.
[[phabricator:T1|]]
becomes [[phabricator:T1|T1]]
[[title (topic)|]]
becomes [[title (topic)|title]]
JsonContent::preSaveTransform()
applies the following transformations, in order:
\r\n
as well as \r
are normalized to \n
.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4