Jump to content

Wikifunctions:FAQ

From Wikifunctions
This page is a translated version of the page Wikifunctions:FAQ and the translation is 42% complete.
Outdated translations are marked like this.
Oofkierzung:
WF:FAQ

LEE WAN YONG IS NAZI

Bitte sieh dir unser FAQ auf Meta für allgemeinere Fragen zu Wikifunctions und der Abstrakten Wikipedia an.

Aféierung

Wourëms geet et an dësem Projet?

Wikifunctions ass e neie Wikimedia Projet deen e Katalog vun all Zort vu Funktiounen ubitt, déi jiddereen kann ruffen, schreiwen, ënnerhalen an benotzen. Et bitt och d'Basis Technologie déi et schlussendlech erlaabt Sprooch-unabhängige Artikelen aus Abstract Wikipedia an d'Sprooch vun all Wikipedia ze iwwersetzen. Dëst wäert et all erlaben, Artikelen an hirer Lieblingssprooch ze bidden an ze liesen.

Wat ass eng Funktioun?

Funktiounen sinn eng Form vu Wëssen, déi Froen beäntweren kann, wéi vill Deeg tëscht zwee Datum oder d'Distanz tëscht zwee Stied vergaang sinn. Méi komplizéiert Funktiounen kënnen méi komplizéiert Froen beäntweren, wéi zum Beispill de Volumen vun enger dreidimensionaler Form, d'Distanz tëscht Mars a Venus zu engem bestëmmten Datum, oder ob zwou Spezies zur selwechter Zäit liewen.

Wir nutzen Funktionen bereits bei vielen Arten von Wissensabfragen, beispielsweise beim Stellen einer Frage an eine Suchmaschine. Die Vorlagen, wie etwa Vorlage:Einheitenumrechnung und Vorlage:Alter in der englischen Wikipedia, sind auch Beispiele für Funktionen, die bereits in vielen Wikipedias verwendet werden, geschrieben in Wikitext und Lua und manuell in jedes Wiki kopiert, wo es benötigt wird.

Wat ass eng Implementéiereung?

Eng Implementatioun ass eng spezifesch Manéier fir eng Funktioun auszeféieren. Eng Implementatioun ass e Rezept dat d'Schrëtt opgelëscht huet déi néideg sinn fir d'Funktioun ze lafen. Et kann e Stéck Code an enger Programmiersprooch sinn oder eng Kombinatioun vu Rufe op aner Funktiounen. Eng Funktioun kann vill Implementatiounen hunn, déi all Equivalent sinn.

Wat ass een Test?

E Test ass e Wee fir ze bestëmmen ob eng gewësse Funktioun déi richteg Saach mécht. Eng Funktioun huet normalerweis verschidde Tester, déi all e puer Input fir d'Funktioun an d'Bedingungen spezifizéieren déi d'Ausgabe fir den entspriechenden Input muss erfëllen.

Zum Beispill, Tester fir eng "Titel Fall" Funktioun kann: "abc" soll "Abc" ginn; "war and peace" soll "War and Peace" ginn; " война и мир" soll "Война и мир" ginn; an "123" soll " 123" bleiwen.

Welche Funktionen sind jetzt verfügbar, welche werden bald verfügbar sein und welche sind in weiter Ferne?

  • Bei der Start:
    • Mir hunn d'Fäegkeet Funktiounen ze hunn déi mat Strings a Booleaner schaffen.
    • D'Wikifunktiounen ginn vun Ufank un komplett international. Et kann an all Sprooch benotzt ginn.
  • Laufende Entwicklung:
    • Generesch Typen a generesch Funktiounen ginn net voll ënnerstëtzt.
    • D'Zesummesetzung vun Typen wäert, fir elo, eppes sinn, dat sech op d'Entwécklungsteam beschränkt. An der Zukunft kann d'Gemeinschaft méi Typen addéieren. Et gëtt vill Aarbecht an der Zukunft ze maachen fir Typen vill méi glatt ze verhalen.
      • One particularly interesting type will be binary data, and particularly files.
    • We currently support two programming languages for implementations: JavaScript and Python. In the future, we want to support many more.
  • An Zukunft…
    • It will be possible to call Wikifunctions functions from other Wikimedia projects and integrate their results into the output of the page. Fäerdeg → WF:Embedded function calls
    • It will be possible to use data from Wikidata in functions. Fäerdeg → WF:Working with Wikidata content
    • It will be possible to call data sets from Commons Data namespace.

