The reference for the main page
Steps to reproduce:
1.Click on the Edit button
2.Add a reference to a text
3.In the reference dialog add an image
4.Also type some text into that reference box (for example "The content" in this case.)
5.Now select the image
6.Go to Media Settings
7.Now add a reference to that image
8.Type anything for this second reference box
9.Apply changes in all three dialog boxes
10.Save the changes
11.Reopen the editor
12.Select the reference [1]
13.Open the reference dialog box
Observed Result:
The text "The content" appears as a template with a highlighted blue box around it.Now click on the [1] reference on the image by going to the media settings of the image.
It opens the same content for the first reference and it keeps on opening the same window as you repeatedly do it for all the reference windows appears.
Expected Result:
The reference on the main page and the reference on the image should be different content.But since the reference in image [1] is pointing to the same [1] for the article ,this issue arises.
See the screenshots attached
Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=58270
Attached: