Angelina Jordan Wiki talk:Extensions

From Angelina Jordan Wiki

Extension:Cargo

@Dcljr: You suggested it yourself before to use mw:Extension:Cargo to get rid of the problems of the large JSON files for storage of changes, and to make contributions of others easier. I agree, and I would really like to try it out pretty soon, because it likely will have an effect on which further developments to Module:Performances and Data:Performances.json still do make sense and which do not. And that leaves me currently in a somewhat frozen state in regards to that. --Most2dot0 (talk) 07:12, 17 September 2025 (UTC)

OK, hang on. The installation and configuration of Cargo is not trivial, so I need to devote some time to it. (Was dealing with spotty wifi yesterday. Hopefully that won't happen again this evening.) BTW, this doesn't work. I only get the notification if you ping me successfully when you first leave your message. Any attempt to ping someone by editing an existing message won't cause a ping. The workaround is to just leave a new message with the correct ping in it (it can be a reply to your own message). - dcljr (talk) 18:52, 18 September 2025 (UTC)
It happened again. I may or may not have it under control now. Might try installing Cargo tomorrow (Friday, I mean). - dcljr (talk) 05:47, 19 September 2025 (UTC)
As you can see, that didn't happen. Plan to do it tonight, though, and have already given the usual warnings. (I'll reply to your latest comments elsewhere afterwards.) - dcljr (talk) 23:20, 20 September 2025 (UTC)

Extension:Page Forms

Page Forms integration notes per ChatGPT:

Preload Template

Create a template (e.g., Template:NewSongPage) that contains the standard wikitext structure for a new song page, including placeholders for Cargo templates (Performance, Video).

Form Collects Data

Build a Page Form (or any external form) that gathers all needed fields.

Pass Data to Preload

When calling the new page creation, use the preload parameter:

[[Special:CreatePage?preload=Template:NewSongPage&preloadparams=Song=MySong|Performer=Artist1|...]]

The form can generate the URL dynamically with the collected values substituted.

Page Creation

MediaWiki loads the new page with the template pre-filled with your form data. The user can review or edit before saving.

Notes

  • This approach avoids overwriting any free text already present on manually maintained pages because the form does not directly write the page.
  • Partial structured data can coexist with manually written prose.
  • Ensure the template uses so that saving the new page stores the data in Cargo.

--Most2dot0 (talk) 16:17, 11 October 2025 (UTC)

mw:Extension:Page Forms is sort of recommended in the preload feature description. It states itself that it supports Cargo. I assume we could use it to create an page with multiple elements, where all the essential information needed to create an article stub with Cargo data could be requested. A short discussion with ChatGPT encourages that thought (see box on the right), as it states its possible. Thus I would appreciate it if we eventually could have this extension --Most2dot0 (talk) 15:45, 11 October 2025 (UTC)

Acknowledged. I'll install it the next time I upgrade MW (which should be soon)- dcljr (talk) 02:42, 20 October 2025 (UTC)

ReplaceText

@Dcljr: We talked about ReplaceText elsewhere (it is already listed as being considered), and it would come in very handy to rework certain context trees for the performances entries, so just a slight hint that your could have a look at that today as well, just in case you didn't have it on your screen already. --Most2dot0 (talk) 09:32, 30 November 2025 (UTC)