Jump to content
MediaWiki

Extension:Josa/hi

From mediawiki.org
This page is a translated version of the page Extension:Josa and the translation is 8% complete.
मीडियाविकि एक्सटेंशन नियमपुस्तक
Josa
प्रकाशन की स्थिति: स्थिर
कार्यान्वयन पार्सर फंक्शन
विवरण Automates josa part of Korean postposition process.
लेखक Bae Junehyeon (*devunt वार्ता )
नवीनतम संस्करण 0.1 (2014年01月29日)
MediaWiki >= 1.47.0
डेटाबेस बदलता है नहीं
लाइसेंस MIT लाइसेंस
डाउनलोड करें
उदाहरण {{#은는:한글}} -> 한글은
Josa एक्सटेंशन को अनुवादित करें अगर यह translatewiki.net पर उपलब्ध है
मुद्दे अधूरे टास्क्स · बग रिपोर्ट करें

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

स्थापना

  • फ़ाइलों को डाउनलोड करें और अपने extensions/ फ़ोल्डर के Josa नामक डिरेक्ट्री में डालें।
    Developers and code contributors should install the extension from Git instead, using:
    cdextensions/
    gitclonehttps://gerrit.wikimedia.org/r/mediawiki/extensions/Josa
    
  • अपने LocalSettings.php फ़ाइल के अंत में निम्न कोड जोड़ें:
    wfLoadExtension( 'Josa' );
    
  • Yes पूर्ण – अपने विकि पर Special:Version पर जाकर देखें कि एक्सटेंशन को सफलतापूर्वक स्थापित किया गया है कि नहीं।


उपयोग

  • {{#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 कोरियाई
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}}한글을
इस एक्सटेंशन का इस्तेमाल एक या अधिक विकिमीडिया परियोजनाओं पर किया जा रहा है। इसका शायद मतलब है कि एक्सटेंशन स्थिर है और इस तरह के अधिक दर्शकों वाले वेबसाइटों द्वारा उपयोग किए जाने के लिए पर्याप्त रूप से काम करता है। विकिमीडिया की CommonSettings.php और InitialiseSettings.php कॉन्फ़िगरेशन फ़ाइलों में इस एक्सटेंशन का नाम खोजें, और यह वहीं स्थापित होगा। किसी विशिष्ट विकि पर स्थापित एक्सटेंशन्स की पूरी सूची को विकि के Special:Version पृष्ठ पर देखा जा सकता है।
इस एक्सटेंशन को निम्न विकि फ़ार्म्स/होस्ट्स और/या पैकेजिस में शामिल किया गया है:

AltStyle によって変換されたページ (->オリジナル) /