Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heading at bottom of article incorrectly deleted #234

Closed
NovemLinguae opened this issue May 30, 2022 · 2 comments
Closed

Heading at bottom of article incorrectly deleted #234

NovemLinguae opened this issue May 30, 2022 · 2 comments

Comments

@NovemLinguae
Copy link
Member

NovemLinguae commented May 30, 2022

Reported by DoubleGrazing at https://en.wikipedia.org/wiki/Wikipedia_talk:WikiProject_Articles_for_creation#Rejection_removed_content

Diff: https://en.wikipedia.org/w/index.php?title=User:Abhaysen830/sandbox&diff=next&oldid=1090566900

Does AFC have code that tries to delete headings at the bottom of an article that begin with the draft name? I know the AFC submit wizard or some other workflow appends a heading with the article name and the AFC submission template, resulting in extra headings. Perhaps AFCH tries to delete this extra heading, and was overly broad here.

Another possibility is an overly broad regex.

image

@primefac
Copy link

This is a GIGO issue; the script removes extraneous headings from the bottom of articles, and the fact that someone put their entire draft in the header is their fault, not ours. Not that it is strictly the reviewer's fault for not doing so, but they should have removed the header code before rejecting the draft.

@NovemLinguae
Copy link
Member Author

Abandoning. Received pushback.

@NovemLinguae NovemLinguae closed this as not planned Won't fix, can't repro, duplicate, stale Apr 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants