Page MenuHomePhabricator

solve_disambiguations and templates
Open, Needs TriagePublic

Description

Originally from: http://sourceforge.net/p/pywikipediabot/feature-requests/317/
Reported by: @JAnD
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


See Also:
https://sourceforge.net/p/pywikipediabot/feature-requests/317

Details

Reference
bz55027

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:15 AM
bzimport set Reference to bz55027.
bzimport added a subscriber: Unknown Object (????).

I don't agree with this feature. \{\{Other uses\}\} and other templates which have the same function will be affected incorrectly.

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

  • assigned_to: nobody --> xqt
  • status: open --> closed-rejected

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
\}

  • status: closed-rejected --> open-rejected