Hi to all,
I want to know how can i get wikitext from simple wikipedia html page.
e.g i search for free keyword. I get wikipedia HTML text of that page. How can i get it's wikitext and save it at my desktop. For further use.
Regards, Ginovation.
Are you doing this with a script or by hand? http://yoursite.com/api.php?action=query&generator=search&gsrsearch=... should work. Instead of free put whatever your search term is, and put whatever format you want in format. Better instructions can be had by going to api.php with no arguments.
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of ganesh gajre Sent: Friday, November 21, 2008 6:59 AM To: MediaWiki-l@lists.wikimedia.org Subject: [Mediawiki-l] How to retrieve wiki text from wikipedia html page?
Hi to all,
I want to know how can i get wikitext from simple wikipedia html page.
e.g i search for free keyword. I get wikipedia HTML text of that page. How can i get it's wikitext and save it at my desktop. For further use.
Regards, Ginovation. _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
ganesh gajre wrote:
Hi to all,
I want to know how can i get wikitext from simple wikipedia html page.
e.g i search for free keyword. I get wikipedia HTML text of that page. How can i get it's wikitext and save it at my desktop. For further use.
Regards, Ginovation.
Suppose you arrive at http://en.wikipedia.org/wiki/FooBar You can go to http://en.wikipedia.org/wiki/Special:Export and ask for FooBar Or abbreviated, go to http://en.wikipedia.org/wiki/Special:Export/FooBar
I want to know how can i get wikitext from simple wikipedia html page.
One answer: example: http://en.wikipedia.org/wiki/Nerd is the same as http://en.wikipedia.org/w/index.php?title=Nerd and one way to get its wikitext is via http://en.wikipedia.org/w/index.php?title=Nerd&action=raw
mediawiki-l@lists.wikimedia.org