https://bugzilla.wikimedia.org/show_bug.cgi?id=55027
Web browser: --- Bug ID: 55027 Summary: solve_disambiguations and templates Product: Pywikibot Version: unspecified Hardware: All OS: All Status: ASSIGNED Severity: enhancement Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: legoktm.wikipedia@gmail.com Classification: Unclassified Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/feature-requests/317/ Reported by: jandudik Created on: 2012-10-04 20:02:23 Subject: solve_disambiguations and templates Assigned to: xqt Original description: It would be fine, if I can define (or global defined) templates and parametersm which means links. example: {{Infobox foo |name = bar |link=Article |description=Lorem ipsum }}
where [[Article]] is disambiguation When I run solve_disambiguation, bot got message No changes needed in "Page"
I want to replace Article -> Article (main) but when it is not in brackets... If there exists such list of templates and parameters, bot should recognize parameter link= in template {{Infobox foo}} and replace it
https://bugzilla.wikimedia.org/show_bug.cgi?id=55027
--- Comment #1 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- I don't agree with this feature. {{Other uses}} and other templates which have the same function will be affected incorrectly.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55027
--- Comment #2 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- There is a way to use the more generic replace.py or fixes.py to do that. There is no way to see whether the link parameter is a real wiki link. It may also be a database link of a foreign databased website
https://bugzilla.wikimedia.org/show_bug.cgi?id=55027
--- Comment #3 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- - **assigned_to**: nobody --> xqt - **status**: open --> closed-rejected
https://bugzilla.wikimedia.org/show_bug.cgi?id=55027
--- Comment #4 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- There are huge pages on cs.wiki containing only such templates (WLM). and there are often several links to disambiguations - village with same name in one list - sou replace or fixes are hard-to-use, solve_disambiguation woud be better.
And there should be definition lists for every language
cs { template1=Památky v Česku link1=Odkaz_obec template2=foo link2=bar }
https://bugzilla.wikimedia.org/show_bug.cgi?id=55027
--- Comment #5 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- - **status**: closed-rejected --> open-rejected
https://bugzilla.wikimedia.org/show_bug.cgi?id=55027
Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://sourceforge.net/p/p | |ywikipediabot/feature-reque | |sts/317
https://bugzilla.wikimedia.org/show_bug.cgi?id=55027
Amir Ladsgroup ladsgroup@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ladsgroup@gmail.com Component|General |solve_disambiguation.py
https://bugzilla.wikimedia.org/show_bug.cgi?id=55027
xqt info@gno.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW CC| |info@gno.de
pywikipedia-bugs@lists.wikimedia.org