Summary: GRAMMAR should allow selective bolding, etc.
           Product: MediaWiki
           Version: 1.18-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: easy, i18n
          Severity: enhancement
          Priority: Normal
         Component: Internationalization

Some GRAMMAR routines add isolated words such as grammatical articles,
prepositions and postpositions around (possibly inflected) words, which
usually are wiki names.

When these words are to be bolded, italicized, or anything the like,
translators currently have the choice to either drop this formatting,
or appy it to the entire group of words yielded by a GRAMMAR routine.

Neither of these is often desirable.

What was generally needed is something wraped around the word passed to
GRAMMAR after inflection, but before any extra words or particles are added
before or after it. What exactly should undergo formatting or the like,
and what should not, would be language dependant and thus has to be dealt
with inside the GRAMMAR converter routines.

I propose extending its syntax from {{GRAMMAR:case|word}} to


with two optional paramters which shall be put in front of and behind the
word "word", respectively.

Thus, e.g. for uselang=ksh

  {{ucfirst:{{GRAMMAR: Dativ, en |{{SITENAME}}|<i>|</i>}}}}

would show as either of:

   En de <i>Wikipedia</i>
   Em <i>WikiTravel</i>

depending on the grammatical gender of {{SITENAME}}.

I believe, this is fairly easily coded, and for the most if not all
GRAMMAR routines, I do volunteer implementing it. I've made this bug
report mainly in order to collect feedback and possible additons or
enhancements that I am not aware of. Thanks!

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

Wikibugs-l mailing list

Reply via email to