Extension:Josa/hi
From Linux Web Expert
Josa प्रकाशन की स्थिति: स्थिर |
|
---|---|
कार्यान्वयन | पार्सर फंक्शन |
विवरण | Automates josa part of Korean postposition process. |
लेखक | Bae Junehyeon (*devunttalk) |
नवीनतम संस्करण | 0.1 (2014-01-29) |
MediaWiki | |
PHP | 5.4+ |
डेटाबेस बदलता है | नहीं |
लाइसेंस | कोई लाइसेंस नहीं दिया गया है |
डाउनलोड करें | |
उदाहरण | {{#은는:한글}} -> 한글은 |
Quarterly downloads | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Public wikis using | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Josa एक्सटेंशन को अनुवादित करें अगर यह translatewiki.net पर उपलब्ध है | |
मुद्दे | अधूरे कार्य · बग की रिपोर्ट करें |
The Josa extension automates josa (it's pronounced as /dʒo:sa/ or /ʨo:sa/) part of Korean postposition process.
स्थापना
- <translate> [[<tvar name=2>Special:ExtensionDistributor/Josa/hi</tvar>|Download]] and move the extracted <tvar name=name>
Josa/hi
</tvar> folder to your <tvar name=ext>extensions/
</tvar> directory.</translate>
<translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Josa%2Fhi - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
wfLoadExtension( 'Josa/hi' );
- File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>
उपयोग
{{#functionname: word }}
{{#functionname: word | argument }}
{{#functionname: word | argument 1 | argument 2 }}
1.30+
Function names
The function will be one of below:
English and other languages | Korean |
---|---|
EulRuel | 을를 |
EunNeun | 은는 |
EGa | 이가 |
GwaWa | 과와 |
AYa | 아야 |
Euro | 으로 |
E | 이 |
A Josa function call without any option will be rendered to the word and a josa. Some special characters are automatically ignored.
{{#EunNeun: 한글}}
→ 한글은{{#EulRuel: 위키백과}}
→ 위키백과를{{#EGa: '비타민'}}
→ '비타민'이{{#과와: 미디어위키}}
→ 미디어위키와{{#아야: 지원}}
→ 지원아{{#이: 정민}}가
→ 정민이가{{#으로: [[학업]]}}
→ 학업으로{{#으로: 100%}}
→ 100%으로{{#EulRuel: 글자 Ñ}}
→ 글자 Ñ를 (bug)
It is OK that the case in given word is written in English alphabet or ends with a number.
{{#EulRuel: DNA}}
→ DNA를{{#EunNeun: ATM}}
→ ATM은{{#Euro: 119}}
→ 119로
But other letters will add parenthesis:
{{#EulRuel: 직원(3명)}}
→ 직원(3명)을(를)
Sometimes results in a bug:
{{#EulRuel: 國語}}
→ 國語을
Arguments
MediaWiki 1.30+
Argument must be one of those:
Argument | Alias | Description |
---|---|---|
josaonly |
조사만 |
Just render a Josa, the given word will be removed. {{#EunNeun: 한글|josaonly}} → 은
|
override=foo |
덮어쓰기 , 오버라이드 |
Replace the Josa with the given text. {{#EulRuel:시약 100g|override=을}} → 시약 100g을
|
The order of the arguments does not matter.
MediaWiki 1.29 or earlier
If second argument is 0
, the base word will be removed.
{{#EulRuel: 한글|0}}
→ 을
Any other argument makes base word remain. Technically, PHP determines whether the value is true
or not. So 'false'
is true
. See more examples:
{{#EulRuel: 한글|false}}
→ 한글을{{#EulRuel: 한글|true}}
→ 한글을{{#EulRuel: 한글|1}}
→ 한글을
File:Wikimedia-logo black.svg | <translate> This {{<tvar name=1>#ifeq:Extension|Extension</tvar>|extension|skin}} is being used on one or more [[<tvar name=2>m:Special:MyLanguage/Wikimedia projects</tvar>|Wikimedia projects]].</translate> <translate> This probably means that the {{<tvar name=1>#ifeq:Extension|Extension</tvar>|extension|skin}} is stable and works well enough to be used by such high-traffic websites.</translate> <translate> Look for this {{<tvar name=1>#ifeq:Extension|Extension</tvar>|extension's|skin's}} name in Wikimedia's <tvar name=2>CommonSettings.php</tvar> and <tvar name=3>InitialiseSettings.php</tvar> configuration files to see where it's installed.</translate> <translate> A full list of the {{<tvar name=1>#ifeq:Extension|Extension</tvar>|extensions|skins}} installed on a particular wiki can be seen on the wiki's <tvar name=ver>Special:Version</tvar> page.</translate> |
File:OOjs UI icon information-progressive.svg |
This message box is using an invalid "type=parser function" parameter and needs fixing.
Categories:
- Pages with script errors
- Pages with broken file links
- Stable extensions/hi
- Parser function extensions/hi
- Extensions without MediaWiki version
- Extensions with no license specified/hi
- Extensions in Wikimedia version control/hi
- All extensions/hi
- Extensions not in ExtensionJson
- Extensions used on Wikimedia/hi
- Localisation extensions/hi