What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Release]Wikipedia Article Information

[Release]Wikipedia Article Information
Author: Message:
Paril
Junior Member
**

Avatar
Admin of Paril's Projects

Posts: 69
30 / Male / Flag
Joined: Jul 2006
O.P. [Release]Wikipedia Article Information
Very simple script.
Something that helps me out, and may help you out in the future.


This script will return a small portion of information on a Wikipedia article (If the page has been created, and if it has a Talk/Discussion page). Very simple, yet effective.

This was made with the help of J-Thread and SilentDragon, in various places.

Syntax:

!wiki article

will send a message, looking like:

Wikipedia's entry on article is located at http://en.wikipedia.org/wiki/article

This article exists.
Talk/Discussion page exists. (http://en.wikipedia.org/wiki/Talk:article)


It will say that it doesn't exist if it.. well, doesn't exist.
You can grab a copy over at:

http://paril.servequake.com:8080/Wikipedia.plsc

Thanks, that's all.
08-13-2006 02:34 AM
Profile E-Mail PM Web Find Quote Report
ddunk
Veteran Member
*****

Avatar

Posts: 1228
Reputation: 51
35 / Male / Flag
Joined: Mar 2004
RE: [Release]Wikipedia Article Information
Nice idea, but a few suggestions:

Use wikipedia's search function and returning the first result instead of just appending the query.

http://en.wikipedia.org/wiki/Special:Search?search= + query

If you don't decide to do that, at least replace spaces with underscores in the query. http://en.wikipedia.org/wiki/Lord_of_the_rings exists, but "!wiki lord of the rings" says it doesn't.

This post was edited on 08-13-2006 at 02:47 AM by ddunk.
08-13-2006 02:46 AM
Profile E-Mail PM Web Find Quote Report
Supersonicdarky
Veteran Member
*****

Avatar

Posts: 2317
Reputation: 48
– / – / Flag
Joined: Feb 2005
Status: Away
RE: [Release]Wikipedia Article Information
i tried: !wiki final fantasy, link returned: http://en.wikipedia.org/wiki/final fantasy

make spaces count as %20
edit: or maybe as an undercore ( _ )

This post was edited on 08-13-2006 at 02:57 AM by Supersonicdarky.
08-13-2006 02:56 AM
Profile E-Mail PM Find Quote Report
ddunk
Veteran Member
*****

Avatar

Posts: 1228
Reputation: 51
35 / Male / Flag
Joined: Mar 2004
RE: [Release]Wikipedia Article Information
quote:
Originally posted by Supersonicdarky
make spaces count as %20
edit: or maybe as an undercore ( _ )
Underscores would be better to remove unnecessary forwarding.
http://en.wikipedia.org/wiki/final%20fantasy redirects to http://en.wikipedia.org/wiki/final_fantasy
08-13-2006 02:59 AM
Profile E-Mail PM Web Find Quote Report
Paril
Junior Member
**

Avatar
Admin of Paril's Projects

Posts: 69
30 / Male / Flag
Joined: Jul 2006
O.P. RE: [Release]Wikipedia Article Information
Well, I leave that up to you.

I don't have time apart from my game and mods to work on these, it was something I made to help me out.
08-13-2006 03:02 AM
Profile E-Mail PM Web Find Quote Report
ddunk
Veteran Member
*****

Avatar

Posts: 1228
Reputation: 51
35 / Male / Flag
Joined: Mar 2004
RE: [Release]Wikipedia Article Information
Modified to use the (English) Wikipedia search function.
Changed the output too.
quote:
Wikipedia search: test
Result: Testing - http://en.wikipedia.org/wiki/Testing
Let me know if that needs to be changed back to show the talk page too :p.

.plsc File Attachment: Wikipedia.plsc (1.08 KB)
This file has been downloaded 130 time(s).

This post was edited on 08-13-2006 at 03:36 AM by ddunk.
08-13-2006 03:35 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On