#include <iostream>
#include <string>
#include <vector>
#include <regex>
using namespace DotNetWikiBot;
#include "BotHeader.h"
//因隱私因素,省略部分本地端標頭檔
void MyBot::Main() {
Site^ zhWiki = LOGIN_TO_ZH_WIKIPEDIA;
Page^ page_namp = gcnew Page(zhWiki, "User:A2569875/bot-page");
page_namp->Load();
Page^ theuser_page = gcnew Page(zhWiki, page_namp->text);
Page^ text_from = gcnew Page(zhWiki, "User:A2569875/bot-edit");
Page^ text_summary = gcnew Page(zhWiki, "User:A2569875/bot-Summary");
theuser_page->Load();
text_from->Load();
text_summary->Load();
theuser_page->text = text_from->text;
theuser_page->Save(text_summary->text, false);
}