From 25b48c9f22aa4c2d6f7d33f166d6687b50490817 Mon Sep 17 00:00:00 2001 From: neslihanturan Date: Thu, 18 Feb 2021 12:16:03 +0300 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d942054..3fed301 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This project is how we (with [@ooguz](https://github.com/ooguz)) created several ## Steps 1. Parse current source json file (lazuri.json) with "parser.py" script. 2. Create a text file output ready to be used by PyWikiBot pagefromfile script -3. Create pages from output (lazuriTargetTr.json) file with PyWikiBot (before this step make sure you know what you are doing, be careful since you will be editing Wiktionary and you wouldn't prefer to vandalize it): +3. Create pages from output (lazuriTargetTr.txt) file with PyWikiBot (before this step make sure you know what you are doing, be careful since you will be editing Wiktionary and you wouldn't prefer to vandalize it): PyWikiBot is a rich tool to make several operations on wikis. We will be using "pagefromfile" tool. Here is the [documentation](https://www.mediawiki.org/wiki/Manual:Pywikibot) (you may be needed to set your configuration settings first according to your account information and the Wiktionary you will be editing) @@ -21,4 +21,4 @@ For out specific purpose create input files in form of: ``` Where everything between {{-start-}} and {{-stop-}} will be a single page content which should be written according to wikitext format. The first item between triple quotes ( \'\'\' \'\'\' ) will be the name of the page. To run the script you simply run this command from terminal: ``` -python pwb.py pagefromfile -showdiff -file:lazuriTargetTr.json +python pwb.py pagefromfile -showdiff -file:lazuriTargetTr.txt