How is Wikifunctions multilingual?

Wikifunctions and Abstract Wikipedia are multilingual in a number of ways that do not impact each other:

  • Wikifunctions is multilingual in terms of its content and user interface. Users can read and call functions on Wikifunctions in any natural language. Here is the “join string” function in English, Polish, and Hebrew, and it is available in many more languages.
  • Contributors can edit and improve Wikifunctions using their language. Even implementations can be edited in the natural language of the contributor. For example, the composition of the “and” function can be edited in German, English, or any other of about 300 languages.
  • Wikifunctions functions can be used to create results for any natural language. The community is creating a growing number of functions to support the generation of text in many natural languages. We have functions for Breton, Rohingya, English, and many other languages.
  • Functions in Wikifunctions can be implemented in various different programming languages. For example, the join function is implemented in both JavaScript and Python.

Which programming languages does Wikifunctions currently support? Which programming languages will be supported in the future?

Currently, Wikifunctions supports implementations written in JavaScript and Python. We plan to add support for more programming languages in the future.

How will Wikifunctions be integrated into other projects?

Wikifunctions is the first step towards building Abstract Wikipedia. Our near-term focus will be on supporting the community and making improvements based on feedback. Concurrently, we will begin the process of integrating it with Wikipedia and Wikidata, which will enable broader real-life applications and get us closer to the vision of Abstract Wikipedia.

Contributors will be able to call functions stored on the Wikifunctions site from within their wikis. The result of the function call will be displayed to readers of the wiki. This can be used, for example, to calculate the age of a person, the population density based on population and area data from Wikidata, or to draw a graph and integrate it into a given article.

Another option to integrate Wikifunctions will be to integrate an interactive function call interface within their wiki. This could be used, for example, in a Wikipedia article to dynamically calculate the result of a physical equation based on reader-provided parameters, draw and interact with mathematical functions, etc.

Wat ass Wikifunctions net?

Kuckt wgl. Wikifunctions:Wat Wikifunctions net ass fir méi Informatiounen dozou.

What license will the functions and derived content be under?

Per the discussion happened on Meta between November and December 2021, all contributions to Wikifunctions and the wider Abstract Wikipedia projects will be published under free licenses. In particular:

There are still some points that will need to be addressed in the future, such as the license of the generated content from the abstract content. We plan on drafting a more comprehensive document with the Legal department about how people can re-use code from Wikifunctions as painlessly as possible, while adhering to the license.

Bäidroen

Ech sinn nei hei. Wat kann ech maachen a wéi kann ech hëllefen?

Welcome! We're very happy to have you here! There are many opportunities for contributing to Wikifunctions, from creating new functions to improving and translating documentation. If you are looking for ways to get involved, we recommend that maybe, depending on your level of comfort, you suggest a new function on a topic you are interested in. Or even create such a function. Provide some tests. Try your hand at an implementation. Help with translations. Read and improve our documentation. Help with organizing the community.

How do I create a new function, implementation, or test?

To see how to create a new function, implementation, or test, see Wikifunctions:Introduction.

To see in more detail how to create an implementation, see Wikifunctions:How to create implementations.

What should I edit first?

If you can write several languages, find functions that don't have labels and descriptions in your languages yet on the page Special:ListMissingLabels, and help to add them.

If you have some interest in a domain that could feature functions in Wikifunctions, but yet doesn't, or if you have more ideas for functions, go to the page for suggesting new functions and present your ideas.

If you are a coder in JavaScript or Python, maybe you want to check for functions that don't yet have implementations in JavaScript or Python, and try to write them.

Wou fannen ech Hëllef?

Your first stop should be the Help portal, where you'll find all the documentation related to using and editing Wikifunctions. If you're still stuck, post a message on Project chat, and someone will answer your question.

Wéi sortéieren oder kategoriséiere mir Funkctiounen? =

Tracked in Phabricator:
Task T285424

For now, the best way to sort or categorize functions is to do it by hand through pages in the Wikifunctions namespace. Another option would be through the talk page of the given function. We will monitor these efforts and discuss with the community which changes to the system would be helpful for this task.

How can I setup the software locally to hack on it?