Forum:Bot command

Hi,

I'm in need of an rather complicated command (well... I find it complicated);

Here on Central, there is the Category:Dutch; (Guess what...) It lists all of the Dutch Wiki's. Now, on the Dutch Central Wiki I'd like all these Dutch pages too. Now, what I need, is a bot command that will import the Dútch template part to Dutch Central; for example; it'll take the first page in Category:Dutch, it will read the page, and it will take the |nl template (because some pages also have other language WikiTemplates), and copy it to the same pagename to the Dutch Wiki. The WikiTemplates on Dutch Central and Central are fully compatibel, so that won't be a problem.

So... What command should I use (if it's even possible... I guess not).

Thanks in advance!

Mark (Tedjuh10) - Talk 18:36, September 29, 2009 (UTC)
 * Thats not really a "command" you can just run. That really seems like a new script you are going to have to write to do all of that how you want it. Some of the parts should be easy to do, like "get a list of pages in category:dutch", and "get the text of the page", as for what you do wiht that text, thats where the fun programming comes in. I wish you the best. It does seem possible, just a bunch of programming to make it happen. --Uberfuzzy 18:49, September 29, 2009 (UTC)


 * Darn, I expected something like that ;). If anybody would like to volunteer, that'd be great. If not, I'll just do it by hand, that'll just take a bit longer. Mark (Tedjuh10) - Talk 19:09, September 29, 2009 (UTC)


 * There's no need for a bot for doing that. Go to Special:Export, put that category in the "export pages from category" and on the target wiki import them using Special:Import. The import needs to be done by a sysop on the target wiki. --Ciencia Al Poder (talk) -WikiDex 18:12, October 1, 2009 (UTC)
 * I'm aware of the ability of importing; but this will include all of the templates, not only the Dutch, but also German and English. Mark (Tedjuh10) - Talk 19:08, October 1, 2009 (UTC)