Pomoč:GRAMMAR
→ bugzilla:04685 – "Slovenian LanguageSl.php hardcodes project namespace as Wikipedija"
→ bugzilla:05038 – "((SUBST:GRAMMAR:foo|bar)) should render as ((GRAMMAR:foo|bar))"
links
[uredi | uredi kodo]- special:SiteMatrix#sl
- help:GRAMMAR template:wikivar
- b:help:GRAMMAR b:template:wikivar
n:help:GRAMMAR n:template:wikivar- q:help:GRAMMAR q:template:wikivar
s:help:GRAMMAR s:template:wikivar- wikt:help:GRAMMAR wikt:template:wikivar
syntax tests
[uredi | uredi kodo]- w:sl:user:Gangleri/tests/bugzilla/05038
- bugzilla:05038 –
"((SUBST:GRAMMAR:foo|bar)) should render as ((GRAMMAR:foo|bar))"– INVALID / IRRELEVANT
- bugzilla:05038 –
tests
[uredi | uredi kodo]test SITENAME
[uredi | uredi kodo]* ((GRAMMAR:imenovalnik|((SITENAME)))) # 'imenovalnik' ([[w:en:nominativ|nominativ]]) * ((GRAMMAR:rodilnik|((SITENAME)))) # 'rodilnik' ([[w:en:genitive|genitive]]) * ((GRAMMAR:dajalnik|((SITENAME)))) # 'dajalnik' ([[w:en:dativ|dativ]]) * ((GRAMMAR:tožilnik|((SITENAME)))) # 'tožilnik' ([[w:en:akuzativ|akuzativ]]) * ((GRAMMAR:mestnik|((SITENAME)))) # 'mestnik' ([[w:en:locative|locative]]) * ((GRAMMAR:orodnik|((SITENAME)))) # 'orodnik' ([[w:en:instrumental|instrumental]]) ** ((GRAMMAR:orodnik| ((SITENAME)))) # 'orodnik' ([[w:en:instrumental|instrumental]]) – heading space ** ((GRAMMAR:orodnik|((SITENAME)) )) # 'orodnik' ([[w:en:instrumental|instrumental]]) – trailing space * ((GRAMMAR: () # ' " $1|((SITENAME)))) # ([[w:en:nonsense|nonsense]])
generares:
- Wikipedija # 'imenovalnik' (nominativ)
- Wikipedije # 'rodilnik' (genitive)
- Wikipediji # 'dajalnik' (dativ)
- Wikipedijo # 'tožilnik' (akuzativ)
- o Wikipediji # 'mestnik' (locative)
- z Wikipedijo # 'orodnik' (instrumental)
- z Wikipedijo # 'orodnik' (instrumental) – heading space
- z Wikipedijo # 'orodnik' (instrumental) – trailing space
- Wikipedija # (nonsense)
test Wikipedija
[uredi | uredi kodo]* ((GRAMMAR:imenovalnik|Wikipedija)) # 'imenovalnik' ([[w:en:nominativ|nominativ]]) * ((GRAMMAR:rodilnik|Wikipedija)) # 'rodilnik' ([[w:en:genitive|genitive]]) * ((GRAMMAR:dajalnik|Wikipedija)) # 'dajalnik' ([[w:en:dativ|dativ]]) * ((GRAMMAR:tožilnik|Wikipedija)) # 'tožilnik' ([[w:en:akuzativ|akuzativ]]) * ((GRAMMAR:mestnik|Wikipedija)) # 'mestnik' ([[w:en:locative|locative]]) * ((GRAMMAR:orodnik|Wikipedija)) # 'orodnik' ([[w:en:instrumental|instrumental]])
generares:
- Wikipedija # 'imenovalnik' (nominativ)
- Wikipedije # 'rodilnik' (genitive)
- Wikipediji # 'dajalnik' (dativ)
- Wikipedijo # 'tožilnik' (akuzativ)
- o Wikipediji # 'mestnik' (locative)
- z Wikipedijo # 'orodnik' (instrumental)
test Wikiknjige
[uredi | uredi kodo]* ((GRAMMAR:imenovalnik|Wikiknjige)) # 'imenovalnik' ([[w:en:nominativ|nominativ]]) * ((GRAMMAR:rodilnik|Wikiknjige)) # 'rodilnik' ([[w:en:genitive|genitive]]) * ((GRAMMAR:dajalnik|Wikiknjige)) # 'dajalnik' ([[w:en:dativ|dativ]]) * ((GRAMMAR:tožilnik|Wikiknjige)) # 'tožilnik' ([[w:en:akuzativ|akuzativ]]) * ((GRAMMAR:mestnik|Wikiknjige)) # 'mestnik' ([[w:en:locative|locative]]) * ((GRAMMAR:orodnik|Wikiknjige)) # 'orodnik' ([[w:en:instrumental|instrumental]])
generares:
- Wikiknjige # 'imenovalnik' (nominativ)
- Wikiknjig # 'rodilnik' (genitive)
- Wikiknjigam # 'dajalnik' (dativ)
- Wikiknjige # 'tožilnik' (akuzativ)
- o Wikiknjigah # 'mestnik' (locative)
- z Wikiknjigami # 'orodnik' (instrumental)
test Wikinovice
[uredi | uredi kodo]* ((GRAMMAR:imenovalnik|Wikinovice)) # 'imenovalnik' ([[w:en:nominativ|nominativ]]) * ((GRAMMAR:rodilnik|Wikinovice)) # 'rodilnik' ([[w:en:genitive|genitive]]) * ((GRAMMAR:dajalnik|Wikinovice)) # 'dajalnik' ([[w:en:dativ|dativ]]) * ((GRAMMAR:tožilnik|Wikinovice)) # 'tožilnik' ([[w:en:akuzativ|akuzativ]]) * ((GRAMMAR:mestnik|Wikinovice)) # 'mestnik' ([[w:en:locative|locative]]) * ((GRAMMAR:orodnik|Wikinovice)) # 'orodnik' ([[w:en:instrumental|instrumental]])
generares:
- Wikinovice # 'imenovalnik' (nominativ)
- Wikinovic # 'rodilnik' (genitive)
- Wikinovicam # 'dajalnik' (dativ)
- Wikinovice # 'tožilnik' (akuzativ)
- o Wikinovicah # 'mestnik' (locative)
- z Wikinovicami # 'orodnik' (instrumental)
test Wikinavedek
[uredi | uredi kodo]* ((GRAMMAR:imenovalnik|Wikinavedek)) # 'imenovalnik' ([[w:en:nominativ|nominativ]]) * ((GRAMMAR:rodilnik|Wikinavedek)) # 'rodilnik' ([[w:en:genitive|genitive]]) * ((GRAMMAR:dajalnik|Wikinavedek)) # 'dajalnik' ([[w:en:dativ|dativ]]) * ((GRAMMAR:tožilnik|Wikinavedek)) # 'tožilnik' ([[w:en:akuzativ|akuzativ]]) * ((GRAMMAR:mestnik|Wikinavedek)) # 'mestnik' ([[w:en:locative|locative]]) * ((GRAMMAR:orodnik|Wikinavedek)) # 'orodnik' ([[w:en:instrumental|instrumental]])
generares:
- Wikinavedek # 'imenovalnik' (nominativ)
- Wikinavedka # 'rodilnik' (genitive)
- Wikinavedku # 'dajalnik' (dativ)
- Wikinavedek # 'tožilnik' (akuzativ)
- o Wikinavedku # 'mestnik' (locative)
- z Wikinavedkom # 'orodnik' (instrumental)
test Wikivir
[uredi | uredi kodo]* ((GRAMMAR:imenovalnik|Wikivir)) # 'imenovalnik' ([[w:en:nominativ|nominativ]]) * ((GRAMMAR:rodilnik|Wikivir)) # 'rodilnik' ([[w:en:genitive|genitive]]) * ((GRAMMAR:dajalnik|Wikivir)) # 'dajalnik' ([[w:en:dativ|dativ]]) * ((GRAMMAR:tožilnik|Wikivir)) # 'tožilnik' ([[w:en:akuzativ|akuzativ]]) * ((GRAMMAR:mestnik|Wikivir)) # 'mestnik' ([[w:en:locative|locative]]) * ((GRAMMAR:orodnik|Wikivir)) # 'orodnik' ([[w:en:instrumental|instrumental]])
generares:
- Wikivir # 'imenovalnik' (nominativ)
- Wikivira # 'rodilnik' (genitive)
- Wikiviru # 'dajalnik' (dativ)
- Wikivir # 'tožilnik' (akuzativ)
- o Wikiviru # 'mestnik' (locative)
- z Wikivirom # 'orodnik' (instrumental)
test Wikislovar
[uredi | uredi kodo]* ((GRAMMAR:imenovalnik|Wikislovar)) # 'imenovalnik' ([[w:en:nominativ|nominativ]]) * ((GRAMMAR:rodilnik|Wikislovar)) # 'rodilnik' ([[w:en:genitive|genitive]]) * ((GRAMMAR:dajalnik|Wikislovar)) # 'dajalnik' ([[w:en:dativ|dativ]]) * ((GRAMMAR:tožilnik|Wikislovar)) # 'tožilnik' ([[w:en:akuzativ|akuzativ]]) * ((GRAMMAR:mestnik|Wikislovar)) # 'mestnik' ([[w:en:locative|locative]]) * ((GRAMMAR:orodnik|Wikislovar)) # 'orodnik' ([[w:en:instrumental|instrumental]])
generares:
- Wikislovar # 'imenovalnik' (nominativ)
- Wikislovarja # 'rodilnik' (genitive)
- Wikislovarju # 'dajalnik' (dativ)
- Wikislovar # 'tožilnik' (akuzativ)
- o Wikislovarju # 'mestnik' (locative)
- z Wikislovarjem # 'orodnik' (instrumental)
test nonexistent
[uredi | uredi kodo]* ((GRAMMAR:imenovalnik|nonexistent)) # 'imenovalnik' ([[w:en:nominativ|nominativ]]) * ((GRAMMAR:rodilnik|nonexistent)) # 'rodilnik' ([[w:en:genitive|genitive]]) * ((GRAMMAR:dajalnik|nonexistent)) # 'dajalnik' ([[w:en:dativ|dativ]]) * ((GRAMMAR:tožilnik|nonexistent)) # 'tožilnik' ([[w:en:akuzativ|akuzativ]]) * ((GRAMMAR:mestnik|nonexistent)) # 'mestnik' ([[w:en:locative|locative]]) * ((GRAMMAR:orodnik|nonexistent)) # 'orodnik' ([[w:en:instrumental|instrumental]])
generares:
- nonexistent # 'imenovalnik' (nominativ)
- nonexistent # 'rodilnik' (genitive)
- nonexistent # 'dajalnik' (dativ)
- nonexistent # 'tožilnik' (akuzativ)
- o nonexistent # 'mestnik' (locative)
- z nonexistent # 'orodnik' (instrumental)
comments
[uredi | uredi kodo]what needs fixing
[uredi | uredi kodo]- major:
- ((ns:project_talk)) generates
"Pogovor_o_o Wikipediji"
((ns:project_talk)) generates "Pogovor o Wikipediji" – FIXED
- ((ns:project_talk)) generates
- trivial:
- "case 'tožilnik': # akuzatív" should be changed in "case 'tožilnik': # akuzatív" – using a simple latin "i"
Best regards Gangleri | T | m: Th | T 01:12, 20 februar 2006 (CET)
heading and trailing spaces
[uredi | uredi kodo]Text is available under the CC BY-SA 4.0 license; additional terms may apply.
Images, videos and audio are available under their respective licenses.