/updatewikilinks

Update english wiki links with another wiki (example:telugu) wiki links

Primary LanguagePythonMIT LicenseMIT

# update wiki links
# When localising English wiki pages, the target wiki links are to be updated
# This program is used to update the wikilinks  stored in csv file, with find, replace
# as header and english text, target wiki  as mapped values
# inputs
#   enwiki source file
#   mapping file csv with ilinks,page_titleTE as header :: get this with wd query (example:https://w.wiki/3S6s)
# outputs
#   target wikifile
# Run main.py with enwiki.txt as input english article wikitext,  wikilinksmap.csv obtained using  wd query ( (example:https://w.wiki/3S6s), with modification for article name.  The output will be in tewiki.txt
# This code is a placeholder for future improvements
#
#