On Commons we’ve noticed that several gadgets which are supposed to append a section on a talk page have started to produce wikitext like this:
...26 October 2023 (UTC)== New heading == New section content...
These gadgets are using the appendtext parameter of the edit API; it appears that the appended text previously used to be prepended with a line break (or equivalently, that the existing content previously always ended with a line break, Unix style), but that this is now no longer the case, so the “heading” is directly added to the previous signature.
Needs more investigation whether this is really a change in MediaWiki, I guess.
Affected gadgets:
- global replace (code fix, example problem diff 1 and 2)
- user rights manager (code fix, example problem diff 1 and 2)