Skip to content

New script and options for making offline web browsed content of mediawiki dump#110

Open
svamberg wants to merge 9 commits into
WikiExtractor:masterfrom
svamberg:master
Open

New script and options for making offline web browsed content of mediawiki dump#110
svamberg wants to merge 9 commits into
WikiExtractor:masterfrom
svamberg:master

Conversation

@svamberg

@svamberg svamberg commented Mar 1, 2017

Copy link
Copy Markdown

New options (and some improvements) in WikiExtractor.py are used in makehtmlfiles.pl for building tree of html files. For further information read README.md in last Example section.

svamberg and others added 8 commits March 1, 2017 16:24
This script build tree of files of html pages (one page of wiki
equal one html page) from WikiExtractor output. This is very
simple offline access to content of your MediaWiki.

Also make index.html with sorted all stored pages.
Add some options and better output for linking pages between themselves.
Better reading.
Make better links between pages.
@attardi

attardi commented Mar 2, 2017

Copy link
Copy Markdown
Collaborator

Could you please convert this to Python?

@attardi

attardi commented Mar 2, 2017

Copy link
Copy Markdown
Collaborator

redirect = False if options.redirect_insert else True

should be just:

redirect = not options.redirect_insert

@svamberg

svamberg commented Mar 2, 2017

Copy link
Copy Markdown
Author

I am begginer in Python (this is my first changes in Python). I am not able convert script from Perl to Python, sorry.

Thanks for syntax correction, I will update it.

@svamberg

svamberg commented Mar 2, 2017

Copy link
Copy Markdown
Author

Update condition by recommendation.

@teliten

teliten commented Sep 6, 2022

Copy link
Copy Markdown

This seems maybe helpful. Is there no way to "star" these things and watch for changes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants