John Vandenberg has submitted this change and it was merged.
Change subject: Disambiguation page name show before alternatives ......................................................................
Disambiguation page name show before alternatives
When using -start, the script immediately shows a list of potential alternative but user does not know which disambiguation page has been parsed.
Output the disambiguation page name before listing alternatives:
Alternatives for [[fr:-]]
0 - Aide:Homonymie 1 - Signes plus et moins 2 - Tiret 3 - trait d'union
Change-Id: Ic35db186f1d74d8fe8b02caaab0de9921b28b85f --- M scripts/solve_disambiguation.py 1 file changed, 1 insertion(+), 0 deletions(-)
Approvals: John Vandenberg: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/solve_disambiguation.py b/scripts/solve_disambiguation.py index 60d4149..d297680 100755 --- a/scripts/solve_disambiguation.py +++ b/scripts/solve_disambiguation.py @@ -1013,6 +1013,7 @@ if not self.findAlternatives(disambPage): continue
+ pywikibot.output('\nAlternatives for %s' % disambPage) self.makeAlternativesUnique() # sort possible choices if config.sort_ignore_case:
pywikibot-commits@lists.wikimedia.org