[Labs-l] Backlinks counter for Wikipedia articles?

Navino Evans navino at histropedia.com
Tue Sep 9 11:41:06 UTC 2014


Wow! That would be awesome :)

The API we are looking for can be as simple as sending a GET request to a
url (http://www.somewhere.com/api/count?t=wikipedia_title_goes_here),
 returning a number in "text/plain" format.

The actual count that we're interested is for English Wikipedia only, and
would ideally include the following, all added up into a single number:

1) All links from articles in Main Namespace only  (for our purpose it
would be better to not include links from User pages, Talk pages etc if
possible)

2) Including links from Redirect pages (e.g. counting a link from "Michel
Jackson" redirect as part of the count from the article "Michael Jackson")

3) Excluding links that are within a template transcluded in an article (so
we don't need to count the links inside Navboxes within an article for
example)

4) For our purpose, it doesn't really matter whether transclusions of the
actual page that is called are included in the count (we generally won't be
using it for checking templates, timeline and list articles).

Just to give the full picture for this request -  my use of this tool will
be for a company (www.histropedia.com), so I wouldn't want to take up your
time with this unless it's something you feel should be available for wider
use. My plan was to get the developer working on our site to make this tool
for the community if it didn't exist somewhere, but we would be reliant on
datadumps so could not get live information (which would be incredibly
useful for us, and I hope many others).


On Mon, Sep 8, 2014 at 8:10 PM, John <phoenixoverride at gmail.com> wrote:

> What numbers/data do you want? I can whip up a replacement for it.
>
>
> On Monday, September 8, 2014, Navino Evans <navino at histropedia.com> wrote:
>
>> Hi All,
>>
>> Hi all, does anyone know if there is a tool currently available for
>> counting backlinks to Wikipedia articles via an API? I have been using this
>> tool http://dispenser.homenet.org/~dispenser/cgi-bin/backlinkscount.py -
>> but it seems to have finally gone offline completely following some recent
>> controversy with user:Dispenser.
>>
>> Any advice much appreciated!
>>
>> Regards,
>>
>> Navino
>>
>
> _______________________________________________
> Labs-l mailing list
> Labs-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/labs-l
>
>


-- 
___________________________

Histropedia
The Timeline for all of History
www.histropedia.com

Follow us on:
Twitter <https://twitter.com/Histropedia>     Facebo
<https://www.facebook.com/Histropedia>ok
<https://www.facebook.com/Histropedia>     Google +
<https://plus.google.com/u/0/b/104484373317792180682/104484373317792180682/posts>
   L <http://www.linkedin.com/company/histropedia-ltd>inke
<http://www.linkedin.com/company/histropedia-ltd>dIn
<http://www.linkedin.com/company/histropedia-ltd>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.wikimedia.org/pipermail/labs-l/attachments/20140909/8fc1bbbf/attachment.html>


More information about the Labs-l mailing list