You should post such a generated link here as an example, so people can immediately try it by clicking on it.
(I wasn't kidding about needing to shorten those links.)
I simply tried to find a suffix of the path that still identifies the element uniquely. Turns out that p:nth-of-type(3) is good enough already. If you want to be a bit more robust to changes on the page, you could also search for the last element with an ID in the path, i.e. #mw-content-text > div.mw-parser-output > p:nth-of-type(3).
You may want to add an option to select only from the anchors/ids from the page to generate links which work in any browser.
Though there may already be an extension for this.