Wiktionary:Normalization of entries: difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
|||
Line 11: | Line 11: | ||
# All whitespace or non-printing characters other than space and newline must be encoded as HTML entities, such as   or &ltr;. |
# All whitespace or non-printing characters other than space and newline must be encoded as HTML entities, such as   or &ltr;. |
||
# No other HTML entities allowed, these should be converted to UTF-8. & -- > & |
# No other HTML entities allowed, these should be converted to UTF-8. & -- > & |
||
# No leading or trailing whitespace in templates (name, parameter name and value), links, categories and so on. For templates, newlines are allowed for clarity. |
|||
===Headings=== |
===Headings=== |
||
Line 51: | Line 52: | ||
# One blank line before categories. |
# One blank line before categories. |
||
# One blank line before interwiki links. |
# One blank line before interwiki links. |
||
# No blank spaces after the colon in a category: <code><nowiki>[[Category:English palindromes]]</nowiki></code>. |
|||
# Categories at the end of each language section. |
# Categories at the end of each language section. |
||
# Each category and interwiki link on its own line. |
# Each category and interwiki link on its own line. |
Revision as of 15:59, 20 May 2015
This is mostly an index of topics discussed in 2006 thread User talk:Connel MacKenzie/Normalization of articles with comments on how they would apply to Wiktionary today, as of 2015. By all means feel free to edit it.
List of norms
Whitespace and characters
- No whitespace at the start or end of a line.
- Consequently, no lines consisting only of whitespace.
- Lines beginning with whitespace are formatted in monospace font by the software; these should not occur in entries.
- Not more than 1 blank line in a row.
- No tab characters.
- All whitespace or non-printing characters other than space and newline must be encoded as HTML entities, such as or <r;.
- No other HTML entities allowed, these should be converted to UTF-8. & -- > &
- No leading or trailing whitespace in templates (name, parameter name and value), links, categories and so on. For templates, newlines are allowed for clarity.
Headings
- One blank line before all headings, including between two headings, except for before the first language heading.
- No blank line after any heading except when another heading immediately follows.
- No whitespace between = and heading title, i.e. ==English== and ===Noun===, not == English == or === Noun ===.
- No templates in headings (==
{{abbreviation-old}}
==, as well as{{acronym-old}}
and{{initialism-old}}
are deprecated, but still allowed until they are fixed). - The final = of a heading must be immediately followed by a newline: no content after a heading on the same line, including spaces, tabs and comments (such as
==Old English== <!-- also known as Anglo-Saxon -->
). - ---- before each language heading heading except the first.
- One blank line before ----
- One blank line after ----
- All templates, boxes, or images should be in a certain language section except for templates like
{{also}}
that are designed to be at the very top and do not have anything to do with any specific entries.- To be discussed: What to do with unicode character boxes when there is no Translingual section?
Lists
- One space after "#", "*" and ":" on the start of a line.
POS sections; headword lines; senses/definitions
- Every POS header must be immediately followed by a headword line.
- Floating boxes like
{{wikipedia}}
can appear on a line in between, but maybe we want to discourage this?
- Floating boxes like
- One blank line after the headword line.
- POS sections may contain at most one headword line and one definition list. Thus, entries like this or this are not correct.
- (Controversial/Unwanted) Definition lines should be sentences, starting capitalized, ending with a period "."
- Alternate proposal: If they are sentences they must be capitalized and end with a full stop, if they are simple glosses they should be all lower case with no full stop.
- All POS (or equivalent sections) must have at least one sense, starting with "#", before the next heading. If no definition is known, use
{{rfdef}}
. - Reducing the number of third level headings in en.wikt, by combining things like "===Pluralish noun===" or "===Noun phrase===" into 'standard headings' like "===Noun==="
- When necessary, indicate gender and number only with templates (e.g.
{{m|fr|livre||book|g=m}}
,{{m|fr|livre||pound|g=f}}
). Use{{g}}
only if no other template can be used. - Context labels should use
{{context}}
,{{label}}
or the shortcuts{{cx}}
and{{lb}}
.
Translation sections
- Language names should not be linked or templated:
Neapolitan: {{t|nap|acqua}}
- One blank line between each translation block (i.e. between
{{trans-bottom}}
and{{trans-top}}
). - Markup such as gender should be provided within the
{{t}}
/{{t+}}
template, except for qualifiers, which should use{{qualifier}}
.
Categories and interwikis
- One blank line before categories.
- One blank line before interwiki links.
- Categories at the end of each language section.
- Each category and interwiki link on its own line.
- Interwiki links may only appear at the very end of a page.
- Interwiki links must link to the exact same spelling and are usually maintained (added/removed/sorted) by bots.
Others/Technical
- All HTML tables converted to wikitables
- No module invocations (
{{#invoke:
).