handmade.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
handmade.social is for all handmade artisans to create accounts for their Etsy and other handmade business shops.

Server stats:

34
active users

#mediawiki

0 posts0 participants0 posts today
Continued thread

Negativbeispiele

#Mattermost ist zwar grundsätzlich auch simpel zu aktualisieren, aber es speichert alles in seinem Installationsverzeichnis. Zum Upgrade gehört also, die Konfigurationsdatei und Upload- und Addon-Verzeichnisse in den Ordner des Upgrades zu kopieren. Das sind alles umständliche, zusätzliche Schritte, die unnötig wären, wenn Mattermost das alles voneinander trennen würde. Wenn ich das richtig in Erinnerung habe, ließe sich wohl im Rahmen eines HA-Setups ein wenig Trennung vornehmen. Schade, dass das nicht Default ist.

Immerhin findet das DB-Schema-Upgrade dann beim Neustart des Dienstes statt.

#Mediawiki erlaubt zumindest die Konfiguration des Datenverzeichnisses. Und wenn nicht irgendwelche Sicherheitsmaßnahmen dagegen arbeiten, kann man in der LocalSettings.php ansagen, dass der Rest der Konfiguration aus `/etc/mediawiki` inkludiert werden soll. Aber das ist alles keine Voreinstellung. In einer idealen Welt will man einfach das Verzeichnis austauschen und es läuft.

I have a MediaWiki question!

I frequently find myself needing to do the following:
a)Add a page to Category X, where X is dependent on a parameter
b)Add Category X to Category Y, where Y is dependent on the same parameter as part (a)
c)Add Category X to Category Z, which is not dependent on a parameter.

I can automate the first step using a simple template that contains
[[Category:Something with my parameter]], but I want help automating the next two steps.

I realize I'm maybe being a bit vague, so let me clarify with a concrete example (the example that inspired this question).

When
@comicsbyxan published Chapter 11 of Pandora's Tale, I made the corresponding wiki article. The chapter was the first appearance of new character Amelia, so I wanted to
* List in the chapter article that it was the first appearance of Amelia.
* Include the chapter article in
Category:Amelia appearances
* Include
Category:Amelia appearances in Category:Amelia
* Include
Category:Amelia appearances in Category:Chapters by character appearances

The first two bullet points I can do simultaneously,
thanks to the simple "appearances" template.. I just add

{a|Amelia}
To the article on Chapter 11. But I have to do the third and fourth bullet point manually. While that's not a big deal to do once, I have to do it for every new character Xan adds to the comic. Chapter 10 introduced nine new characters at once, so I had to do it nine times.

Is there a way to soup up my {a} template so that when I type, for example,
{a|Example New Character}, it automatically creates a page for Category:Example New Character appearances and includes it in both Category:Example New Character and Category:Chapters by character appearances ? Is this the kind of thing I should to learn Lua Modules for or is there a way to do it purely with wiki markup?

#MediaWiki #Wiki #Miraheze #Wikis #TechHelp #TechQuestions #PandorasTale #PandorasTaleWiki #Lua #Scribunto
Pandora's Tale · Chapter 11 front coverVisit the post for more.

Ah, pakko olla old school kun webhotellin palveluntarjoajan automaaginen CMS-asennin ei jostain syystä toimi. (Ovat siis itsekin myöntäneet, ettei toimi.) En kyl muista montako vuotta siitä on, että edellisen kerran olen jotain itse asentanut. Noh, ei se vaikeaa ole, mutta näin sitä ihminen laiskistuu. Ei muuta kuin Mediawiki tulille.
#mediawiki #nörtteily