Phabricator/Bots/hi
Phabricator bots are users in Phabricator for whom actions are automated or are a consequence of the actions of multiple users. See the upstream documentation for more information.
Phabricator bots are similar to MediaWiki bots, and much of the general Wikimedia bot policy is relevant to them.
व्यक्तिगत खातों से बॉट खातों को अलग करना
एक व्यक्तिगत उपयोगकर्ता खाता गतिविधि के दोहराव पैटर्न के लिए उपयुक्त नहीं है, क्योंकि मानव मामले में वे लगभग सार्वभौमिक रूप से स्पैम माना जाएगा, या सर्वोत्तम रूप से किसी के व्यक्तिगत खाते में बंद हो जाएंगे। गतिविधि जो किसी विशिष्ट खाते से निकलती है जो स्पैम प्रतीत होती है, उसे खाते को अक्षम या हटाया जाना आवश्यक हो सकता है। इन मामलों में, यदि अपमानजनक खाता उपयोगकर्ता का व्यक्तिगत खाता भी है, तो वे स्थिति की अपील करने या व्याख्या करने में सक्षम नहीं होंगे।
एक बॉट प्राप्त करना
नियमित फ़ैब्रिकेटर खातों के विपरीत, जो विकीमीडिया एसयूएल या एलडीएपी खाते से बंधे होते हैं, बॉट खाते को पैब्रिकेटर में मूल रूप से बनाया जाता है। In order to request a bot account, please create a task under the Phabricator-Bot-Requests project with the following details:
नाम उद्देश्य
- An email address (which can be invalid but must be unique)
- जिम्मेदार उपयोगकर्ता या संगठन
Phabricator admins: Steps to perform
इस तरह के एक खाता बनाने के लिए फ़ैब्रिकेटर व्यवस्थापक के लिए कदम:
- बॉट उपयोगकर्ता बनाएँ
- पारदर्शिता के लिए, खाता विवरण बॉट करने के लिए मानव मालिक जोड़ें
- Go to "Manage", go to "Edit Settings", go to "Conduit API Tokens", click "Generate Token".
उस टोकन की प्रतिलिपि बनाएँ।
- Create paste containing that token and set "View policy" to human owner and yourself
- सृजन अनुरोध कार्य में लिंक पेस्ट करें और मानव मालिक से कार्य को बंद करने के लिए कहें जब यह अपेक्षित काम करता है
Bot account holders: Steps to perform
अपने बॉट खाते का उपयोग करने के लिए आर्क को कॉन्फ़िगर करने के लिए ये चरण हैं
- अपने बॉट के लिए खाता प्रमाण पत्र प्राप्त करें
- Create an arc configuration file matching the following, replacing "<your bot account id>" and "<your bot certificate>" with the appropriate values.
{
"config": {
"default": "https:\/\/phabricator.wikimedia.org\/"
},
"hosts": {
"https:\/\/phabricator.wikimedia.org\/api\/": {
"token": "api-token_which_starts_with_api"
}
}
}
- इस फाइल को कहीं सेव करें। The default location arc looks is "
.arcrc
" in your home directory (~/.arcrc
on Linux and Mac), but if you already have an arcrc file on the machine you're testing with, you may prefer to save it elsewhere. For purposes of this example, we'll use "bot.arcrc
" in the current working directory. - परीक्षण के रूप में निम्न आदेश चलाएं:
$ arc tasks --unassigned --limit 1 --arcrc-file bot.arcrc
इसे मैनिपेस्ट से एक ही कार्य का संक्षिप्त सारांश वापस करना चाहिए।