Last modified: 2014-09-18 10:08:54 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57010, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55010 - humantitle.py
humantitle.py
Status: NEW
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
core-(2.0)
All All
: Unprioritized enhancement
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-05 04:03 UTC by Kunal Mehta (Legoktm)
Modified: 2014-09-18 10:08 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kunal Mehta (Legoktm) 2013-10-05 04:03:45 UTC
Originally from: http://sourceforge.net/p/pywikipediabot/feature-requests/336/
Reported by: n-fran
Created on: 2013-04-08 07:53:08
Subject: humantitle.py
Original description:
Automatic number of redirects to articles about people.


On the English Wikipedia made natural naming of articles about personalities -    Name  Family Name    Middle name. For example, the name of the article Albert Einstein and Einstein Albert - it redirects.

http://en.wikipedia.org/wiki/Albert\_Einstein
http://en.wikipedia.org/w/index.php?title=Einstein,\_Albert&redirect=no



In the Russian Wikipedia, called the article in a different way:    Family name,    Name    Middle name. That is, the article is called Einstein, Albert but not Albert Einstein.

http://ru.wikipedia.org/wiki/%D0%AD%D0%B9%D0%BD%D1%88%D1%82%D0%B5%D0%B9%D0%BD,\_%D0%90%D0%BB%D1%8C%D0%B1%D0%B5%D1%80%D1%82
http://ru.wikipedia.org/w/index.php?title=%D0%90%D0%BB%D1%8C%D0%B1%D0%B5%D1%80%D1%82\_%D0%AD%D0%B9%D0%BD%D1%88%D1%82%D0%B5%D0%B9%D0%BD&redirect=no



But it is not forbidden to do redirects. I would like to bot that could do the redirection. This algorithmic task.


The bot must be in manual mode. If the bot sees an article, containing the title in the upper-case letters and commas - if the article is called   A, B C  - he will offer redirects to the article title - B C A     B A   and    A, B   in the case, if the articles B C A and B does not already exist. For example: if name of page is     Lenin, Vladimir Ilyich     bot will propose options for create redirects     Vladimir Ilyich Lenin   Vladimir Lenin and  Lenin, Vladimir.


If the bot finds the title of the article more than one capital letter and it is called        A B C        it offers options for redirects    C, A B     C, A   and    A C in the case if such items are not already exist. . For example: if name of page is    Dmitri Ivanovich Mendeleev           bot will propose options for create redirects       Mendeleev, Dmitri Ivanovich     Mendeleev, Dmitri   and   Dmitri Mendeleev.


Accordingly, the bot should offer redirects, if the article is called A B or B, A.



If the redirect is already there and it leads not to the article, with which we are working at the moment, the bot should offer options: 

1\) create instead of the redirecting page disambiguation 
2\)  to put in the beginning of the article, which leads the redirect template \{\{Redirect\}\} or supersede the templates in other wiki-projects.

http://en.wikipedia.org/wiki/Template:Redirect



In more detail I can explain in IRC. Thanks.
Comment 1 Kunal Mehta (Legoktm) 2013-10-05 04:03:48 UTC
- **priority**: 5 --> 7
Comment 2 Kunal Mehta (Legoktm) 2013-10-05 04:03:49 UTC
We have no humantitle.py in the framework. Do you suggest to implement it? Or do you want to join a given script to the framework? There is already a script for creating redirects which could be modified: capitalize\_redirects.py.
Comment 3 Kunal Mehta (Legoktm) 2013-10-05 04:03:51 UTC
- **priority**: 7 --> 5
Comment 4 Kunal Mehta (Legoktm) 2013-10-05 04:03:53 UTC
For me has no value, to do a new script or to make changes in capitalize\_redirects.py. That it is better and simpler — to solve to specialists programmers. However, capitalize\_redirects.py does redirects absolutely other plan. I don't know, whether it is possible to modify it under that task which I offered. Thanks.
Comment 5 Kunal Mehta (Legoktm) 2013-10-05 04:03:55 UTC
- **labels**:  --> featured

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links