Szymon Grabarczuk <sgrabarczuk@wikimedia.org> ezt írta (időpont: 2024. jún. 27., Cs, 15:26):
Kinda depends on whether you're asking for Wikimedia-specific rules or general MediaWiki rules.

Speaking just about Wikimedia, each local wiki community may have different preferences. There is no process for enforcing global (meaning, cross-wiki) recommendations in this regard, so in practice, even if someone from the technical community came up with universal rules, no one would really need to stick to them, and if they did and their contribution was reverted, the argument from these rules could be ignored.

I don't mean enforcement, just recommendations.
Yes, each local wiki community may have different preference, but tools (such as different editors, AWB, Pywikibot etc) are crosswiki. So there is no point in creating local recommendations, if the tools work in another way.
On the other side, very few contributors are interested and can understand the significance of a nice code. This is tipically the field of programming people, who are here. That's why I asked here first. People here have the experience to say clever things.
Several programming languages have global style guides (such as PEP.8 for Python), while others only have more or less followed tradiotions or local guides, such as PHP.
Other non-programming languages, such as CSS or query languages may also follow guides.
Why is the wikitext an exception?

My intention is to develop a style guide for Jungarian Wikipedia (yes, that's local), but as a first step I would like to know, if soighlighters).mebody feels like contributing to a  global Wikimedia-specificguide. This is the answer for the first question: I am not interested in fandomwiki and anything else, just Wikimedia projects. If we do it globally, we can co-work with developers of editors and bots, without which the whole effort is hopeless.

The main thing is not a blank line after titles, This is just a simple task for beginning the project. I talked to somebody about this question, and I wanted to collect arguments. My main problem is the ugly formatting of templates, especially {{cite web}} and companions, which makes very hard to read and edit source text (even with syntax highlighters). But I did not want to begin in the middle of things.

My vision has 3 steps:
  1. Ther should be a standard that can be followed.
  2. Tools such as built-in editors and bot frameworks and local templates etc. should follow this when creating new texts.
  3. Bots could follow this when making cosmetic changes.
So I don't mean any enforcement, just efforts. #2 could do a lot for better formatted wikitext.
If nobody comes with me, I will try it in huwiki locally, but of course, that will be less useful.