Module talk:ExtensionJson
Add topicThis page used the Structured Discussions extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made. |
manifest_version
[edit]manifest_version
is missing. As a result, Module:Extension does not set configuration prefix and, consequently, configuration variables' names, correctly.
Alexander Mashin talk 09:21, 17 August 2022 (UTC)
Stale data
[edit]@Bawolff: Why is the bot not properly picking up my changes in gerrit:1046026? * Pppery * it has begun 23:38, 26 June 2024 (UTC)
- Seems like there was a shallow.lock file in CentralAuth that was preventing the bot from updating things after that extension. Hopefully should be fixed now. Bawolff (talk) 06:55, 27 June 2024 (UTC)
Composer
[edit]This JSON contains references to non-existent composer packages in composer
field, probably coming from the extensions composer.json
or package.json
. Example: Admin_links. Perhaps, some checks should be made.Alexander Mashin talk 05:05, 20 July 2024 (UTC)
- I wonder if maybe those extensions should be changed not to have a package name if it doesnt exist. Bawolff (talk) 06:40, 20 July 2024 (UTC)
- Yeah, it seems the best fix is for Composer names that aren't registered to be removed from the extensions' composer.json files. (Or for them to be registered, of course.)
- There are some I think (the Bluespice ones?) that are valid names for a private Composer registry, so I'm not sure how those are supposed to be handled. Although looking now I can't find any documentation about that. Lots of the Bluespice extensions seem to have unregistered Composer names.
- I think quite a few extension authors put
"name": "mediawiki/foo"
thinking that it's the thing to do, despite not being able to register anything within the mediawiki Packagist namespace. Sam Wilson 13:18, 20 July 2024 (UTC) - I, on the other hand, suggest that something like
composer show
be called for any extension claiming to be a Composer package while the JSON is assembled. - Hoping that many extension maintainers rectify the issue goodwise will not lead anywhere.Alexander Mashin talk 15:20, 20 July 2024 (UTC)
- Good idea. I've opened phab:T370729.
- But I still think the composer.json files should be actually fixed to not include the invalid names, or for the maintainers to register them on Packagist. :-) Sam Wilson 23:54, 22 July 2024 (UTC)
- @Alex Mashin: Code is fixed and deployed, and the next update should remove the non-existent Composer packages. Sam Wilson 00:09, 25 July 2024 (UTC)
- Thank you, now this
.json
will become even more useful.Alexander Mashin talk 02:06, 25 July 2024 (UTC) - Actually I got it wrong, and there's a follow up patch. But then it'll work! :) Sam Wilson 04:16, 25 July 2024 (UTC)
- Okay, fixed now! Sam Wilson 01:08, 26 July 2024 (UTC)
SemanticVersion not listed in here
[edit]Hi, I recently added a new MediaWiki extension called SemanticVersion. The repository's initial source code commit was merged on June 8th (Gerrit change 1154381), however it's been a few days and I haven't seen it listed yet in this module. Is there any reason why this might be happening? Thanks! SamanthaNguyen (talk) 17:37, 10 June 2025 (UTC)