Pre-save transforms/pl

This page is a translated version of the page Pre-save transforms and the translation is 38% complete.
Outdated translations are marked like this.

Pre-save transforms (PST) to przekształcenia treści zanim jeszcze zostanie zapisana. They are implemented in the function preSaveTransform() of the ContentTransformer class.

Wikitekst

For Wikitext content , the parser ’s preSaveTransform() applies the following transformations, in order:

Puste znaki
Null characters are removed.
Końcowe spacje
Spacje i znaki nowej linii (na sposób funkcji PHP rtrim()) na końcu całego tekstu są usuwane.
Końce linii
Line endings \r\n as well as \r are normalized to \n.
Substitutions
{{subst:template name|parametry szablonu}}
Podpisy
~~~, ~~~~ oraz ~~~~~Note that this order has the nontrivial effect of not allowing template substitutions within a signature.
Pipe trick
[[phabricator:T1|]] staje się [[phabricator:T1|T1]]
[[title (topic)|]] staje się [[title (topic)|title]]

JSON

JsonContent::preSaveTransform() applies the following transformations, in order:

Beautify JSON
standardizes the formatting (“pretty”, i. e. split across lines and indented)
Końce linii
Line endings \r\n as well as \r are normalized to \n.

See also