User talk:Železná päsť

From Wiktionary, the free dictionary
Jump to navigation Jump to search

Broken development workflow[edit]

Due in part to the retarded behavior of the wiktionary administrators, I tried to initiate correspondence through e-mail with other participants in the wikimedias, however they only made the recommendation that I should discuss the issue publicly, so here I will discuss the issue on my own talk page.

So, I thought about some potential improvements to the development workflow for modules instead of using the "sandbox" feature which seems to be somewhat insular and it isn't exactly complementary to the collaborative nature of the wikimedias. Let this be an open letter to the wikimedias, and let them make an authoritative decision about whether the recommendation is worthy of further attention and consideration; the administrators of wiktionary need not attend.

Solution 1: Improvements to lua modules[edit]

The most obvious solution is that edits should be annotated with a "test" tag if a developer decides that it shouldn't be published as the default module for all articles on the main website; but instead, the "test" edit would be available to developers who are viewing the website through an experimental "test" mode, which may be considered a universal variant of sandboxes. When developers of a module make a "test" edit, then they can enable the "test" sandbox in order to view articles that have been generated with the "test" edit that they have selected in the module history, which isn't too dissimilar to the preferences feature where users can view the website with a different theme (e.g. monobook) before selecting it as the default. In effect, when another user is unreasonably triggered by module errors and they don't want to contribute to fixing the code and instead outright revert the edits that people have made, they can annotate the edits with a "test" tag. The articles on the main website should be generated from the most recent edit without a "test" tag, and then the "test" tag can be discarded if developers determine that there are no significant errors in the module.

Solution 2: Deprecation of lua modules[edit]

Although on the other hand, the way that lua modules are used to implement inflections on wiktionary is actually extraordinarily dumb, and they should at most be responsible for instrumenting database queries and constructing templates. Developers could instead upload a sqlite database that has been preloaded with inflections, pronunciations, syllabification and etymology for entries, which is obviously better than hardcoding it directly into each article on the website because the database would be considered a central authoritative source, unlike content on articles which is completely arbitrary. For examples, I noticed that common software such as aspell can generate inflections for terms in its dictionaries using aspell -l sk expand so obviously there is no need to reimplement the functionality in lua modules on wiktionary since they can be trivially inserted into a sqlite database and extracted therefrom.

In more explicit terms, there should be a generic template for inflection tables and a template that invokes the lua module which consequently queries a sqlite database before instantiating a template that produces wiki-markup code to be embedded into the article. For obvious reasons, the database would be opened in read-only mode because, although I don't know about the administrators on the wikimedias, but I sure don't trust any contributors to insert, delete or alter any rows in the database when they are writing modules.