Jump to content

Rozszerzenie:Wykres/Projekt

From mediawiki.org
This page is a translated version of the page Extension:Chart/Project and the translation is 65% complete.

W latach 2015-2023 edytorzy mogli używać rozszerzenia Graph (pl. diagram, wykres) do wizualizacji danych w projektach Wikimedia. Setki tysięcy artykułów Wikipedii zawierało takie diagramy i był to sposób na wzbogacenie zawartości wiki, której większość to tekst. Jednak w 2023 rozszerzenie zostało wyłączone ze względów bezpieczeństwa. Edytorzy byli sfrustrowani, że czytelnicy nie mogli przeglądać diagramów, w których tworzenie społeczności zainwestowały czas i energię.

Wikimedia Foundation omówiła przyszłość wykresów z członkami społeczności, a niniejszy projekt jest wynikiem tych dyskusji. Budujemy nowe bezpieczne narzędzie, które nazywamy Chart, jako następcę rozszerzenia Graph. Będzie ono obsługiwać większość prostych wizualizacji danych w artykułach Wikipedii. Nowe narzędzie zostanie zbudowane w sposób, który ułatwi dodanie obsługi większej liczby rodzajów wykresów w przyszłości, jeśli Fundacja lub programiści społeczności zdecydują się to zrobić. Będziemy wiedzieć, że osiągnęliśmy sukces, gdy edytorzy będą konwertować stare diagramy przy użyciu nowego narzędzia.

W planie rocznym na rok 2024-2025 nasz projekt jest udokumentowany jako kluczowy wynik Wiki Experiences 3.3.

Strategia

  • Audience. We are guided by the needs of Wikipedia readers. We will focus on the most common uses of data visualization for enhancing encyclopedic content. This means that uses outside of articles, such as for PageViews, are not a priority now. However, although the primary focus will be on Wikipedia articles, charts will not be limited to pages in the main namespace and will be available on non-Wikipedia wikis.
  • Ease of use. We want to make it easy for any editor to be able to create a chart intuitively. Previously, it was fairly difficult to add and edit graphs. Editors needed to be comfortable interacting with Vega, the underlying software powering graphs. This is why editors created most graphs using templates that contained pre-defined Vega code. Templates are more user-friendly, but cannot be easily reused across wikis. This time, different types of charts will be defined by the tool and will be available across all wikis. Editors will be able to add charts using a familiar wikitext format and will not need technical knowledge about the software underneath. These changes will reduce the need to rely on templates. They will also make it possible to upgrade the underlying library without disrupting existing charts.
  • Architecture. Charts will be rendered (turned from code into visual content) on the Wikimedia Foundation servers using an open-source data visualization library, generated from data pulled from defined sources. More specifically:
    • Rendering charts on our servers will allow for pages to be loaded quickly. It also avoids the security issues that we faced with the graph extension. It will also enable charts to appear on the mobile apps, in exports, and in other reuse/offline scenarios.
    • For data visualization, charts will be generated using an open-source library. This library must meet our requirements like support for different languages, some level of interactivity, color customization, and more.
    • At first, there will be a single data source for charts: pages in the Data namespace on Wikimedia Commons. This will make it easy to reuse data between charts, avoiding the clutter of having the data inlined in wikitext. We will also design the system to support adding more data sources in the future.

Editor support. This project will only succeed if editors convert existing graph code to charts and start creating new charts. We will find ways to support editors with converting existing graphs through automated and manual processes. We will also look for ways to preserve existing graphs that are unlikely to be converted to charts. This may mean replacing them with static images or transitioning their use case to other tools.

Aktualności

Extension:Chart/Project/pl/Updates

Ludzie

FAQ

Extension:Chart/Project/pl/FAQ

Zaangażuj się