Transclude special:relatedchanges on a subpage removes #contentSub
Closed, ResolvedPublic

Description

Reported by @Jack_who_built_the_house on T181032.

On a subpage not transcluding special:relatedchanges, there is a link to go back to the parent page, that includes a padding (example):

That's not the case on subpages transcluding special:relatedchanges:
Expectation:

Reality:


https://ru.wikipedia.org/wiki/Участник:Jack_who_built_the_house/related_changes_bug

It is not a local problem: I've been able to [[ https://fr.wikipedia.org/w/index.php?hidebots=1&hidecategorization=1&hideWikibase=1&limit=50&days=7&enhanced=1&title=Utilisateur:Trizek_(WMF)&oldid=143691668&target=Brouillon&urlversion=2 | see it on fr.wp ]]as well.