Module:Sortkey/doc: Difference between revisions
Appearance
Content deleted Content added
Caleb Cooper (talk | contribs) Created page with "{{Module rating |release}} This module sanitizes and escapes sortkeys so that they can be used inside the data-sort-value attribute of HTML tags in combination with Help:sor..." |
Caleb Cooper (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
{{Module rating |release}} |
{{Module rating |release}} |
||
This module sanitizes and escapes sortkeys so that they can be used inside the data-sort-value attribute of HTML tags in combination with [[Help:sorting|table sorting]]. Use it when you cannot be certain that the provided sortkey input is a correct sortkey. |
This module sanitizes and escapes sortkeys so that they can be used inside the data-sort-value attribute of HTML tags in combination with [[Wikipedia:Help:sorting|table sorting]]. Use it when you cannot be certain that the provided sortkey input is a correct sortkey. |
||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> |
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> |
||
Latest revision as of 18:08, 22 October 2020
| This module is rated as ready for general use. It has reached a mature form and is thought to be bug-free and ready for use wherever appropriate. It is ready to mention on help pages and other Wikipedia resources as an option for new users to learn. To reduce server load and bad output, it should be improved by sandbox testing rather than repeated trial-and-error editing. |
This module sanitizes and escapes sortkeys so that they can be used inside the data-sort-value attribute of HTML tags in combination with table sorting. Use it when you cannot be certain that the provided sortkey input is a correct sortkey.
Usage
{{#invoke:Sortkey|escape|sortkey to sanitize}}