{ "info": { "author": "Philip Neustrom", "author_email": "philipn@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "These are scripts to import legacy wiki engines (MediaWiki, Sycamore / WikiSpot.org) into LocalWiki.\n\nVery rough right now. Please tell us about your experiences on #localwiki on Freenode.\n\nUsage\n-----\n\nTo import pages from an existing MediaWiki site into LocalWiki, do the following:\n\n1. Activate the virtualenv used for LocalWiki (typical path shown)::\n\n $ source /usr/share/localwiki/env/bin/activate\n\n2. Install the localwiki-importers package::\n\n (env)$ pip install localwiki-import-wikis\n\n3. Add 'localwiki_importers' to LOCAL_INSTALLED_APPS in /usr/share/localwiki/conf/localsettings.py::\n\n LOCAL_INSTALLED_APPS = ('import_wikis',)\n\n4. Now you can run the import command like this::\n\n $ localwiki-manage import_mediawiki\n\nFollow the prompts to complete the import!\n\n5. Build the search index::\n\n $ localwiki-manage rebuild_index\n\n6. The import will grab users and their edit history, but it won't import their\n email address or password. If you have a way to obtain the old user\n passwords, you can run the following::\n\n $ localwiki-manage import_mediawiki --users_email_csv=\n\nWhere `users_csv` is a CSV file of the form username,email,.\n\nUsers will then be able to log in after they reset their password.\n\nHere's how to get a users CSV file using MySQL::\n\n SELECT user_name,user_email,user_real_name FROM wiki_user INTO OUTFILE '/tmp/users.csv' FIELDS TERMINATED BY ',' ENCLOSED BY '\"' LINES TERMINATED BY '\\n'\n\nThe file will then be at `/tmp/users.csv`.\n\nApache config\n-------------\n\nThere is an example apache config in conf/ that will help with migrating\nold mediawiki-style URLs. We strive for near 100% URL compatibility\nwith MediaWiki because breaking links just isn't cool.\n\n------------\n\nCopyright (c) 2012 Philip Neustrom \nCopyright (c) 2012 Mike Ivanov \n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/philipn/localwiki-import-wikis", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "localwiki-import-wikis", "package_url": "https://pypi.org/project/localwiki-import-wikis/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/localwiki-import-wikis/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/philipn/localwiki-import-wikis" }, "release_url": "https://pypi.org/project/localwiki-import-wikis/0.3.3/", "requires_dist": null, "requires_python": null, "summary": "Import legacy wiki engines into LocalWiki", "version": "0.3.3" }, "last_serial": 794298, "releases": { "0.3": [ { "comment_text": "", "digests": { "md5": "54ca1432dca0a8564448053e2556ae9a", "sha256": "30f47848ee319ade4b9c226302ea09b111aead1a6bf03baaf475e52509c36fb3" }, "downloads": -1, "filename": "localwiki-import-wikis-0.3.tar.gz", "has_sig": false, "md5_digest": "54ca1432dca0a8564448053e2556ae9a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 37110, "upload_time": "2012-09-20T21:15:37", "url": "https://files.pythonhosted.org/packages/c4/dc/eae08f06178b845203996107583dbac5019824589f44b66b22f293faffb2/localwiki-import-wikis-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "c7cd8eace70e1e2937937bb343c68d0f", "sha256": "89eb36a4bd7b30426c31fd745e7666dae01cbd6ce86b757a34e3d238f652cc5d" }, "downloads": -1, "filename": "localwiki-import-wikis-0.3.1.tar.gz", "has_sig": false, "md5_digest": "c7cd8eace70e1e2937937bb343c68d0f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38448, "upload_time": "2012-09-25T07:48:46", "url": "https://files.pythonhosted.org/packages/de/ef/4fd7c6d5c36c11427e277057cd3f757ad479007ed692e8bc45aa3f966e4d/localwiki-import-wikis-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "e4f63191866601234eb86f116c51d5d4", "sha256": "0f4aebda46cf7ffe1c28ac00f01709f8c97da59b73140b7c1ad69dafea5dcea2" }, "downloads": -1, "filename": "localwiki-import-wikis-0.3.2.tar.gz", "has_sig": false, "md5_digest": "e4f63191866601234eb86f116c51d5d4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38502, "upload_time": "2012-09-25T20:55:20", "url": "https://files.pythonhosted.org/packages/c2/9b/cfa4918efa7101a86cac81641560bf8847fa07e966e174c066a4bd8015b3/localwiki-import-wikis-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "79e8a30d53e2888525c09251b092b2ba", "sha256": "6423b7bcb485bd447fe7ed943592ec7ba0426d6d5d7ba3d4a1543014c43a3f2d" }, "downloads": -1, "filename": "localwiki-import-wikis-0.3.3.tar.gz", "has_sig": false, "md5_digest": "79e8a30d53e2888525c09251b092b2ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 40040, "upload_time": "2012-10-19T20:08:10", "url": "https://files.pythonhosted.org/packages/cb/0e/e897c039defd08db563de1e9f7aeac8b6c31dbf4f2a26b07a8616e7f26c4/localwiki-import-wikis-0.3.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "79e8a30d53e2888525c09251b092b2ba", "sha256": "6423b7bcb485bd447fe7ed943592ec7ba0426d6d5d7ba3d4a1543014c43a3f2d" }, "downloads": -1, "filename": "localwiki-import-wikis-0.3.3.tar.gz", "has_sig": false, "md5_digest": "79e8a30d53e2888525c09251b092b2ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 40040, "upload_time": "2012-10-19T20:08:10", "url": "https://files.pythonhosted.org/packages/cb/0e/e897c039defd08db563de1e9f7aeac8b6c31dbf4f2a26b07a8616e7f26c4/localwiki-import-wikis-0.3.3.tar.gz" } ] }