Skip to content

Improved queries for finding pages involved in CfD#147

Open
Trialpearswiki wants to merge 4 commits into
wikimedia-gadgets:masterfrom
Trialpearswiki:cfdpageselection
Open

Improved queries for finding pages involved in CfD#147
Trialpearswiki wants to merge 4 commits into
wikimedia-gadgets:masterfrom
Trialpearswiki:cfdpageselection

Conversation

@Trialpearswiki

@Trialpearswiki Trialpearswiki commented Jun 13, 2026

Copy link
Copy Markdown

Resolves #80, resolves #78, resolves #73 all of which stem from the detection of which pages are nominated being severely broken.

The detection algorithm consist of two parts one for detecting nomination without a template and a second for nomination using a template. The former was overly strict requiring the action to be preceded by "Propose" which caused many nominations to use the way too loose second query. (#78 and #80) By requiring the link to be the second child we ensure we don't include spurious merge targets as before even if there's a mix of links with and without spans.

Testing was done mostly by checking that all 28 discussions posted yesterday parsed correctly which wasn't the case with the old detection system at all.

@Trialpearswiki Trialpearswiki changed the title Cfdpageselection Improved queries for finding pages involved in CfD Jun 13, 2026
@Trialpearswiki

Copy link
Copy Markdown
Author

I don't believe I'm able to link the other two issues to this pull request myself but that should be done.

@primefac

primefac commented Jun 14, 2026

Copy link
Copy Markdown

I don't believe I'm able to link the other two issues to this pull request myself but that should be done.

TP, I believe if you change your opening statement to "Resolves X, Resolves Y, Resolves Z" it should link them all; git needs explicit linking phrases for each one.

@Trialpearswiki

Copy link
Copy Markdown
Author

That did the trick, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants