Extension:Josa/de-formal

The Josa extension automates josa (it's pronounced as /dʒo:sa/ or /ʨo:sa/) part of Korean postposition process.

Function names
The function will be one of below:

A Josa function call without any option will be rendered to the word and a josa. Some special characters are automatically ignored.


 * → 한글은
 * → 위키백과를
 * →  ' 비타민'이
 * → 미디어위키와
 * → 지원아
 * → 정민이가
 * →  [ 학업] 으로
 * → 100%으로
 * → 글자 Ñ를 (bug)

It is OK that the case in given word is written in English alphabet or ends with a number.


 * → DNA를
 * → ATM은
 * → 119로

But other letters will add parenthesis:


 * → 직원(3명)을(를)

Sometimes results in a bug:


 * → 國語을

MediaWiki 1.30+
Argument must be one of those:

The order of the arguments does not matter.

MediaWiki 1.29 or earlier
If second argument is, the base word will be removed.


 * → 을

Any other argument makes base word remain. Technically, PHP determines whether the value is  or not. So  is. See more examples:


 * → 한글을
 * → 한글을
 * → 한글을