Jump to content

مساعدة:استعمال ويكي دوال

From Wikifunctions
This page is a translated version of the page Help:Using Wikifunctions and the translation is 17% complete.
Outdated translations are marked like this.

هذه صفحة مساعدة لفهم المعنى المقصود من خطأ ما. لا تغيّر عناوين الأقسام، ذلك أنها مثبتة كوصلات للأخطاء.

كائن غير معروف

معرّف الدالة «أو إحالة لمدخل مستعمل في استدعاء الدالة» ليس معرّفًا صالحًا أو غير موجود في ويكي دوال.

لإصلاح استدعاء الدالة، قم بتحرير الصفحة باستخدام المحرر المرئي، انقر على الاستدعاء الذي يفشل، واتبع التعليمات التفاعلية لاختيار وتهيئة استدعاء دالة صالح.

كائن غير صالح

الدالة التي يحاول استدعاء الدالة استعمالها غير صالحة حاليًا أو تالفة.

إذا استمرت المشكلة، قم بزيارة صفحة الدالة وانشر تفاصيل المسألة في صفحة النقاش.

Not a function

The ID used in your function call does not point to a Function, but to an object of some other type.

To fix it, edit the page with the visual editor, click on the failing call, and use the configuration dialog to choose a valid function and set up its input fields.

Input type not supported

The function in your function call uses one or more input types that are not currently supported, as they cannot be interpreted from strings.

You can search for other supported functions by editing the page with the visual editor and inserting a new function. The initial search dialog will allow you to look through all supported functions.

If you believe this input type should be supported, please inquire about it in the Wikifunctions Project chat.

Output type not supported

The function in your function call returns an output value that is not currently supported, as it cannot be converted to a string.

You can search for other supported functions by editing the page with the visual editor and inserting a new function. The initial search dialog will allow you to look through all supported functions.

If you believe this output type should be supported, please inquire about it in the Wikifunctions Project chat.

Invalid language properties

The function call is using invalid language codes for its parser or renderer language properties.

To fix the issue, edit the page using the source editor and search for the conflicting function call. The language properties will appear as parselang and renderlang, and you must make sure that they are valid BCP 47 language tags. For example:

{{#function:Z10000|foo|bar|renderlang=en|parselang=en}}

Wrong number of inputs

Your function call wikitext has a different number of input parameters than those expected (either fewer or more).

To fix the issue, edit the page using the visual editor, click on the failing function call, and make sure that all the input fields are set. If the problem still persists, it's likely that your function call has more unnamed inputs than expected, so you should fix it directly with the source editor.

Once you have located your conflicting function, make sure that there are as many inputs separated by | as the function accepts, excluding named parameters such as renderlang or parselang. For example, the following function call has two unnamed inputs, which fits the expectations of the function:

{{#function:Z10000|unnamed input 1|unnamed input 2|namedInput=1|foo=bar|parselang=en}}

Wrong input type

The function call wikitext contains a referenced value as an input, but this reference does not correspond to the right type of item.

To fix this, edit the page using the visual editor, click on the failing function call, and use the configuration dialog to select a valid value for the failing input.

Unexpected output

The value returned from running the function call does not correspond to the value type expected for this function. This can be due to some issues in the function implementation.

You can check if the function works as expected in the function page, by testing it with your desired inputs or inquire about it in its talk page.

Failed evaluation

The function orchestration service failed to evaluate your function call successfully. This can be due to internal orchestrator errors, or due to some issues in the function implementations (e.g. the function has no connected implementations.)

You can check if the function works as expected in the function page, by testing it with your desired inputs or inquire about it in its talk page.

Wikifunctions is disabled

Wikifunctions features are currently disabled. This can be due to ongoing deployments or technical maintenance and will be resolved in time.

If the error persists, visit the Wikifunctions Project chat and post a message.

Other system failures

The system encountered an unexpected failure before sending the request for evaluation. If the issue persists, please file a bug in Phabricator.