Thread:Project:Support desk/Section numbering conflicts

I don't know if this is the right place to report this, but I've encountered an issue with section numbering on Wiktionary. The names of sections in the URL (page#Etymology, page#Etymology_2, etc.) do not take into account the possibility that other sections might have the same name for different reasons, and links to such sections, including those in the TOC, automatically default to the first such section on the page and it is impossible to directly link to all subsequent such sections. For example, the first ‘Etymology 2’ section on the page would have the same name in the URL (page#Etymology_2) as the second ‘Etymology’ section on the page, and links to page#Etymology_2 would automatically take the user to whichever comes first on it (see malo (‘Etymology 2’ under ‘Latin’) and si (‘Etymology’ under ‘Dalmatian’) for examples). I don't know much about coding, but can the MediaWiki source code be edited so that when creating section names in the URL, the Wiki takes into account all previous section names in the URL and not just those of sections that have the same name in the page's source code?