Reported by Edward-Woodrow at https://en.wikipedia.org/wiki/Wikipedia_talk:New_pages_patrol/Reviewers#Minor_PageCuration_bug
Steps to replicate the issue (include links if applicable):
- Write {{Hatnote}} to a sandbox in mainspace
- Tag the sandbox for AFD deletion
What happens?:
- {{AfDM}} tag is placed above hatnote (prepended to top of page)
- Example diff: https://en.wikipedia.org/w/index.php?diff=1175274923
What should have happened instead?:
- {{AfDM}} tag should be placed below {{Hatnote}} and its various cousins such as {{About}}, {{For}}, etc.
Software version (skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
- Please review MOS:ORDER, located at https://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style/Layout#Order_of_article_elements. Note that deletion tags is item #5. So items #1-#4 need to be detected, and the tag placed after them.