New Wiki #48096

Closed
opened 2016-04-09 21:46:49 +02:00 by Aaron Carlisle · 134 comments
Member

Status:

Wiki Migration Plan:

  • Bake the old wiki as static HTML and place it at https://archive.wiki.blender.org . @TuomoKeskitalo

  • The baked pages should look as before and links should work. However, editing functionality and mediawiki features such as the chat and special pages will be lost.

  • Possible approach to do this: http://camwebb.info/blog/2012-12-20/

  • Make a redirect page for broken links. @brita

  • Release Notes: Remove the copy of the old Release Notes and make direct links to the archived version. @brita

  • Add-ons: Make direct links to the archived version. This is a temporary working solution until there is a decision for new system in blender/blender-addons#54097. @brita

  • Technical Docs: Copy and organize Dev:Doc and Dev:Source @brita It's ongoing work to organize and update the wiki contents. But I consider it to be "ported" by now.

  • Landing Page: See infrastructure/blender-org#57987 @fsiddi, @brita

  • Theme @fsiddi

    • Improved layout and look with Boostrap4.
    • Navigation and Search.
  • Utilities

    • Import commonly used templates. @brita
  • Ensure the templates work well with the theme. @brita

    • Shorthands to redirect and link to the archived wiki. @brita
    • Document the existing templates and best practices. @brita
  • Licensing

  • Delete the old read-only PHP wiki. @dmcgrath

  • [On hold] until:
    it is no longer needed to copy the content source, and there is the static HTML version.

---- Original task details below ------

NOTE: The new Wiki is in it's transitional phase atm.

It’s goal is much more limited than previous one, basically this is a
developer/module team members tool to share technical docs. It should
also have general help info like setting up a new build of blender, some
code architecture docs, etc.

Moving a subset of old wiki pages is on-going process.

Old wiki shall be locked (made read-only) in a few weeks, proposed date
is June 15th. That means that developpers (also including GSoC students)
should request accounts on new wiki if they do not have one already, and
move their pages there.

Note that once in read-only state, it will still be possible to access
and copy wiki-markup content of the pages!

Recently Dan set up a fresh install of Media Wiki and migrated the old pages to it. This can be found at https://en.blender.org

To set up an account (developers only) just informally poke a wiki administrator for now
[these are @ideasman42, @brecht, @dr.sybren, @dmcgrath atm]

There are still several todos

Theme

  • We should keep the theme as close to the original to make maintenance easy.

Clean Structure

Excluded from Wiki Migration

There are a couple of sections that mostly contain historic content and it is preferred to not port these over
(but this has to be checked carefully -- if in doubt, ask around... help in these decissions is welcome!)

What still needs to be done

    • Building
    • Tools
    • Developer Introduction
  • Architecture docs: #61097

  • Addon catalog/ docs: move to the manual , see blender/blender-addons#54097

    • move Todo section (https://wiki.blender.org/index.php/Dev:Source/Development/Todo) to phabricator (parent) tasks. This way intern-linking (existing) phabricator TODO tasks is just more useful, too. As a first step, this has now been brought over in its current stats, see #55361 (and subtasks). These will now have to be cleaned up to remove "out-of-date" content.
      • Tools
      • Render
      • User Interface
      • Animation System
      • Game Engine (exclude this)
      • Editors
      • Breaking Backward Compatibility
      • Scripting
      • Import Export
      • Building Software
      • Installation, Environment
      • Regression Tests
      • User Based Todo (exclude this)
    • port Release Logs over (this is lower priority but does not require checking if content is out of date). For older releases up until 2.78 it was decided to just link to the old/archived wiki for now (lots of broken links / missing content / not subject to further editing anyways...).
      • [real port] Blender 2.79 (latest stable release)
      • Blender 2.78
      • Blender 2.77
      • Blender 2.76
      • Blender 2.75
      • Blender 2.74
      • Blender 2.73
      • Blender 2.72
      • Blender 2.71
      • Blender 2.70
      • Blender 2.69
      • Blender 2.68
      • Blender 2.67
      • Blender 2.66
      • Blender 2.65
      • Blender 2.64
      • Blender 2.63
      • Blender 2.62
      • Blender 2.61
      • Blender 2.60
      • Blender 2.59
      • Blender 2.58
      • Blender 2.57
      • Blender 2.56
      • Blender 2.55
      • Blender 2.54
      • Blender 2.53
      • Blender 2.52
      • Blender 2.51
      • Blender 2.50
      • Blender 2.49
      • Blender 2.48
      • Blender 2.47
      • Blender 2.46
      • Blender 2.45
      • Blender 2.44
      • Blender 2.43
      • Blender 2.42
      • Blender 2.41
      • Blender 2.40
**Status:** - the previous wiki installation has been locked for edits and moved to: https://en.blender.org/index.php - there is a new wiki install at: https://wiki.blender.org/wiki/ **Wiki Migration Plan:** - [x] Bake the old wiki as static HTML and place it at https://archive.wiki.blender.org . @TuomoKeskitalo - The baked pages should look as before and links should work. However, editing functionality and mediawiki features such as the chat and special pages will be lost. - Possible approach to do this: http://camwebb.info/blog/2012-12-20/ - [x] Make a redirect page for broken links. @brita - [x] Release Notes: Remove the copy of the old Release Notes and make direct links to the archived version. @brita - [x] Add-ons: Make direct links to the archived version. This is a temporary working solution until there is a decision for new system in blender/blender-addons#54097. @brita - [x] Technical Docs: Copy and organize Dev:Doc and Dev:Source @brita It's ongoing work to organize and update the wiki contents. But I consider it to be "ported" by now. - [x] Landing Page: See infrastructure/blender-org#57987 @fsiddi, @brita - [x] Theme @fsiddi - - [x] Improved layout and look with Boostrap4. - - [x] Navigation and Search. - [x] Utilities - - [x] Import commonly used templates. @brita - Ensure the templates work well with the theme. @brita - - [x] Shorthands to redirect and link to the archived wiki. @brita - - [x] Document the existing templates and best practices. @brita - [x] Licensing - [x] Delete the old read-only PHP wiki. @dmcgrath - [On hold] until: **it is no longer needed to copy the content source, and** there is the static HTML version. ``` ---- Original task details below ------ ``` NOTE: The new Wiki is in it's transitional phase atm. It’s goal is much more limited than previous one, basically this is a developer/module team members tool to share technical docs. It should also have general help info like setting up a new build of blender, some code architecture docs, etc. Moving a subset of old wiki pages is on-going process. Old wiki shall be locked (made read-only) in a few weeks, proposed date is June 15th. That means that developpers (also including GSoC students) should request accounts on new wiki if they do not have one already, and move their pages there. Note that once in read-only state, it will still be possible to access and copy wiki-markup content of the pages! Recently Dan set up a fresh install of Media Wiki and migrated the old pages to it. This can be found at https://en.blender.org To set up an account (developers only) just informally poke a wiki administrator for now [these are @ideasman42, @brecht, @dr.sybren, @dmcgrath atm] There are still several todos Theme -------- - We should keep the theme as close to the original to make maintenance easy. Clean Structure ----------------- - Remove the wiki versions (2.4, 2.5, 2.6) and instead only have one that is alway the latest. - Make all pages independent. Pages like https://wiki.blender.org/index.php/Dev:Doc/Building_Blender/Windows/msvc/CMake are really confusing to edit. - Remove namespaces, so [[Building_Blender/Windows]] instead of [[Dev:Doc/Building_Blender/Windows]] (can be done after creation by "moving" the page) Excluded from Wiki Migration ----------------- There are a couple of sections that mostly contain historic content and it is preferred to not port these over (but this has to be checked carefully -- if in doubt, ask around... help in these decissions is welcome!) * - [x] drop Pydev docs? (https://wiki.blender.org/index.php/Extensions:Py/Scripts) * ... What still needs to be done ----------------- * - [x] Building * - [x] Tools * - [x] Developer Introduction * Architecture docs: #61097 * - [x] rewrite/drop Projects section? (https://wiki.blender.org/index.php/Dev:Doc/Projects) (dropped for now) * Addon catalog/ docs: move to the [manual ](https://docs.blender.org/manual), see blender/blender-addons#54097 * - [x] move Todo section (https://wiki.blender.org/index.php/Dev:Source/Development/Todo) to phabricator (parent) tasks. This way intern-linking (existing) phabricator TODO tasks is just more useful, too. As a first step, this has now been brought over in its current stats, see #55361 (and subtasks). These will now have to be cleaned up to remove "out-of-date" content. * - [x] Tools * - [x] Render * - [x] User Interface * - [x] Animation System * - [x] Game Engine (exclude this) * - [x] Editors * - [x] Breaking Backward Compatibility * - [x] Scripting * - [x] Import Export * - [x] Building Software * - [x] Installation, Environment * - [x] Regression Tests * - [x] User Based Todo (exclude this) * - [x] port Release Logs over (this is lower priority but does not require checking if content is out of date). For older releases up until 2.78 it was decided to just link to the old/archived wiki for now (lots of broken links / missing content / not subject to further editing anyways...). * - [x] Blender 2.80 (under development) note: https://wiki.blender.org/index.php/Dev:2.8/ hasnt been ported (yet?) * - [x] [real port] Blender 2.79 (latest stable release) * - [x] Blender 2.78 * - [x] Blender 2.77 * - [x] Blender 2.76 * - [x] Blender 2.75 * - [x] Blender 2.74 * - [x] Blender 2.73 * - [x] Blender 2.72 * - [x] Blender 2.71 * - [x] Blender 2.70 * - [x] Blender 2.69 * - [x] Blender 2.68 * - [x] Blender 2.67 * - [x] Blender 2.66 * - [x] Blender 2.65 * - [x] Blender 2.64 * - [x] Blender 2.63 * - [x] Blender 2.62 * - [x] Blender 2.61 * - [x] Blender 2.60 * - [x] Blender 2.59 * - [x] Blender 2.58 * - [x] Blender 2.57 * - [x] Blender 2.56 * - [x] Blender 2.55 * - [x] Blender 2.54 * - [x] Blender 2.53 * - [x] Blender 2.52 * - [x] Blender 2.51 * - [x] Blender 2.50 * - [x] Blender 2.49 * - [x] Blender 2.48 * - [x] Blender 2.47 * - [x] Blender 2.46 * - [x] Blender 2.45 * - [x] Blender 2.44 * - [x] Blender 2.43 * - [x] Blender 2.42 * - [x] Blender 2.41 * - [x] Blender 2.40
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member
Added subscribers: @Blendify, @BrendonMurphy, @Tobias, @ideasman42, @Ton
Member

Added subscriber: @dmcgrath

Added subscriber: @dmcgrath
Member

I don't know that I would go so far as to remove the old 2.4/2.5 manuals that exist in the wiki as they are the only manual that exists for them, unless people feel we could just assume it to be deprecated and removed from existence.

I wonder if it would be better to maybe try doing a one time conversion of the old 2.4 wiki manual back over to sphinx, once we do versioning over there with the manual. At least then we could provide redirects to the manual that would be indexed by Google and searchable/findable by people with old versions of Blender, or people who are merely curious.

As for how to structure and layout the updated wiki, I don't really have any opinion here as I am not the person that edits stuff. If you like using transclusion to create pages, that's up to the editors.

On the topic of a theme, Naiad is currently broken for the navigation tree on the left of the page. Personally I say scrap it; it looked nice but was too coupled (IMHO) to the extensions and templates/transcluded pages etc. I also believe it has problems with mobile? Anyway, I think it to be a terrible design when half the site breaks just be changing to a stock skin, like vector.

I also am curious what others think about the idea of moving to a Wiki family and using interwiki links for languages (eg: fr.blender.org, de.blender.org, pool.blender.org, etc.) for translation of everything else on the wiki, very much like how wikipedia does things.

I don't know that I would go so far as to remove the old 2.4/2.5 manuals that exist in the wiki as they are the only manual that exists for them, unless people feel we could just assume it to be deprecated and removed from existence. I wonder if it would be better to maybe try doing a one time conversion of the old 2.4 wiki manual back over to sphinx, once we do versioning over there with the manual. At least then we could provide redirects to the manual that would be indexed by Google and searchable/findable by people with old versions of Blender, or people who are merely curious. As for how to structure and layout the updated wiki, I don't really have any opinion here as I am not the person that edits stuff. If you like using transclusion to create pages, that's up to the editors. On the topic of a theme, Naiad is currently broken for the navigation tree on the left of the page. Personally I say scrap it; it looked nice but was too coupled (IMHO) to the extensions and templates/transcluded pages etc. I also believe it has problems with mobile? Anyway, I think it to be a terrible design when half the site breaks just be changing to a stock skin, like vector. I also am curious what others think about the idea of moving to a Wiki family and using interwiki links for languages (eg: fr.blender.org, de.blender.org, pool.blender.org, etc.) for translation of everything else on the wiki, very much like how wikipedia does things.
Author
Member

Ok, I think I have a clearer idea about the whole old wiki version things. We should keep the old manuals but not have wiki version for the rest of the wiki. Here is my idea on how this should be structured.

  • Home Page
    • Manual
      • Current (redirect)
      • 2.5
      • 2.4
    • Other wiki pages

I don't have a strong opinion on whether the old manuals get moved to sphinx.

Ok, I think I have a clearer idea about the whole old wiki version things. We should keep the old manuals but not have wiki version for the rest of the wiki. Here is my idea on how this should be structured. - Home Page - Manual - Current (redirect) - 2.5 - 2.4 - Other wiki pages I don't have a strong opinion on whether the old manuals get moved to sphinx.

Added subscriber: @Genome36

Added subscriber: @Genome36

Hello everyone !

Manual theme redesign
Current vogue is in the material and flat designs.
I think the wiki could benefit of efficient space usage just as shown in this image.
material-design.jpg

A little bit of CSS magic can help change the current wiki remake to be on the same level as:

[blender.org ]] [[ https:*blendernetwork.org/ blendernetwork.org ](https:*blender.org/)
blender.org.png BlenderNetwork.org.png

Manual versions
As far as the old wiki goes; I think we should keep the latest major versions just for retrospective [2.40, 2.50, 2.60, 2.xx ].
There should also be a latest version, updated on the fly.

Hello everyone ! **Manual theme redesign** Current vogue is in the `material` and `flat` designs. I think the wiki could benefit of efficient space usage just as shown in this image. ![material-design.jpg](https://archive.blender.org/developer/F302090/material-design.jpg) A little bit of CSS magic can help change the current [wiki ](https://en.blender.org/) remake to be on the same level as: | [blender.org ]] | [[ https:*blendernetwork.org/ | blendernetwork.org ](https:*blender.org/) | | -- | -- | -- | -- | | ![blender.org.png](https://archive.blender.org/developer/F302092/blender.org.png) | ![BlenderNetwork.org.png](https://archive.blender.org/developer/F302093/BlenderNetwork.org.png) | **Manual versions** As far as the old wiki goes; I think we should keep the latest major versions just for retrospective [2.40, 2.50, 2.60, 2.xx ]. There should also be a latest version, updated on the fly.

Added subscriber: @mont29

Added subscriber: @mont29

Thanks a bunch Dan for setting up new wiki! :)

Content

2.4 and 2.5 manuals: those would simply remain readonly, kind of 'archived'. I don’t see much point on wasting time on them to port to sphinx or whatever, but there is no reason to remove them either, they can be 'forgotten' in their own corner imho. :P

In fact, maybe we could have an 'archived' section in the wiki, where we explicitly dump any page which is no more in sync with current blender - would include said manuals, but also all old design and tech docs that are no more really relevant. This way, no need for 'version' name spaces.

Skin

Agree it would be nice to make it coherent with other blender sites, but imho most important thing is to have something easy to maintain and update along with wikimedia. So rather use a well known and maintained skin (even default one?), with a few as possible customization (css-only ;) ).

Naiad was a great result, but trying to make wiki not look like a wiki requires tremendous work - to create it and to keep it working at each update! Let's not forget that wiki, now that manual uses its own stuff, will mostly be tech doc place. We want to keep it simple and easy to use and maintain, more than everything else.

Thanks a bunch Dan for setting up new wiki! :) # Content 2.4 and 2.5 manuals: those would simply remain readonly, kind of 'archived'. I don’t see much point on wasting time on them to port to sphinx or whatever, but there is no reason to remove them either, they can be 'forgotten' in their own corner imho. :P In fact, maybe we could have an 'archived' section in the wiki, where we explicitly dump any page which is no more in sync with current blender - would include said manuals, but also all old design and tech docs that are no more really relevant. This way, no need for 'version' name spaces. # Skin Agree it would be nice to make it coherent with other blender sites, but imho most important thing is to have something easy to maintain and update along with wikimedia. So rather use a well known and maintained skin (even default one?), with a few as possible customization (css-only ;) ). Naiad was a great result, but trying to make wiki not look like a wiki requires tremendous work - to create it and to keep it working at each update! Let's not forget that wiki, now that manual uses its own stuff, will mostly be tech doc place. We want to keep it simple and easy to use and maintain, more than everything else.
Member

The problems with Naiad is (currently) the Nav tree is missing. The problem with Any of the stock skins is that we have a bunch of Naiad related cruft in the templates that make a stock nav area break, so things need clean up if we want to go that route. It doesn't matter to me either way; I am just letting you know that if we go with a stock setup, there is a lot of work needed to clean things up and bring it back to a stock setup.

The problems with Naiad is (currently) the Nav tree is missing. The problem with Any of the stock skins is that we have a bunch of Naiad related cruft in the templates that make a stock nav area break, so things need clean up if we want to go that route. It doesn't matter to me either way; I am just letting you know that if we go with a stock setup, there is a lot of work needed to clean things up and bring it back to a stock setup.

+1 for @mont29's reply.
Best we have wiki that can be maintained and not focus too much on customization unless if gives real practical benefits and doesn't prevent us from upgrading in the future.

+1 for @mont29's reply. Best we have wiki that can be maintained and not focus too much on customization unless if gives real practical benefits and doesn't prevent us from upgrading in the future.
Member

Added subscriber: @brita

Added subscriber: @brita
Member

Hi,

Skin:
I have no idea how much work is to setup the new skin, vs stripping down our current version to be compatible with the default skin.
That being said, I am all in favor for css tweaks so that it looks like the other blender websites, as long as it is not too much work.
I am not so worried about styling, but about the functionality of the navigation.

Content:
+1 for read-only versioning. I understand that this means to keep the content as it currently is, with new material going to sphinx.

Hi, Skin: I have no idea how much work is to setup the new skin, vs stripping down our current version to be compatible with the default skin. That being said, I am all in favor for css tweaks so that it looks like the other blender websites, as long as it is not too much work. I am not so worried about styling, but about the functionality of the navigation. Content: +1 for read-only versioning. I understand that this means to keep the content as it currently is, with new material going to sphinx.
Author
Member

I think the default skin is better than going back to the old Naiad.

I think the default skin is better than going back to the old Naiad.
Author
Member

I started to do some cleanup of the current wiki today, mostly in the release notes area, but ran into a problem when trying to delete pages.
Currently, there is no way to batch delete files. I did a simple Google search and found some solutions that might help:

However, there may be a chance that these will not work due to the old media wiki version that we use.
In this case, I think that we should layout a day where shut down the wiki and move to the new wiki.
From here we can use those scripts to delete many pages that we don't need. A big example
here would be the old manual translations (2.4, and 2.5, 2.6).

So this is mainly a question for @dmcgrath on whether the scripts would work or not,
If not we need to get a time frame for when to shut down the wiki and make the new wiki default.

I started to do some cleanup of the current wiki today, mostly in the release notes area, but ran into a problem when trying to delete pages. Currently, there is no way to batch delete files. I did a simple Google search and found some solutions that might help: - https://www.mediawiki.org/wiki/Extension:Nuke - https://www.mediawiki.org/wiki/Extension:DeleteBatch However, there may be a chance that these will not work due to the old media wiki version that we use. In this case, I think that we should layout a day where shut down the wiki and move to the new wiki. From here we can use those scripts to delete many pages that we don't need. A big example here would be the old manual translations (2.4, and 2.5, 2.6). So this is mainly a question for @dmcgrath on whether the scripts would work or not, If not we need to get a time frame for when to shut down the wiki and make the new wiki default.
Member

Hi @Blendify,

There is a problem with the current wiki in that we cannot add new extensions. Normally when you add an extension you need to run an upgrade script to extend the database schema, but this script is broken in the current database due to a problem with Latin/UTF problems, so we wouldn't be able to activate new extensions. The problem gets fixed when we upgrade Mediawiki though, so the new system would be able to run these extensions just fine, and I believe are even included in the new site.

It may be possible that I can I run some of the admin scripts in the shell to delete specific urls though. Looking at the shell, I do see a "deleteBatch.php" script. It appears to take a text file with a list of pages to delete:

  • <listfile> : File with titles to delete, separated by newlines

Maybe this would be enough? Or would you guys rather wait and switch to the new wiki instead?

Hi @Blendify, There is a problem with the current wiki in that we cannot add new extensions. Normally when you add an extension you need to run an upgrade script to extend the database schema, but this script is broken in the current database due to a problem with Latin/UTF problems, so we wouldn't be able to activate new extensions. The problem gets fixed when we upgrade Mediawiki though, so the new system would be able to run these extensions just fine, and I believe are even included in the new site. It may be possible that I can I run some of the admin scripts in the shell to delete specific urls though. Looking at the shell, I do see a "deleteBatch.php" script. It appears to take a text file with a list of pages to delete: - `<listfile> : File with titles to delete, separated by newlines` Maybe this would be enough? Or would you guys rather wait and switch to the new wiki instead?
Author
Member

It seems like you are talking about https://www.mediawiki.org/wiki/Extension:DeleteBatch which was the second bullet point.

It seems like you are talking about https://www.mediawiki.org/wiki/Extension:DeleteBatch which was the second bullet point.
Member

No, there are php scripts in the maintenance folder in Mediawiki installs that let you do stuff that may or may not be available through the web UI. The extensions I think are more meant for people without shell access.

No, there are php scripts in the maintenance folder in Mediawiki installs that let you do stuff that may or may not be available through the web UI. The extensions I think are more meant for people without shell access.

Eeeeeeekkkkk!

From here we can use those scripts to delete many pages that we don't need. A big example here would be the old manual translations (2.4, and 2.5, 2.6).

Where was this ever agreed on? Translations should be handled the same as english manual imho, archived and made non-editable, but why deleted?

Eeeeeeekkkkk! > From here we can use those scripts to delete many pages that we don't need. A big example here would be the old manual translations (2.4, and 2.5, 2.6). Where was this ever agreed on? Translations should be handled the same as english manual imho, archived and made non-editable, but why deleted?
Author
Member

Added subscribers: @fsiddi, @brecht

Added subscribers: @fsiddi, @brecht
Author
Member

After trying to work on #48381 I found that the current wiki is too slow for me to do anything.
I think the best solution right now is to do a little theme clean up and make the merge to en.wiki.blender.org
After everyone is forced to use en.wiki.b.o pages can be added/removed/moved has needed with a lot more ease.

After trying to work on #48381 I found that the current wiki is too slow for me to do anything. I think the best solution right now is to do a little theme clean up and make the merge to en.wiki.blender.org After everyone is forced to use en.wiki.b.o pages can be added/removed/moved has needed with a lot more ease.

I have just checked the manual, and there have been performance improvements, so it should be back to normal now.

I have just checked the manual, and there have been performance improvements, so it should be back to normal now.
Member

Added subscriber: @GaiaClary

Added subscriber: @GaiaClary
Member

Hi;
Today i found in the official wiki that vimeo videos seem to be embedded by using the flash video player. I propose to customize or update the plugin so that it uses the html5 player instead. Here is an example page:

https://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.78/Physics

When i open this page with firefox, then i get the warning about usage of flash.

I also noticed that it looks like the new wiki does not (yet?) support the tag. I believe it is important to at least support embedding of videos from vimeo and youtube.

Hi; Today i found in the official wiki that vimeo videos seem to be embedded by using the flash video player. I propose to customize or update the <vimeo> plugin so that it uses the html5 player instead. Here is an example page: https://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.78/Physics When i open this page with firefox, then i get the warning about usage of flash. I also noticed that it looks like the new wiki does not (yet?) support the <vimeo> tag. I believe it is important to at least support embedding of videos from vimeo and youtube.

Added subscriber: @bdube-1

Added subscriber: @bdube-1

Added subscriber: @xan2622

Added subscriber: @xan2622

Hello.

Is it planned to allow to log in to the (upcoming) new wiki with a developer.blender.org account?
I hope it will be considered because it's not currently possible to log into wiki.blender.org with a developer.blender.org account...

Thanks.

Hello. Is it planned to allow to log in to the (upcoming) new wiki with a developer.blender.org account? I hope it will be considered because it's not currently possible to log into wiki.blender.org with a developer.blender.org account... Thanks.
Member

hi,
https://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts
could be archived and a new set of pages created for addons.
as one of the original authors and designers of this page and
https://wiki.blender.org/index.php/Extensions:2.4/Py/Scripts
I would be happy to work with wiki devs to see the new pages created for blender 2.8 series.

hi, https://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts could be archived and a new set of pages created for addons. as one of the original authors and designers of this page and https://wiki.blender.org/index.php/Extensions:2.4/Py/Scripts I would be happy to work with wiki devs to see the new pages created for blender 2.8 series.
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

I was about to update the new wiki, move/copy more stuff from the old wiki, I can log in using the credentials from the old wiki but I dont have editing permissions in the new wiki.
Could somebody set this up for me [or tell me how to do it myself]?
Thx in advance!

I was about to update the new wiki, move/copy more stuff from the old wiki, I can log in using the credentials from the old wiki but I dont have editing permissions in the new wiki. Could somebody set this up for me [or tell me how to do it myself]? Thx in advance!
Member

In #48096#499234, @lichtwerk wrote:
I was about to update the new wiki, move/copy more stuff from the old wiki, I can log in using the credentials from the old wiki but I dont have editing permissions in the new wiki.
Could somebody set this up for me [or tell me how to do it myself]?
Thx in advance!

The wiki was meant more for testing. There will be no porting over as the actual port work will involve disabling updates to the old site, and then doing a database dump into the new wiki, followed by shutting down the old one and renaming the new one.

> In #48096#499234, @lichtwerk wrote: > I was about to update the new wiki, move/copy more stuff from the old wiki, I can log in using the credentials from the old wiki but I dont have editing permissions in the new wiki. > Could somebody set this up for me [or tell me how to do it myself]? > Thx in advance! The wiki was meant more for testing. There will be no porting over as the actual port work will involve disabling updates to the old site, and then doing a database dump into the new wiki, followed by shutting down the old one and renaming the new one.
Author
Member

I think after the 2.8 release should be a good time for this even if we use the default wiki skin.

I think after the 2.8 release should be a good time for this even if we use the default wiki skin.
Member

Added subscriber: @dr.sybren

Added subscriber: @dr.sybren
Author
Member

port Addon catalogue / docs (these will be moved to the blender manual [https://docs.blender.org/manual] though -- some of the docs already made their way into the new wiki but have to be moved again [to manual])

I would like to handle this and I want to create a separate design/structure document before we go about that.

> port Addon catalogue / docs (these will be moved to the blender manual [https://docs.blender.org/manual] though -- some of the docs already made their way into the new wiki but have to be moved again [to manual]) I would like to handle this and I want to create a separate design/structure document before we go about that.
Author
Member
Please refer to blender/blender-addons#54097

Added subscriber: @VukGardasevic

Added subscriber: @VukGardasevic

Help > Release Log link will have to be updated after the switch.

`Help > Release Log` link will have to be updated after the switch.
Member

Added subscriber: @nBurn

Added subscriber: @nBurn
Member

I just saw the big wiki changes happened today. Two questions:

  1. Is there more information available as to the reason for the migration to a new wiki? I looked over this thread, but I'm not seeing much in the way of specifics. This would be helpful in a FAQ point of view, in establishing some rough rules/guidelines, and for preventing any perceived negative aspects from the old wiki from creeping into the new one.

  2. Is there more information about what is being migrated over and what isn't? For instance, the old tutorials (e.g. Modeling Two dice)? Templates? User pages? Feature requests / design mockups? Docs on depreciated Blender features (e.g.: Blender Internal)? User add-on docs (for the add-ons not shipped with Blender)? Summer of Code pages for previous years? I'm guessing no for the tutorials and feature requests, but I was not as sure about the other items I listed.

I just saw the big wiki changes happened today. Two questions: 1) Is there more information available as to the reason for the migration to a new wiki? I looked over this thread, but I'm not seeing much in the way of specifics. This would be helpful in a FAQ point of view, in establishing some rough rules/guidelines, and for preventing any perceived negative aspects from the old wiki from creeping into the new one. 2) Is there more information about what is being migrated over and what isn't? For instance, the old tutorials (e.g. Modeling Two dice)? Templates? User pages? Feature requests / design mockups? Docs on depreciated Blender features (e.g.: Blender Internal)? User add-on docs (for the add-ons not shipped with Blender)? Summer of Code pages for previous years? I'm guessing no for the tutorials and feature requests, but I was not as sure about the other items I listed.

https://wiki.blender.org/index.php/Dev:Doc/Process/Bug_Reports should be migrated, as it does serve some purpose for bug reports.

https://wiki.blender.org/index.php/Dev:Doc/Process/Bug_Reports should be migrated, as it does serve some purpose for bug reports.
Member

Added subscriber: @LazyDodo

Added subscriber: @LazyDodo
Member

It's already migrated, you can find it here https://wiki.blender.org/wiki/Process/Bug_Reports

It's already migrated, you can find it here https://wiki.blender.org/wiki/Process/Bug_Reports

Thanks :)

Thanks :)
Member

I find that at the moment the state of the move is a bit messy with a lot of broken links and no visible plan.

@dmcgrath is it possible to rename the old wiki from https:*en.blender.org/ to https:*archive.wiki.blender.org/ ?
This would help make clear for any reader why is that wiki read-only.

Is there any plan with redirects?

Example of links that no longer work:
http://wiki.blender.org/index.php/Dev:Doc/Building_Blender/Linux/Generic_Distro/CMake (should be on the new wiki)
http://wiki.blender.org/index.php/Dev:Doc/Code_Style (should be on the new wiki)
http://wiki.blender.org/index.php/Dev:2.5/Source/Architecture/DataAPI (should be on the old wiki ?)
http://wiki.blender.org/index.php/User:Brita/Configs/VSCode (do I need to move my user space pages manually?)
http://wiki.blender.org/index.php/User:Dfelinto#Git (what about someone else's user space that may or may not still be active?)

I see that there is a redirect from http:*wiki.blender.org/index.php to https:*wiki.blender.org/wiki but then the page is still not there.
Is it possible, in that case, to redirect to https://archive.wiki.blender.org/ ?
Or for every single page to show at the top "This article was also found on the ", with a link?

I find that at the moment the state of the move is a bit messy with a lot of broken links and no visible plan. @dmcgrath is it possible to rename the old wiki from https:*en.blender.org/ to https:*archive.wiki.blender.org/ ? This would help make clear for any reader why is that wiki read-only. Is there any plan with redirects? Example of links that no longer work: http://wiki.blender.org/index.php/Dev:Doc/Building_Blender/Linux/Generic_Distro/CMake (should be on the new wiki) http://wiki.blender.org/index.php/Dev:Doc/Code_Style (should be on the new wiki) http://wiki.blender.org/index.php/Dev:2.5/Source/Architecture/DataAPI (should be on the old wiki ?) http://wiki.blender.org/index.php/User:Brita/Configs/VSCode (do I need to move my user space pages manually?) http://wiki.blender.org/index.php/User:Dfelinto#Git (what about someone else's user space that may or may not still be active?) I see that there is a redirect from http:*wiki.blender.org/index.php to https:*wiki.blender.org/wiki but then the page is still not there. Is it possible, in that case, to redirect to https://archive.wiki.blender.org/ ? Or for every single page to show at the top "This article was also found on the <archive>", with a link?
Member

In #48096#522726, @brita wrote:
@dmcgrath is it possible to rename the old wiki from https:*en.blender.org/ to https:*archive.wiki.blender.org/ ?
This would help make clear for any reader why is that wiki read-only.

The old wiki will be destroyed/deleted at some point (have yet to pick an actual date). There is a dump of the files already available now for others to import into their own private MediaWiki installations so that they can retrieve old articles to migrate them to the new wiki. Long story short: there shouldn't be any confusion because nothing should be referencing the old wiki.

Is there any plan with redirects?

Redirects that aren't external to the actual wiki (ie: https://wiki.blender.org/) should be handled in the wiki itself by creating a page at the "broken" location, and then redirecting it to the new location. External URL's would require another MediaWiki extension, so they can be done via the web server redirects.

Example of links that no longer work:
http://wiki.blender.org/index.php/Dev:Doc/Building_Blender/Linux/Generic_Distro/CMake (should be on the new wiki)
http://wiki.blender.org/index.php/Dev:Doc/Code_Style (should be on the new wiki)
http://wiki.blender.org/index.php/Dev:2.5/Source/Architecture/DataAPI (should be on the old wiki ?)
http://wiki.blender.org/index.php/User:Brita/Configs/VSCode (do I need to move my user space pages manually?)
http://wiki.blender.org/index.php/User:Dfelinto#Git (what about someone else's user space that may or may not still be active?)

As I alluded to above, where there is a missing page that needs to exist, it should be copied from the old wiki to the same exact spot in the new wiki, then moved and edited to match the new policy and style guidelines that were decided on. So your personal page(s) you would copy and migrate (or by all means try ask one of the wiki "guru" to possibly bulk migrate your stuff for you, perhaps?) to the new wiki.

I see that there is a redirect from http:*wiki.blender.org/index.php to https:*wiki.blender.org/wiki but then the page is still not there.
Is it possible, in that case, to redirect to https://archive.wiki.blender.org/ ?
Or for every single page to show at the top "This article was also found on the ", with a link?

Again, the old wiki is a maintenance nightmare (and the whole point of us starting the wiki from scratch) and potential security risk (unmonitored/maintained php code silently being abused on a server). The "archive" is already available at https://download.blender.org/oldwiki/ in a format that any MediaWiki installation should be able to import. If someone feels like spending time to parse out all of the pages into separate wiki markup files, perhaps we could host that in this directory as well. Space isn't a concern, but someone needs to split the files up and provide me a tarball for us to host.

As for the exact cut off date, I'm flexible here, but at some point we really do need to take it offline. Making things read-only doesn't actually protect us. Anyway, I hope this answers a few questions?

> In #48096#522726, @brita wrote: > @dmcgrath is it possible to rename the old wiki from https:*en.blender.org/ to https:*archive.wiki.blender.org/ ? > This would help make clear for any reader why is that wiki read-only. The old wiki will be destroyed/deleted at some point (have yet to pick an actual date). There is a dump of the files already available now for others to import into their own private MediaWiki installations so that they can retrieve old articles to migrate them to the new wiki. Long story short: there shouldn't be any confusion because nothing should be referencing the old wiki. > Is there any plan with redirects? Redirects that aren't external to the actual wiki (ie: https://wiki.blender.org/) should be handled in the wiki itself by creating a page at the "broken" location, and then redirecting it to the new location. External URL's would require another MediaWiki extension, so they can be done via the web server redirects. > Example of links that no longer work: > http://wiki.blender.org/index.php/Dev:Doc/Building_Blender/Linux/Generic_Distro/CMake (should be on the new wiki) > http://wiki.blender.org/index.php/Dev:Doc/Code_Style (should be on the new wiki) > http://wiki.blender.org/index.php/Dev:2.5/Source/Architecture/DataAPI (should be on the old wiki ?) > http://wiki.blender.org/index.php/User:Brita/Configs/VSCode (do I need to move my user space pages manually?) > http://wiki.blender.org/index.php/User:Dfelinto#Git (what about someone else's user space that may or may not still be active?) As I alluded to above, where there is a missing page that needs to exist, it should be copied from the old wiki to the same exact spot in the new wiki, then moved and edited to match the new policy and style guidelines that were decided on. So your personal page(s) you would copy and migrate (or by all means try ask one of the wiki "guru" to possibly bulk migrate your stuff for you, perhaps?) to the new wiki. > I see that there is a redirect from http:*wiki.blender.org/index.php to https:*wiki.blender.org/wiki but then the page is still not there. > Is it possible, in that case, to redirect to https://archive.wiki.blender.org/ ? > Or for every single page to show at the top "This article was also found on the <archive>", with a link? Again, the old wiki is a maintenance nightmare (and the whole point of us starting the wiki from scratch) and potential security risk (unmonitored/maintained php code silently being abused on a server). The "archive" is already available at https://download.blender.org/oldwiki/ in a format that any MediaWiki installation should be able to import. If someone feels like spending time to parse out all of the pages into separate wiki markup files, perhaps we could host that in this directory as well. Space isn't a concern, but someone needs to split the files up and provide me a tarball for us to host. As for the exact cut off date, I'm flexible here, but at some point we really do need to take it offline. Making things read-only doesn't actually protect us. Anyway, I hope this answers a few questions?
Member

Hi @dmcgrath, thank you for the explanations, that made the current situation a lot clearer to me!
I was under the impression that making the old wiki read-only would also protect it from spam & etc, but I see that if it's still old unmaintained php code running on the servers, that's not very good :)

I tried downloading the archive, (which is great to have and reasonably small, so that's great!), but I am not sure what to do with it.
Meaning: I don't think it is reasonable to expect regular people going through all the pain of downloading the archive, unzipping and searching through it after finding a broken link on the web.

I can go through my own user space and manually put it on the new wiki, no problem.
But what's the plan for other people's spaces, old design documents, addons, old manual versions and links that just don't match anymore (like the CMake one above)?
Is it to batch process all of these these pages into the new wiki? Can the new mediawiki installation just import the entire thing?
You mentioned someone should do this, page by page and manually?
Would it be better to try and process original design docs and manual versions into really-read-only-non-php versions?
Or is there some user friendly "viewer" for this xml archive?

Last important question! Who are these wiki "gurus"? :)

(Sorry for all the questions, maybe I missed out on reading something?)

Hi @dmcgrath, thank you for the explanations, that made the current situation a lot clearer to me! I was under the impression that making the old wiki read-only would also protect it from spam & etc, but I see that if it's still old unmaintained php code running on the servers, that's not very good :) I tried downloading the archive, (which is great to have and reasonably small, so that's great!), but I am not sure what to do with it. Meaning: I don't think it is reasonable to expect regular people going through all the pain of downloading the archive, unzipping and searching through it after finding a broken link on the web. I can go through my own user space and manually put it on the new wiki, no problem. But what's the plan for other people's spaces, old design documents, addons, old manual versions and links that just don't match anymore (like the CMake one above)? Is it to batch process all of these these pages into the new wiki? Can the new mediawiki installation just import the entire thing? You mentioned someone should do this, page by page and manually? Would it be better to try and process original design docs and manual versions into really-read-only-non-php versions? Or is there some user friendly "viewer" for this xml archive? Last important question! Who are these wiki "gurus"? :) (Sorry for all the questions, maybe I missed out on reading something?)
Member

Added subscriber: @greylica

Added subscriber: @greylica
Member

In #48096#523107, @brita wrote:
Hi @dmcgrath, thank you for the explanations, that made the current situation a lot clearer to me!

No problem!

I was under the impression that making the old wiki read-only would also protect it from spam & etc, but I see that if it's still old unmaintained php code running on the servers, that's not very good :)

Well, having it locked down and read-only prevents modifications and most annoyances, but it's the risk of just leaving an already old and vulnerable app running that concerns me.

Sure we could, in theory, upgrade the old wiki, but it would break the pages horribly, and then I would be stuck maintaining two wikis! Worse, the old one is a horrible mix of multiple svn repos. Originally they had it setup to have an internal (secrets!) and an external (public) svn repo, and would cherry pick commits from one to the other. It was already a headache to maintain, then commits stopped and we have a mess of partially committed changes. I'd rather eat spaghetti, not maintain it :D

I tried downloading the archive, (which is great to have and reasonably small, so that's great!), but I am not sure what to do with it.
Meaning: I don't think it is reasonable to expect regular people going through all the pain of downloading the archive, unzipping and searching through it after finding a broken link on the web.

Yeah, the files are fine, but the massive xml dump is really something that would need to be processed by py/perl/sed/awk type scripts, or by just importing it into a vanilla wiki. Either way, it's a ton of work! This is why I was really hoping that people would take the migration a little more seriously, because I honestly have a million more important things to do than also migrate the wiki :(

I can go through my own user space and manually put it on the new wiki, no problem.
But what's the plan for other people's spaces, old design documents, addons, old manual versions and links that just don't match anymore (like the CMake one above)?

All very good questions! The understanding that I have is: if it's an important page, migrate it; if it's not migrated, then it will (eventually) go to the bit bucket in the sky and all traces of it's existence be forgotten! The exception of course being this "secondary" archive of the page dump.

Is it to batch process all of these these pages into the new wiki? Can the new mediawiki installation just import the entire thing?
You mentioned someone should do this, page by page and manually?

As for batch processing, yes the process that dumped the pages can also import the pages. Problem is that because they tied all of the page markup into theme code, you can't even get a page to display without our theme, iirc. Still, if you can get the original markup text, you should at least be able to manually salvage a decent amount of content out of what you can get.

Realistically, you would probably want to apt-get install a mediawiki in a VM or something local, import the old pages, and then create a modified manifest of everything you want to keep, then export those pages only for import into the new wiki. Be warned though that the old pages are horribly tied to the old theme and templates! It would be a frustrating experience to bulk migrate it short of copying all the old junk that we decided to remove in the new wiki, and we would be right back to square one: an unmaintainable wiki

Would it be better to try and process original design docs and manual versions into really-read-only-non-php versions?

I assume you mean a wget or something that is "static" html. This process can work, but then all the old urls and pages get horrible urls. Worse, the search engines will start double indexing stuff, unless you exclude it with robots.txt etc etc. It's all just a headache, tbh. Take a look at archive.blender.org. Then look at the page source!

Or is there some user friendly "viewer" for this xml archive?

In all honesty, it's meant to be dumped from mediawiki to xml files, then imported back into mediawiki. But sure, if you have the xml-fu skills, one could slice and dice it all up into something useful. All comes down to how much time one wants to spend sifting through the sand to find the gold nuggets! ;)

Last important question! Who are these wiki "gurus"? :)

Good question :) @greylica and @mont29 were the best (only?) guru's I think we had. I barely know anything about MW myself, which is why I try to stay out of this other than from an admin with the actual access POV. Perhaps someone from #mediawiki or #wikipedia would have sympathy and help out a bit, but we don't have an open system because of the headaches of drive-by spam and lack of moderators. Perhaps we should put out a call for an actual MediaWiki administrator?

(Sorry for all the questions, maybe I missed out on reading something?)

No worries! Nice to discuss things for others to get caught up on the situation and some of the difficulties of it all.

> In #48096#523107, @brita wrote: > Hi @dmcgrath, thank you for the explanations, that made the current situation a lot clearer to me! No problem! > I was under the impression that making the old wiki read-only would also protect it from spam & etc, but I see that if it's still old unmaintained php code running on the servers, that's not very good :) Well, having it locked down and read-only prevents modifications and most annoyances, but it's the risk of just leaving an already old and vulnerable app running that concerns me. Sure we could, in theory, upgrade the old wiki, but it would break the pages horribly, and then I would be stuck maintaining two wikis! Worse, the old one is a horrible mix of multiple svn repos. Originally they had it setup to have an internal (secrets!) and an external (public) svn repo, and would cherry pick commits from one to the other. It was already a headache to maintain, then commits stopped and we have a mess of partially committed changes. I'd rather eat spaghetti, not maintain it :D > I tried downloading the archive, (which is great to have and reasonably small, so that's great!), but I am not sure what to do with it. > Meaning: I don't think it is reasonable to expect regular people going through all the pain of downloading the archive, unzipping and searching through it after finding a broken link on the web. Yeah, the files are fine, but the massive xml dump is really something that would need to be processed by py/perl/sed/awk type scripts, or by just importing it into a vanilla wiki. Either way, it's a **ton** of work! This is why I was really hoping that people would take the migration a little more seriously, because I honestly have a million more important things to do than also migrate the wiki :( > I can go through my own user space and manually put it on the new wiki, no problem. > But what's the plan for other people's spaces, old design documents, addons, old manual versions and links that just don't match anymore (like the CMake one above)? All very good questions! The understanding that I have is: if it's an important page, migrate it; if it's not migrated, then it will (eventually) go to the bit bucket in the sky and all traces of it's existence be forgotten! The exception of course being this "secondary" archive of the page dump. > Is it to batch process all of these these pages into the new wiki? Can the new mediawiki installation just import the entire thing? > You mentioned someone should do this, page by page and manually? As for batch processing, yes the process that dumped the pages can also import the pages. Problem is that because they tied all of the page markup into theme code, you can't even get a page to display without our theme, iirc. Still, if you can get the original markup text, you should at least be able to manually salvage a decent amount of content out of what you can get. Realistically, you would probably want to apt-get install a mediawiki in a VM or something local, import the old pages, and then create a modified manifest of everything you want to keep, then export those pages only for import into the new wiki. Be warned though that the old pages are horribly tied to the old theme and templates! It would be a frustrating experience to bulk migrate it short of copying all the old junk that we decided to remove in the new wiki, and we would be right back to square one: an unmaintainable wiki > Would it be better to try and process original design docs and manual versions into really-read-only-non-php versions? I assume you mean a wget or something that is "static" html. This process can work, but then all the old urls and pages get horrible urls. Worse, the search engines will start double indexing stuff, unless you exclude it with robots.txt etc etc. It's all just a headache, tbh. Take a look at archive.blender.org. Then look at the page source! > Or is there some user friendly "viewer" for this xml archive? In all honesty, it's meant to be dumped from mediawiki to xml files, then imported back into mediawiki. But sure, if you have the xml-fu skills, one could slice and dice it all up into something useful. All comes down to how much time one wants to spend sifting through the sand to find the gold nuggets! ;) > Last important question! Who are these wiki "gurus"? :) Good question :) @greylica and @mont29 were the best (only?) guru's I think we had. I barely know anything about MW myself, which is why I try to stay out of this other than from an admin with the actual access POV. Perhaps someone from #mediawiki or #wikipedia would have sympathy and help out a bit, but we don't have an open system because of the headaches of drive-by spam and lack of moderators. Perhaps we should put out a call for an actual MediaWiki administrator? > (Sorry for all the questions, maybe I missed out on reading something?) No worries! Nice to discuss things for others to get caught up on the situation and some of the difficulties of it all.
Member

Plan for completing the wiki migration:

Old wiki archive
As I understand it, even though the current 'old' wiki is read only, it is still an installation of old php code that is a security hazard.
Can we please make the final html read-only version and put it on the final domain "https://archive.wiki.blender.org/"?

This would allow for pages to explicitly link to the original version of a page or to pages that were not ported.


Broken links
Links that people referenced somewhere or bookmarked should never be broken.
If there is no page for it on the new wiki, I propose that the 404 error page on the new wiki presents a link to the same page on the archived wiki (that may or may not exist).
Something along the lines of:
"The page you are looking for was not found.

  • Create it [link]
  • Search the archive [link]"

Purpose and scope of the new wiki
The new wiki is meant for developers and Blender contributors to talk about Blender technical topics.
It should, therefore, have:

  • Onboarding: how do you get started with compiling, understanding the code, translating, etc. (Dev:Doc)
  • Technical Documentation: design docs, architectural decisions, etc (Dev:Source)
  • Projects: Onboarding and coordination over a project such as GSoC or any other (Dev:Ref/GSoC)
  • User space: a place for weekly reports, WIP proposals, drafts and personal ramblings in general. (User:)

In my view, this leaves out:

  • Feature Requests (Dev:Ref/Requests) - These were already dropped in favour of Phabricator.
  • 'Deprecated documents' such as old proposals, meeting notes, etc. - These are already unused (although they should still be accessible with a direct link).
  • User Manual - Already dropped in favour of https://docs.blender.org/manual
  • Python Add-ons
    The future of these is under discussion on blender/blender-addons#54097. For now, existing links should work.
  • Release Notes
    I propose that release notes for the different Blender versions are kept only in https://www.blender.org/download/releases/
    The new wiki can still hold the notes for the version current under works, which allows for collaboration on making the release notes and that's all.

At the moment, the release notes pages were already copied to the new wiki, but there are many problems, such as missing images, templates, broken links, broken structure and bad formatting.
I tried to fix it for a bit, but it's really inglorious work to even check if version 2.49 of Blender looks ok. I think this should be left as it was and the copied pages should be removed.


My proposed points of action:

  • make the html read-only version under archive. (@dmcgrath or @ideasman42?)
  • leave the php read-only version for the purpose of copying the source until it is no longer needed.
  • have the redirect page for broken links. (@brita, if there are no objections)
  • copy and organize Dev:Doc and Dev:Source (@brita already doing this. Takes time)
  • remove the copy of the release notes.
  • leave https://wiki.blender.org/wiki/Reference/Release_Notes/2.80
  • decide about add-ons in blender/blender-addons#54097, meanwhile the links shouldn't be broken.
  • theme, navigation and landing page (@fsiddi is working on this)
  • utilities: reviewing templates, etc (@brita)
Plan for completing the wiki migration: **Old wiki archive** As I understand it, even though the current 'old' wiki is read only, it is still an installation of old php code that is a security hazard. Can we please make the final html read-only version and put it on the final domain "https://archive.wiki.blender.org/"? This would allow for pages to explicitly link to the original version of a page or to pages that were not ported. ----- **Broken links** Links that people referenced somewhere or bookmarked should never be broken. If there is no page for it on the new wiki, I propose that the 404 error page on the new wiki presents a link to the same page on the archived wiki (that may or may not exist). Something along the lines of: "The page you are looking for was not found. * Create it [link] * Search the archive [link]" ---- **Purpose and scope of the new wiki** The new wiki is meant for developers and Blender contributors to talk about Blender technical topics. It should, therefore, have: - Onboarding: how do you get started with compiling, understanding the code, translating, etc. (Dev:Doc) - Technical Documentation: design docs, architectural decisions, etc (Dev:Source) - Projects: Onboarding and coordination over a project such as GSoC or any other (Dev:Ref/GSoC) - User space: a place for weekly reports, WIP proposals, drafts and personal ramblings in general. (User:) In my view, this leaves out: - Feature Requests (Dev:Ref/Requests) - These were already dropped in favour of Phabricator. - 'Deprecated documents' such as old proposals, meeting notes, etc. - These are already unused (although they should still be accessible with a direct link). - User Manual - Already dropped in favour of https://docs.blender.org/manual - Python Add-ons The future of these is under discussion on blender/blender-addons#54097. For now, existing links should work. - Release Notes I propose that release notes for the different Blender versions are kept only in https://www.blender.org/download/releases/ The new wiki can still hold the notes for the version current under works, which allows for collaboration on making the release notes and that's all. At the moment, the release notes pages were already copied to the new wiki, but there are many problems, such as missing images, templates, broken links, broken structure and bad formatting. I tried to fix it for a bit, but it's really inglorious work to even check if version 2.49 of Blender looks ok. I think this should be left as it was and the copied pages should be removed. --- **My proposed points of action**: - make the html read-only version under archive. (@dmcgrath or @ideasman42?) - leave the php read-only version for the purpose of copying the source until it is no longer needed. - have the redirect page for broken links. (@brita, if there are no objections) - copy and organize Dev:Doc and Dev:Source (@brita already doing this. Takes time) - remove the copy of the release notes. - leave https://wiki.blender.org/wiki/Reference/Release_Notes/2.80 - decide about add-ons in blender/blender-addons#54097, meanwhile the links shouldn't be broken. - theme, navigation and landing page (@fsiddi is working on this) - utilities: reviewing templates, etc (@brita)

Added subscriber: @Sergey

Added subscriber: @Sergey

Here are some instructions which might help with static-isfying the old wiki: http://camwebb.info/blog/2012-12-20/

Here are some instructions which might help with static-isfying the old wiki: http://camwebb.info/blog/2012-12-20/

This all seems reasonable.

Regarding release notes, it's not entirely clear to me what is being proposed. Once the old wiki is archived to HTML we can redirect to that for old versions, and then afterwards remove the old versions from wiki.blender.org. I'm not sure if anyone will convert the wiki release notes of the current or future releases to blender.org though, that's a lot of work. If we want to have the release notes in another format for future release we better write it in that format directly, otherwise we probably just keep linking to the wiki.

This all seems reasonable. Regarding release notes, it's not entirely clear to me what is being proposed. Once the old wiki is archived to HTML we can redirect to that for old versions, and then afterwards remove the old versions from wiki.blender.org. I'm not sure if anyone will convert the wiki release notes of the current or future releases to blender.org though, that's a lot of work. If we want to have the release notes in another format for future release we better write it in that format directly, otherwise we probably just keep linking to the wiki.

Added subscriber: @brhumphe

Added subscriber: @brhumphe

One request regarding the new wiki I would like to see: explicit version numbers. The new wiki does not specify which version of Blender the articles are relevant to. Something I appreciate that the Python documentation does and the old wiki does is have a selectable version dropdown menu which allows you to make sure the version of the page you are reading is correct for the version you are working with, and select a different version and be immediately taken to the correct page. I've been hitting a lot of dead links lately trying to figure out which set of build instructions is correct for 2.7, which has been a bit difficult since the old wiki does not have anything labeled 2.7, but the instructions in the new wiki are specific to the latest builds of 2.8.

EDIT: I see that one of the goals of the changes is to remove version numbers and always have it up to date to the latest versions. I suppose I simply disagree with this for the above reasons.

One request regarding the new wiki I would like to see: explicit version numbers. The new wiki does not specify which version of Blender the articles are relevant to. Something I appreciate that the Python documentation does and the old wiki does is have a selectable version dropdown menu which allows you to make sure the version of the page you are reading is correct for the version you are working with, and select a different version and be immediately taken to the correct page. I've been hitting a lot of dead links lately trying to figure out which set of build instructions is correct for 2.7, which has been a bit difficult since the old wiki does not have anything labeled 2.7, but the instructions in the new wiki are specific to the latest builds of 2.8. EDIT: I see that one of the goals of the changes is to remove version numbers and always have it up to date to the latest versions. I suppose I simply disagree with this for the above reasons.
Member

Added subscriber: @pablovazquez

Added subscriber: @pablovazquez
Member

@brhumphe The Blender User Manual does have versioning: https://docs.blender.org/manual/ . But you say compile? That shouldn't really change, it would be nice to have an easier explanation of how to work with branches, but otherwise, I don't think it needs versioning.

@brecht
Regarding release notes, I propose to delete everything under https://wiki.blender.org/wiki/Reference/Release_Notes except for the ones for 2.80.
This is because the copies don't look good and it would be too much work to make it better, without a clear benefit.
Examples:
https://wiki.blender.org/wiki/Reference/Release_Notes/2.49
Compare [an original version ]] with [ https:*wiki.blender.org/wiki/Reference/Release_Notes/2.72 | the copy. -> Images are missing. Click the first link "Cycles Rendering". Images are also missing and links are broken.

I thought that the wiki release notes were already converted to blender.org by @pablovazquez or @fsiddi ?

@brhumphe The Blender User Manual does have versioning: https://docs.blender.org/manual/ . But you say compile? That shouldn't really change, it would be nice to have an easier explanation of how to work with branches, but otherwise, I don't think it needs versioning. @brecht Regarding release notes, I propose to delete everything under https://wiki.blender.org/wiki/Reference/Release_Notes except for the ones for 2.80. This is because the copies don't look good and it would be too much work to make it better, without a clear benefit. Examples: https://wiki.blender.org/wiki/Reference/Release_Notes/2.49 Compare [an original version ]] with [[ https:*wiki.blender.org/wiki/Reference/Release_Notes/2.72 | the copy](https:*en.blender.org/index.php/Dev:Ref/Release_Notes/2.72). -> Images are missing. Click the first link "Cycles Rendering". Images are also missing and links are broken. I thought that the wiki release notes were already converted to blender.org by @pablovazquez or @fsiddi ?

@brhumphe, the versioning in the old wiki was never actually used for developer docs. The individual history of pages can be used to go back to a specific date, however build instructions are actually identical for master (2.7) and blender2.8 branches.

@brita, wiki release notes don't get converted, there is only a landing page on blender.org that links to the wiki pages. We can delete the release notes on wiki.blender.org once there is a way to redirect to the archive versions of those pages with images, if we delete them right now it breaks a lot of links.

@brhumphe, the versioning in the old wiki was never actually used for developer docs. The individual history of pages can be used to go back to a specific date, however build instructions are actually identical for master (2.7) and blender2.8 branches. @brita, wiki release notes don't get converted, there is only a landing page on blender.org that links to the wiki pages. We can delete the release notes on wiki.blender.org once there is a way to redirect to the archive versions of those pages with images, if we delete them right now it breaks a lot of links.
Member

@brecht
I don't know what's the process for the release notes after they're finished on the wiki.

I see an html version on blender.org. For example: https://www.blender.org/download/releases/2-74/
Clicking on a "Read More" indeed links to the wiki.
I experimented with making an explicit redirect, but redirects to an external link require an extension as they are seen as a security risk.

I came up with this instead: https://wiki.blender.org/wiki/Dev:Ref/Release_Notes/2.74/UI

We can either do that, a link that people would need to manually click, or install the extension .
I think the security issue is that anyone could edit a popular page to redirect to their own scam website or so?
We can make it so that only external links to the old wiki domain are allowed. I don't see a security problem with that. @dmcgrath?

It's still a choice if we want an automatic redirect or an intermediate page so that the reader clearly understands that he is going from a beautifully maintained wiki into an archive.

@brecht I don't know what's the process for the release notes after they're finished on the wiki. I see an html version on blender.org. For example: https://www.blender.org/download/releases/2-74/ Clicking on a "Read More" indeed links to the wiki. I experimented with making an explicit redirect, but redirects to an external link require an extension as they are seen as a security risk. I came up with this instead: https://wiki.blender.org/wiki/Dev:Ref/Release_Notes/2.74/UI We can either do that, a link that people would need to manually click, or install the [extension ](https://www.mediawiki.org/wiki/Extension:ExternalRedirect). I think the security issue is that anyone could edit a popular page to redirect to their own scam website or so? We can make it so that only external links to the old wiki domain are allowed. I don't see a security problem with that. @dmcgrath? It's still a choice if we want an automatic redirect or an intermediate page so that the reader clearly understands that he is going from a beautifully maintained wiki into an archive.

Added subscriber: @TuomoKeskitalo

Added subscriber: @TuomoKeskitalo

Hi,

I tried to bake the old wiki as static HTML, but wget is disallowed in robots.txt. Also, it makes sense to run it locally/close to server, so somebody with local access should be able to run the bake command (after modification of robots.txt):

cd archive
wget --recursive --level=10 --page-requisites --adjust-extension --convert-links --no-parent -R "Special" -R "action=" -R "printable=" -R "oldid=" -R "title=Talk:" -R "limit=" "http://en.blender.org/index.php"

After that maybe check if something else listed in http://camwebb.info/blog/2012-12-20/ is still needed.

Hi, I tried to bake the old wiki as static HTML, but wget is disallowed in robots.txt. Also, it makes sense to run it locally/close to server, so somebody with local access should be able to run the bake command (after modification of robots.txt): cd archive wget --recursive --level=10 --page-requisites --adjust-extension --convert-links --no-parent -R "*Special*" -R "*action=*" -R "*printable=*" -R "*oldid=*" -R "*title=Talk:*" -R "*limit=*" "http://en.blender.org/index.php" After that maybe check if something else listed in http://camwebb.info/blog/2012-12-20/ is still needed.

Hi Tuomo, if the user agent is the only thing breaking your bake command, you can change it:

wget --user-agent="BlenderBaker/1.0"
Hi Tuomo, if the user agent is the only thing breaking your bake command, you can change it: ``` wget --user-agent="BlenderBaker/1.0" ```
Member

you can also convince wget to ignore robots.txt with -e robots=off

you can also convince wget to ignore robots.txt with ` -e robots=off`

Thanks for advice, seems to work. So, will somebody do it locally, or should I give it a go next weekend?

Thanks for advice, seems to work. So, will somebody do it locally, or should I give it a go next weekend?
Member

@TuomoKeskitalo
I gave your command a quick try with --level=1 and it seems to work pretty well! (I don't have local access to the server)
Some links are going to the web version, but I think that's because those were excluded from the copy.

I played a bit with the rejection list and it looks possible to keep both the edit page and the history list (without the diffing), both of which are super useful.
I simply omitted -R "action=" , but then there's all sorts of other things to discard, such as "action=delete" and "action=unprotect".
Curiously, some of the rejected expressions didn't work for me. I still see the oldid=*
I wonder how much space do the rejected pages occupy and if it wouldn't be better to simply copy everything.

@dmcgrath
Is it possible to unlock the old wiki for edits before the bake, in order to add a note saying it's the archive (as it was done when the manual was moved)?

@TuomoKeskitalo I gave your command a quick try with `--level=1` and it seems to work pretty well! (I don't have local access to the server) Some links are going to the web version, but I think that's because those were excluded from the copy. I played a bit with the rejection list and it looks possible to keep both the edit page and the history list (without the diffing), both of which are super useful. I simply omitted -R "*action=*" , but then there's all sorts of other things to discard, such as "action=delete" and "action=unprotect". Curiously, some of the rejected expressions didn't work for me. I still see the oldid=* I wonder how much space do the rejected pages occupy and if it wouldn't be better to simply copy everything. @dmcgrath Is it possible to unlock the old wiki for edits before the bake, in order to add a note saying it's the archive (as it was done when the manual was moved)?

The rejection list is mainly to prevent the process from purging all the pages and doing other crazy things. If some of the unwanted pages are getting sneaked in, you can always delete the file.

As for the note, is it possible to ensure all pages have it, without going and editing every single page?

Also, with all those months en.blender.org existed, is it really a place for an archive? Or we do break all the google search links to it once the archive is done?

The rejection list is mainly to prevent the process from purging all the pages and doing other crazy things. If some of the unwanted pages are getting sneaked in, you can always delete the file. As for the note, is it possible to ensure all pages have it, without going and editing every single page? Also, with all those months en.blender.org existed, is it really a place for an archive? Or we do break all the google search links to it once the archive is done?
Member

I think that when the manual was moved, the note was added to namespaces and not per page.
Poking a random page, I see the warning, but not the source for it and also nothing in the history. -> https://en.blender.org/index.php?title=Doc:2.6/Tutorials
I don't know how it was done.

I don't think there should be an "en.blender.org" it has nothing that resembles "archived old wiki" on the title. It's just confusing, and it has been so for many months.
Search engine indexes will recover in another couple months? Hopefully they'll start pointing to the new wiki once that's a bit more composed?

I think that when the manual was moved, the note was added to namespaces and not per page. Poking a random page, I see the warning, but not the source for it and also nothing in the history. -> https://en.blender.org/index.php?title=Doc:2.6/Tutorials I don't know how it was done. I don't think there should be an "en.blender.org" it has nothing that resembles "archived old wiki" on the title. It's just confusing, and it has been so for many months. Search engine indexes will recover in another couple months? Hopefully they'll start pointing to the new wiki once that's a bit more composed?

We could put the archive on archive.blender.org/wiki. If needed we can still set en.blender.org to redirect to the new location.

If we need a message on all pages, I can insert some html directly into the php/theme code on the server.

We could put the archive on archive.blender.org/wiki. If needed we can still set en.blender.org to redirect to the new location. If we need a message on all pages, I can insert some html directly into the php/theme code on the server.
Member

In #48096#554863, @brita wrote:
We can either do that, a link that people would need to manually click, or install the extension .
I think the security issue is that anyone could edit a popular page to redirect to their own scam website or so?
We can make it so that only external links to the old wiki domain are allowed. I don't see a security problem with that. @dmcgrath?

Sorry, I'm not exactly sure what you are asking about here. I am not exactly the best person to ask about MediaWiki features, let alone security related features.

> In #48096#554863, @brita wrote: > We can either do that, a link that people would need to manually click, or install the [extension ](https://www.mediawiki.org/wiki/Extension:ExternalRedirect). > I think the security issue is that anyone could edit a popular page to redirect to their own scam website or so? > We can make it so that only external links to the old wiki domain are allowed. I don't see a security problem with that. @dmcgrath? Sorry, I'm not exactly sure what you are asking about here. I am not exactly the best person to ask about MediaWiki features, let alone security related features.
Member

In #48096#553019, @brhumphe wrote:
One request regarding the new wiki I would like to see: explicit version numbers. The new wiki does not specify which version of Blender the articles are relevant to. I've been hitting a lot of dead links lately trying to figure out which set of build instructions is correct for 2.7, which has been a bit difficult since the old wiki does not have anything labeled 2.7, but the instructions in the new wiki are specific to the latest builds of 2.8.

This can be tricky to do with editable wiki docs. What would be your typical use case here? If this is only for building older versions of Blender, one option could be to start packing a copy of the build instructions on the wiki into the Blender source code when it get archived during a release. That way even if a certain build setup gets depreciated or undergoes significant changes, there will still be a instructions available for how the code was compiled without having to dig through the wiki's edit history or hoping there's a backup copy of the instructions somewhere on archive.org .

In #48096#553035, @brita wrote:
@brecht
Regarding release notes, I propose to delete everything under https://wiki.blender.org/wiki/Reference/Release_Notes except for the ones for 2.80.
This is because the copies don't look good and it would be too much work to make it better, without a clear benefit.
Examples:
https://wiki.blender.org/wiki/Reference/Release_Notes/2.49
Compare [an original version ]] with [ https:*wiki.blender.org/wiki/Reference/Release_Notes/2.72 | the copy. -> Images are missing. Click the first link "Cycles Rendering". Images are also missing and links are broken.

I don't think it would take that much work to port over what's left of the release notes pages to the new wiki. The main difference between the two URLs you listed is the missing images which should be a quick fix. Any special template formatting should not be a major problem either, just port the old templates to the new wiki or strip out the template formatting. The thing is if the old wiki is left online as static HTML this removes the main reason to port these pages over.

I would recommend keeping the 2.79 docs on the new wiki and not just the 2.80 info. My thinking is many users are likely to continue using 2.79 for a long long time after 2.80 is released to keep 3rd party add-ons working and because 2.80 will not have Blender Internal, BGE, or compatibility with pre OpenGL 3.3 hardware. If 2.79 retains a large user base, having editable wiki docs for it makes sense.

In #48096#555288, @Sergey wrote:
As for the note, is it possible to ensure all pages have it, without going and editing every single page?

If the pages are being flattened to HTML, this might be possible through the CSS, but web scripting is not something I have much familiarity with.

In #48096#555288, @Sergey wrote:
Also, with all those months en.blender.org existed, is it really a place for an archive? Or we do break all the google search links to it once the archive is done?

In #48096#555300, @brita wrote:

I don't think there should be an "en.blender.org" it has nothing that resembles "archived old wiki" on the title. It's just confusing, and it has been so for many months.
Search engine indexes will recover in another couple months? Hopefully they'll start pointing to the new wiki once that's a bit more composed?

I don't think moving the old wiki will be a major issue. Last time I checked, search engines still had broken indexing for the old wiki from the prior move from wiki.blender.org to en.blender.org. Most of the older pages seem to be indexed now, but they rarely show up in the first few pages of search results unless you use rather stringent search strings. Maybe as a temp fix there could be a placeholder page at the "en.blender.org" address for a while with a 404 page or something that points to whatever the archived wiki's new address will be.

> In #48096#553019, @brhumphe wrote: > One request regarding the new wiki I would like to see: explicit version numbers. The new wiki does not specify which version of Blender the articles are relevant to. <snip> I've been hitting a lot of dead links lately trying to figure out which set of build instructions is correct for 2.7, which has been a bit difficult since the old wiki does not have anything labeled 2.7, but the instructions in the new wiki are specific to the latest builds of 2.8. This can be tricky to do with editable wiki docs. What would be your typical use case here? If this is only for building older versions of Blender, one option could be to start packing a copy of the build instructions on the wiki into the Blender source code when it get archived during a release. That way even if a certain build setup gets depreciated or undergoes significant changes, there will still be a instructions available for how the code was compiled without having to dig through the wiki's edit history or hoping there's a backup copy of the instructions somewhere on archive.org . > In #48096#553035, @brita wrote: > @brecht > Regarding release notes, I propose to delete everything under https://wiki.blender.org/wiki/Reference/Release_Notes except for the ones for 2.80. > This is because the copies don't look good and it would be too much work to make it better, without a clear benefit. > Examples: > https://wiki.blender.org/wiki/Reference/Release_Notes/2.49 > Compare [an original version ]] with [[ https:*wiki.blender.org/wiki/Reference/Release_Notes/2.72 | the copy](https:*en.blender.org/index.php/Dev:Ref/Release_Notes/2.72). -> Images are missing. Click the first link "Cycles Rendering". Images are also missing and links are broken. I don't think it would take *that* much work to port over what's left of the release notes pages to the new wiki. The main difference between the two URLs you listed is the missing images which should be a quick fix. Any special template formatting should not be a major problem either, just port the old templates to the new wiki or strip out the template formatting. The thing is if the old wiki is left online as static HTML this removes the main reason to port these pages over. I would recommend keeping the 2.79 docs on the new wiki and not just the 2.80 info. My thinking is many users are likely to continue using 2.79 for a long long time after 2.80 is released to keep 3rd party add-ons working and because 2.80 will not have Blender Internal, BGE, or compatibility with pre OpenGL 3.3 hardware. If 2.79 retains a large user base, having editable wiki docs for it makes sense. > In #48096#555288, @Sergey wrote: > As for the note, is it possible to ensure all pages have it, without going and editing every single page? If the pages are being flattened to HTML, this might be possible through the CSS, but web scripting is not something I have much familiarity with. > In #48096#555288, @Sergey wrote: > Also, with all those months en.blender.org existed, is it really a place for an archive? Or we do break all the google search links to it once the archive is done? > In #48096#555300, @brita wrote: > > I don't think there should be an "en.blender.org" it has nothing that resembles "archived old wiki" on the title. It's just confusing, and it has been so for many months. > Search engine indexes will recover in another couple months? Hopefully they'll start pointing to the new wiki once that's a bit more composed? I don't think moving the old wiki will be a major issue. Last time I checked, search engines still had broken indexing for the old wiki from the prior move from wiki.blender.org to en.blender.org. Most of the older pages seem to be indexed now, but they rarely show up in the first few pages of search results unless you use rather stringent search strings. Maybe as a temp fix there could be a placeholder page at the "en.blender.org" address for a while with a 404 page or something that points to whatever the archived wiki's new address will be.

@brita : Looks like you can specify pcre regexps for wget, does this what you want? (updated:)

wget --recursive --level=1 --page-requisites --adjust-extension --convert-links --no-parent --regex-type pcre --reject-regex "Special:|action=(?!(history|edit))|printable=|oldid=|title=Talk:|limit=" -e robots=off "http://en.blender.org/index.php"

I guess you also want to remove remaining links to en.blender.org?

This removes normal, possibly multiline links to https://en.blender.org
find . -type f -exec perl -i -pe 'BEGIN{undef $/;} s/<a\ href="https://en.blender.org.?>(.?)</a>/$1/smg' {} ;

This removes

@brita : Looks like you can specify pcre regexps for wget, does this what you want? (updated:) wget --recursive --level=1 --page-requisites --adjust-extension --convert-links --no-parent --regex-type pcre --reject-regex "Special\:|action=(?!(history|edit))|printable=|oldid=|title=Talk\:|limit=" -e robots=off "http://en.blender.org/index.php" I guess you also want to remove remaining links to en.blender.org? This removes normal, possibly multiline links to https://en.blender.org find . -type f -exec perl -i -pe 'BEGIN{undef $/;} s/\<a\ href=\"https\:\/\/en\.blender\.org.*?\>(.*?)\<\/a\>/$1/smg' {} \; This removes <script> clauses that include string en.blender.org find . -type f -exec perl -i -pe 's/\<(\w+?)\s.*?https\:\/\/en\.blender\.org.*?\<\/\w+\>//smg' {} \; This removes <link> clauses that include string en.blender.org find . -type f -exec perl -i -pe 's/\<.*?https\:\/\/en\.blender\.org.*?\>//smg' {} \;
Member

@brecht can you run Tuomo's script and add the notice to the development part saying that it's archived?
Or if not, it's not exactly clear yet how the html bake will end up on the server :)

Between https:*archive.wiki.blender.org and https:*archive.blender.org/wiki
archive.blender.org already exists. /wiki has nothing in it at the moment, but I don't know if it could cause a problem?
Apart from that, I don't have a preference. :)

Meanwhile, I made a separate task for the structure of the content and landing page -> infrastructure/blender-org#57987

@brecht can you run Tuomo's script and add the notice to the development part saying that it's archived? Or if not, it's not exactly clear yet how the html bake will end up on the server :) Between https:*archive.wiki.blender.org and https:*archive.blender.org/wiki archive.blender.org already exists. /wiki has nothing in it at the moment, but I don't know if it could cause a problem? Apart from that, I don't have a preference. :) Meanwhile, I made a separate task for the structure of the content and landing page -> infrastructure/blender-org#57987

@brecht @brita : If you want I can test bake first to see that everything is ok during weekend, and put that available on my own web site for you to check? You could then reproduce my process locally.

If you could add the warning about "This wiki has been archived, new wiki is available at ..." to all pages before, that would be nice. Thanks!

@brecht @brita : If you want I can test bake first to see that everything is ok during weekend, and put that available on my own web site for you to check? You could then reproduce my process locally. If you could add the warning about "This wiki has been archived, new wiki is available at ..." to all pages before, that would be nice. Thanks!
Member

@TuomoKeskitalo sounds good!
Thanks for helping out ^^

@TuomoKeskitalo sounds good! Thanks for helping out ^^

Status of the wiki statification bake: This is my current version of the wget command, which has been running now for 20 hours, collected 3.4G of files, and its not yet finished.. Not sure why it is so slow, but at least it has rejected 12 million URLs so far. I hope I can run it until it finishes..

wget --recursive --level=inf --page-requisites --adjust-extension --convert-links --regex-type pcre --reject-regex "Special\:|action=(?!(history|edit))|printable=|oldid=|diff=|limit=|redlink=1|\\\"" -e robots=off --rejected-log=wget.reject.log --no-verbose --limit-rate=500k "https://en.blender.org/index.php" 2>&1 | tee wget.log

Update 2018-11-26: Still not finished.

Update 2018-11-27: wget finished in 2d 5h. Proceeding now with string replacements. Also I found a somewhat nice way to inject warning to all pages, so no need to modify the source. More tomorrow.

Update 2018-11-28: Continuing string replacements finesse. Currently 9.6 GB of data files. Gonna take a while (tomorrow/Friday).

Status of the wiki statification bake: This is my current version of the wget command, which has been running now for 20 hours, collected 3.4G of files, and its not yet finished.. Not sure why it is so slow, but at least it has rejected 12 million URLs so far. I hope I can run it until it finishes.. `wget --recursive --level=inf --page-requisites --adjust-extension --convert-links --regex-type pcre --reject-regex "Special\:|action=(?!(history|edit))|printable=|oldid=|diff=|limit=|redlink=1|\\\"" -e robots=off --rejected-log=wget.reject.log --no-verbose --limit-rate=500k "https://en.blender.org/index.php" 2>&1 | tee wget.log` Update 2018-11-26: Still not finished. Update 2018-11-27: wget finished in 2d 5h. Proceeding now with string replacements. Also I found a somewhat nice way to inject warning to all pages, so no need to modify the source. More tomorrow. Update 2018-11-28: Continuing string replacements finesse. Currently 9.6 GB of data files. Gonna take a while (tomorrow/Friday).

OK I managed to get first version of static wiki bake ready already today. I uploaded it temporarily to my web pages, please check the results here: http:*tkeskita.kapsi.fi/temp/en.blender.org/ and compare with the original at https:*en.blender.org/ and please let me know what you think. At least the tamsiteTree menus on the left panel are not working correctly, should I try to fix those?

I used the wget in previous comment and then run these bash commands to get that result:

(script updated 2018-11-30)

%%%

  • Clean-up string replacements for old Blender wiki after running wget
  • This removes normal, possibly multiline links to https://en.blender.org but leaves the text intact
    find . -type f -regex "..html$" -exec perl -i -pe 'BEGIN{undef $/;} s/<a\ href="https://en.blender.org.?>(.*?)</a>/$1/smg' {} ;

This removes

OK I managed to get first version of static wiki bake ready already today. I uploaded it temporarily to my web pages, please check the results here: http:*tkeskita.kapsi.fi/temp/en.blender.org/ and compare with the original at https:*en.blender.org/ and please let me know what you think. At least the tamsiteTree menus on the left panel are not working correctly, should I try to fix those? I used the wget in previous comment and then run these bash commands to get that result: (script updated 2018-11-30) %%% - Clean-up string replacements for old Blender wiki after running wget - This removes normal, possibly multiline links to https://en.blender.org but leaves the text intact find . -type f -regex ".*\.html$" -exec perl -i -pe 'BEGIN{undef $/;} s/\<a\ href=\"https\:\/\/en\.blender\.org.*?\>(.*?)\<\/a\>/$1/smg' {} \; # This removes <script> clauses that include string en.blender.org find . -type f -regex ".*\.html$" -exec perl -i -pe 's/\<(\w+?)\s.*?https\:\/\/en\.blender\.org.*?\<\/\w+\>//smg' {} \; # This removes <link> clauses that include string en.blender.org find . -type f -regex ".*\.html$" -exec perl -i -pe 's/\<.*?https\:\/\/en\.blender\.org.*?\>//smg' {} \; # This adds warning about wiki having been archived after start of content find . -type f -regex ".*\.html$" -exec perl -i -pe 's/\<\!--\ START\ content\ --\>/\<\!-- START content --\>\<div\>\<ul\>\<center\>\<font color\=\"red\" size\=\"+2\"\>Warning: This wiki has been archived. Current Blender wiki address is \<a href\=\"https\:\/\/wiki.blender.org\/wiki\/\"\>https\:\/\/wiki.blender.org\/wiki\/\<\/a\>\<\/font\>\<\/center\>\<\/ul\>\<\/div\>/' {} \; # Change URLs in css files, replace old_blender_wiki_archive_url to correct archive URL find . -type f -regex ".*\.css$" -exec perl -i -pe 's/en\.blender\.org/old_blender_wiki_archive_url/smg' {} \; # Convert all remaining URLs to old_blender_wiki_url find . -type f -exec perl -i -pe 's/https\:\/\/en\.blender\.org/old_blender_wiki_url/smg' {} \; # Move x.css?270.css to x.css mv skins/blender/main.css?270.css skins/blender/main.css mv skins/blender/niftyCorners.css?270.css skins/blender/niftyCorners.css mv skins/naiad/main.css?270.css skins/naiad/main.css mv skins/common/commonPrint.css?270.css skins/common/commonPrint.css mv skins/common/shared.css?270.css skins/common/shared.css mv skins/monobook/main.css?270.css skins/monobook/main.css # And remove references to %3F270.css in html files find . -type f -regex ".*\.html$" -exec perl -i -pe 's/\?270\.css//smg' {} \; # Move x.js?270 to x.js mv skins/common/metadata.js?270 skins/common/metadata.js mv skins/common/wikibits.js?270 skins/common/wikibits.js mv skins/common/history.js?270 skins/common/history.js mv skins/common/edit.js?270 skins/common/edit.js mv skins/common/ajax.js?270 skins/common/ajax.js mv skins/common/rightclickedit.js?270 skins/common/rightclickedit.js mv skins/common/mwsuggest.js?270 skins/common/mwsuggest.js # And remove references to %3F270.css in html files find . -type f -regex ".*\.html$" -exec perl -i -pe 's/\.js\?270/\.js/smg' {} \; # Copy index.php.html to index.html cp index.php.html index.html %%%
Member

@TuomoKeskitalo
Is it possible to add the archived warning only on pages that are not part of the manual? Those already have a warning linking to the new Blender Manual.

I don't fully understand all the regex that is going on and what is their purpose. I would say that links from en.blender.org should be replaced by the archive domain, but never removed?

I see that the links to edit a page and see its history are not available. Is there a reason for removing them? I thought they were very useful.

When you mention that the tree menus at the left are not working, is it just the problem with the icons? Otherwise, it's working fine for me.

@TuomoKeskitalo Is it possible to add the archived warning only on pages that are not part of the manual? Those already have a warning linking to the new Blender Manual. I don't fully understand all the regex that is going on and what is their purpose. I would say that links from en.blender.org should be replaced by the archive domain, but never removed? I see that the links to edit a page and see its history are not available. Is there a reason for removing them? I thought they were very useful. When you mention that the tree menus at the left are not working, is it just the problem with the icons? Otherwise, it's working fine for me.

Hi @brita,

Is it possible to add the archived warning only on pages that are not part of the manual? Those already have a warning linking to the new Blender Manual.

Yes if there is a string in manual page name it is possible to generate regex which catches and omits those. But wouldn't it be better to make all archived pages look similar?

I don't fully understand all the regex that is going on and what is their purpose. I would say that links from en.blender.org should be replaced by the archive domain, but never removed?

My reasoning here is that if you ensure that no links to en.blender.org remain in the static version, you can be sure the static version is self-contained (except for css files) and no dangling links to en.blender.org remain, so then static pages can be placed or moved anywhere without breaking internal links.

I see that the links to edit a page and see its history are not available. Is there a reason for removing them? I thought they were very useful.

I think they should be there? For example http:*tkeskita.kapsi.fi/temp/en.blender.org/index.php/Doc:2.6/Manual/index.html if you click on "view source" on top right you get to http:*tkeskita.kapsi.fi/temp/en.blender.org/index.php%3Ftitle=Doc:2.6%252FManual&action=edit.html and if you click on "history" you get http://tkeskita.kapsi.fi/temp/en.blender.org/index.php%3Ftitle=Doc:2.6%252FManual&action=history.html What page are you referring to specifically?

When you mention that the tree menus at the left are not working, is it just the problem with the icons? Otherwise, it's working fine for me.

Oh it is working even if there is no "+" icon. Well that might be OK then, I guess.

Hi @brita, > Is it possible to add the archived warning only on pages that are not part of the manual? Those already have a warning linking to the new Blender Manual. Yes if there is a string in manual page name it is possible to generate regex which catches and omits those. But wouldn't it be better to make all archived pages look similar? > I don't fully understand all the regex that is going on and what is their purpose. I would say that links from en.blender.org should be replaced by the archive domain, but never removed? My reasoning here is that if you ensure that no links to en.blender.org remain in the static version, you can be sure the static version is self-contained (except for css files) and no dangling links to en.blender.org remain, so then static pages can be placed or moved anywhere without breaking internal links. > I see that the links to edit a page and see its history are not available. Is there a reason for removing them? I thought they were very useful. I think they should be there? For example http:*tkeskita.kapsi.fi/temp/en.blender.org/index.php/Doc:2.6/Manual/index.html if you click on "view source" on top right you get to http:*tkeskita.kapsi.fi/temp/en.blender.org/index.php%3Ftitle=Doc:2.6%252FManual&action=edit.html and if you click on "history" you get http://tkeskita.kapsi.fi/temp/en.blender.org/index.php%3Ftitle=Doc:2.6%252FManual&action=history.html What page are you referring to specifically? > When you mention that the tree menus at the left are not working, is it just the problem with the icons? Otherwise, it's working fine for me. Oh it is working even if there is no "+" icon. Well that might be OK then, I guess.
Member

Warning Notice

Yes if there is a string in manual page name it is possible to generate regex which catches and omits those. But wouldn't it be better to make all archived pages look similar?

The manual pages already have a warning linking to the new manual, they shouldn't have another linking to the developer docs.
I think that the nicest thing to do is for each page, if it has the NiceTip that says "IMPORTANT! Do not update this page!", remove it entirely and add:

Warning: This wiki has been archived. The Blender User Manual has moved to a [[https://docs.blender.org/manual|new location]].

otherwise, add:

Warning: This wiki has been archived. The Blender Developer Wiki has moved to a [[https://wiki.blender.org|new location]].

See paste: P848
Example:
pasted_file

Regex for en.blender.org
Are you trying to convert absolute links to relative ones, then?

Page Source and History
You're right, everything looks fine. I don't know where I was looking the other day. I'll poke more pages this weekend :)

Icons for the navtree
Icons should be under /extensions/BlenderTreeAndMenu/img/.

**Warning Notice** > Yes if there is a string in manual page name it is possible to generate regex which catches and omits those. But wouldn't it be better to make all archived pages look similar? The manual pages already have a warning linking to the new manual, they shouldn't have another linking to the developer docs. I think that the nicest thing to do is for each page, if it has the NiceTip that says "IMPORTANT! Do not update this page!", remove it entirely and add: ``` Warning: This wiki has been archived. The Blender User Manual has moved to a [[https://docs.blender.org/manual|new location]]. ``` otherwise, add: ``` Warning: This wiki has been archived. The Blender Developer Wiki has moved to a [[https://wiki.blender.org|new location]]. ``` See paste: [P848](https://archive.blender.org/developer/P848.txt) Example: ![pasted_file](https://archive.blender.org/developer/F5781554/pasted_file) **Regex for en.blender.org** Are you trying to convert absolute links to relative ones, then? **Page Source and History** You're right, everything looks fine. I don't know where I was looking the other day. I'll poke more pages this weekend :) **Icons for the navtree** Icons should be under `/extensions/BlenderTreeAndMenu/img/`.

Hi @brita ,

about regexes: Yes I'm trying to modify or get rid of unconverted URLs. When wget is finished, it converts only links that point to a page it has downloaded into relative path. For the rest it does nothing. This leaves a lot of references to en.blender.org in page sources. Here attached is example of https://en.blender.org/index.php/Doc:2.6/Reference/Nodes/Node_Editor produced by wget:

Node_Editor.html

So, in order to make static pages work right, those URLs containing en.blender.org must be dealt with somehow.

I'll try to make a new conversion, including that modified treatment for NiceTip pages you requested.

Hi @brita , about regexes: Yes I'm trying to modify or get rid of unconverted URLs. When wget is finished, it converts only links that point to a page it has downloaded into relative path. For the rest it does nothing. This leaves a lot of references to en.blender.org in page sources. Here attached is example of https://en.blender.org/index.php/Doc:2.6/Reference/Nodes/Node_Editor produced by wget: [Node_Editor.html](https://archive.blender.org/developer/F5787094/Node_Editor.html) So, in order to make static pages work right, those URLs containing en.blender.org must be dealt with somehow. I'll try to make a new conversion, including that modified treatment for NiceTip pages you requested.
Member

I see the point of the regexes :) I would go for replacing them instead of removing, though!

Meanwhile, I notice that some links have numbers on them:
http://tkeskita.kapsi.fi/temp/en.blender.org/index.php/Dev:Ref/GSoC.1.html
http://tkeskita.kapsi.fi/temp/en.blender.org/index.php/Dev:Source/Development/Projects.1.html
This important as it actually breaks links. Do the links really need the .html at the end?

I also got this weird thing:
Last link on http://tkeskita.kapsi.fi/temp/en.blender.org/index.php/Dev:Ref/GSoC.1.html
has /2006 and it shouldn't (also on the navtree)
http://tkeskita.kapsi.fi/temp/en.blender.org/index.php/Dev:Ref/GoogleSummerOfCode/2016/Students.html

I see the point of the regexes :) I would go for replacing them instead of removing, though! Meanwhile, I notice that some links have numbers on them: http://tkeskita.kapsi.fi/temp/en.blender.org/index.php/Dev:Ref/GSoC.1.html http://tkeskita.kapsi.fi/temp/en.blender.org/index.php/Dev:Source/Development/Projects.1.html This important as it actually breaks links. Do the links really need the .html at the end? I also got this weird thing: Last link on http://tkeskita.kapsi.fi/temp/en.blender.org/index.php/Dev:Ref/GSoC.1.html has /2006 and it shouldn't (also on the navtree) http://tkeskita.kapsi.fi/temp/en.blender.org/index.php/Dev:Ref/GoogleSummerOfCode/2016/Students.html

@brita :

Meanwhile, I notice that some links have numbers on them:

Hmm.. Looks like wget adds a number to filename, and also ".html" to the end, when it reads URL ending in "/" (a directory, it seems to assume). Internally no links should be broken, but I guess you mean that when you replace just the host part in the old URL to new static base path you get a broken link? So you would want a rewrite/redirection rule to work on converting old URLs to static wiki pages?

@brita : > Meanwhile, I notice that some links have numbers on them: Hmm.. Looks like wget adds a number to filename, and also ".html" to the end, when it reads URL ending in "/" (a directory, it seems to assume). Internally no links should be broken, but I guess you mean that when you replace just the host part in the old URL to new static base path you get a broken link? So you would want a rewrite/redirection rule to work on converting old URLs to static wiki pages?

OK, this has been one perl of a weekend. X-|

I've now updated the second version of static old wiki pages to http:*tkeskita.kapsi.fi/temp/en.blender.org/ including wishes by @brita for page top warnings (different for manual and other pages). I think that I managed to solve this ".1.html" issue by creating index.html from that file, so you can access pages like http:*tkeskita.kapsi.fi/temp/en.blender.org/index.php/Dev:Ref/GoogleSummerOfCode so it should be possible to use rewrite/redirection rules to map pages to archive location. Can you find something still wrong?

Here is the updated script which is fast becoming very scary looking.

(updated 2018-12-05)

  %%%
# Clean-up string replacements for old Blender wiki (en.blender.org) after running wget
  
# This removes possibly multiline <a href> links to https://en.blender.org but leaves the text intact
  find . -type f -regex ".*\.html$" -exec perl -i -pe 'BEGIN{undef $/;} s/\<a\ href=\"https\:\/\/en\.blender\.org.*?\>(.*?)\<\/a\>/$1/smg' {} \;
# This removes <script> clauses that include string en.blender.org
  find . -type f -regex ".*\.html$" -exec perl -i -pe 's/\<(\w+?)\s.*?https\:\/\/en\.blender\.org.*?\<\/\w+\>/\<\!--_removed_site_clause_--\>/smg' {} \;
# This removes <link> clauses that include string en.blender.org
  find . -type f -regex ".*\.html$" -exec perl -i -pe 's/\<.*?https\:\/\/en\.blender\.org.*?\>/\<\!--_removed_link_clause_--\>/smg' {} \;
  
# This monster replaces NiceTip section in manual pages with a simple archival warning. This also changes "<!-- START content -->" so that next replacement does not process these pages twice
  find . -type f -regex ".*\.html$" -exec perl -i -pe 'BEGIN{undef $/;} s/\<\!--\ START\ content\ --\>\s*\<div\>\<table\ class\=\"NiceTip\"\>.*?IMPORTANT\!\ Do\ not\ update\ this\ page\!.*?documentation\ project.*?\<\/div\>/\<\!--_START_manual_page_content_--\>\<div style\=\"padding\:15px\;color\:red\;font-size\:22px\;\"\>\<center\>Warning\: This wiki has been archived. The Blender User Manual has moved to \<a href\=\"http\:\/\/www\.blender\.org\/manual\"\>a new location\<\/a\>\.\<\/center\>\<\/div\>/smg' {} \;
  
# Then non-manual related pages: This adds different warning about wiki having been archived after "<!-- START content -->" and changes "<!-- START content -->"
  find . -type f -regex ".*\.html$" -exec perl -i -pe 's/\<\!--\ START\ content\ --\>/\<\!--_START_content_modified_--\>\<div style\=\"padding\:15px\;color\:red\;font-size\:22px\;\"\>\<center\>Warning\: This wiki has been archived. The Blender Developer Wiki has moved to \<a href\=\"https\:\/\/wiki\.blender\.org\"\>a new location\<\/a\>\.\<\/center\>\<\/div\>/' {} \;
  
# Change URLs in css files, replace blender_wiki_archive_css_path with correct css root path
  find . -type f -regex ".*\.css$" -exec perl -i -pe 's/en\.blender\.org/blender_wiki_archive_css_path/smg' {} \;
  
# Convert all remaining mentions of en.blender.org to old_blender_wiki_url
  find . -type f -exec perl -i -pe 's/https\:\/\/en\.blender\.org/old_blender_wiki_url/smg' {} \;
  
# 270-cleanup for css files: Rename x.css?270.css to x.css
  mv skins/blender/main.css?270.css skins/blender/main.css
  mv skins/blender/niftyCorners.css?270.css skins/blender/niftyCorners.css
  mv skins/naiad/main.css?270.css skins/naiad/main.css
  mv skins/common/commonPrint.css?270.css skins/common/commonPrint.css
  mv skins/common/shared.css?270.css skins/common/shared.css
  mv skins/monobook/main.css?270.css skins/monobook/main.css
# Remove "?270.css" from "x.css?270.css" in html files
  find . -type f -regex ".*\.html$" -exec perl -i -pe 's/\%3F270\.css//smg' {} \;
  
# 270-cleanup for js files: Rename x.js?270 to x.js
  mv skins/common/metadata.js?270 skins/common/metadata.js
  mv skins/common/wikibits.js?270 skins/common/wikibits.js
  mv skins/common/history.js?270 skins/common/history.js
  mv skins/common/edit.js?270 skins/common/edit.js
  mv skins/common/ajax.js?270 skins/common/ajax.js
  mv skins/common/rightclickedit.js?270 skins/common/rightclickedit.js
  mv skins/common/mwsuggest.js?270 skins/common/mwsuggest.js
# Remove "?270" from "x.js?270"
  find . -type f -regex ".*\.html$" -exec perl -i -pe 's/\.js\%3F270/\.js/smg' {} \;
  
# Copy index.php.html to index.html
  cp index.php.html index.html
# Populate also index.php/index.html to decrease load for requests to /index.php/
  cp index.php/Doc.html index.php/index.html
  
# Create index.html files from "x.1.html" files, and add "../" to all relative href and src paths, and finally also to beginning of css style @import clause 
  for f in `find . -type f | grep "\.1\.html$"`; do dest=`echo $f | perl -pe 's/(.*)\.1\.html/$1\/index.html/'`; echo "Processing $f --> $dest"; cat "$f" | perl -pe 's/href\=\"((?!(\/|http\:|https\:)).*?)\"/href\=\"..\/$1\"/g' | perl -pe 's/src\=\"((?!(\/|http\:|https\:)).*?)\"/src\=\"..\/$1\"/g' | perl -pe 's/CDATA\[\*\/\ \@import\ \"/CDATA\[\*\/\ \@import\ \"..\//'> "$dest"; done

Create x/index.html from ../x.html files for those directories that do not already have index.html

find . -type d > dirlist.all.txt
cat dirlist.all.txt | perl -pe 's/^./uploads.\n' | perl -pe 's/^./skins.\n' > dirlist.txt
for f in cat dirlist.txt; do

if [ ! -f "$f/index.html" ]; then 
  bname=`basename $f`;
  if [ -f "$f/../$bname.html" ]; then 
    echo "Processing $f/../$bname.html --> $f/index.html"; 
    cat "$f/../$bname.html" | perl -pe 's/href\=\"((?!(\/|http\:|https\:)).*?)\"/href\=\"..\/$1\"/g' | perl -pe 's/src\=\"((?!(\/|http\:|https\:)).*?)\"/src\=\"..\/$1\"/g' | perl -pe 's/CDATA\[\*\/\ \@import\ \"/CDATA\[\*\/\ \@import\ \"..\//'> "$f/index.html"; 
  else 
    echo "NO MAP FILE FOR $f"; 
  fi; 
else 
  echo "EXISTS ALREADY, skipping: $f/index.html"; 
fi; 

done;

Create web list of all html pages (excluding "&action=" pages)

find . -type f -regex "..html$" > pagelist.all.txt
egrep -v "&action=" < pagelist.all.txt > pagelist.txt
cat pagelist.txt | perl -pe 's/%/%25/g' | perl -pe 's/?/%3F/g' | perl -pe 's/:/%3A/g' | perl -pe 'print $. + " "; s/^(.
)$/<a href="$1">$1</a><br>/g' > pagelist.html

Create web list of all directory pages (except /uploads and /skins)

find . -type d > dirlist.all.txt
cat dirlist.all.txt | perl -pe 's/^./uploads.\n' | perl -pe 's/^./skins.\n' > dirlist.txt
rm -f dirlist.html
for f in cat dirlist.txt; do

if [ ! -f "$f/index.html" ]; then 
  echo $f | perl -pe 's/\%/\%25/g' | perl -pe 's/\?/\%3F/g' | perl -pe 's/\:/\%3A/g' | perl -pe 's/^(.*)$/\<a href\=\"$1\"\>$1\<\/a\>\ -\ no\ index\.html\<br\>/g' >> dirlist.html; 
else 
  echo $f | perl -pe 's/\%/\%25/g' | perl -pe 's/\?/\%3F/g' | perl -pe 's/\:/\%3A/g' | perl -pe 's/^(.*)$/\<a href\=\"$1\"\>$1\<\/a\>\<br\>/g' >> dirlist.html;
fi

done
%%%

OK, this has been one perl of a weekend. X-| I've now updated the second version of static old wiki pages to http:*tkeskita.kapsi.fi/temp/en.blender.org/ including wishes by @brita for page top warnings (different for manual and other pages). I think that I managed to solve this ".1.html" issue by creating index.html from that file, so you can access pages like http:*tkeskita.kapsi.fi/temp/en.blender.org/index.php/Dev:Ref/GoogleSummerOfCode so it should be possible to use rewrite/redirection rules to map pages to archive location. Can you find something still wrong? Here is the updated script which is fast becoming very scary looking. (updated 2018-12-05) ``` %%% ``` # Clean-up string replacements for old Blender wiki (en.blender.org) after running wget ``` ``` # This removes possibly multiline <a href> links to https://en.blender.org but leaves the text intact ``` find . -type f -regex ".*\.html$" -exec perl -i -pe 'BEGIN{undef $/;} s/\<a\ href=\"https\:\/\/en\.blender\.org.*?\>(.*?)\<\/a\>/$1/smg' {} \; ``` # This removes <script> clauses that include string en.blender.org ``` find . -type f -regex ".*\.html$" -exec perl -i -pe 's/\<(\w+?)\s.*?https\:\/\/en\.blender\.org.*?\<\/\w+\>/\<\!--_removed_site_clause_--\>/smg' {} \; ``` # This removes <link> clauses that include string en.blender.org ``` find . -type f -regex ".*\.html$" -exec perl -i -pe 's/\<.*?https\:\/\/en\.blender\.org.*?\>/\<\!--_removed_link_clause_--\>/smg' {} \; ``` # This monster replaces NiceTip section in manual pages with a simple archival warning. This also changes "<!-- START content -->" so that next replacement does not process these pages twice ``` find . -type f -regex ".*\.html$" -exec perl -i -pe 'BEGIN{undef $/;} s/\<\!--\ START\ content\ --\>\s*\<div\>\<table\ class\=\"NiceTip\"\>.*?IMPORTANT\!\ Do\ not\ update\ this\ page\!.*?documentation\ project.*?\<\/div\>/\<\!--_START_manual_page_content_--\>\<div style\=\"padding\:15px\;color\:red\;font-size\:22px\;\"\>\<center\>Warning\: This wiki has been archived. The Blender User Manual has moved to \<a href\=\"http\:\/\/www\.blender\.org\/manual\"\>a new location\<\/a\>\.\<\/center\>\<\/div\>/smg' {} \; ``` # Then non-manual related pages: This adds different warning about wiki having been archived after "<!-- START content -->" and changes "<!-- START content -->" ``` find . -type f -regex ".*\.html$" -exec perl -i -pe 's/\<\!--\ START\ content\ --\>/\<\!--_START_content_modified_--\>\<div style\=\"padding\:15px\;color\:red\;font-size\:22px\;\"\>\<center\>Warning\: This wiki has been archived. The Blender Developer Wiki has moved to \<a href\=\"https\:\/\/wiki\.blender\.org\"\>a new location\<\/a\>\.\<\/center\>\<\/div\>/' {} \; ``` # Change URLs in css files, replace blender_wiki_archive_css_path with correct css root path ``` find . -type f -regex ".*\.css$" -exec perl -i -pe 's/en\.blender\.org/blender_wiki_archive_css_path/smg' {} \; ``` # Convert all remaining mentions of en.blender.org to old_blender_wiki_url ``` find . -type f -exec perl -i -pe 's/https\:\/\/en\.blender\.org/old_blender_wiki_url/smg' {} \; ``` # 270-cleanup for css files: Rename x.css?270.css to x.css ``` mv skins/blender/main.css?270.css skins/blender/main.css mv skins/blender/niftyCorners.css?270.css skins/blender/niftyCorners.css mv skins/naiad/main.css?270.css skins/naiad/main.css mv skins/common/commonPrint.css?270.css skins/common/commonPrint.css mv skins/common/shared.css?270.css skins/common/shared.css mv skins/monobook/main.css?270.css skins/monobook/main.css ``` # Remove "?270.css" from "x.css?270.css" in html files ``` find . -type f -regex ".*\.html$" -exec perl -i -pe 's/\%3F270\.css//smg' {} \; ``` # 270-cleanup for js files: Rename x.js?270 to x.js ``` mv skins/common/metadata.js?270 skins/common/metadata.js mv skins/common/wikibits.js?270 skins/common/wikibits.js mv skins/common/history.js?270 skins/common/history.js mv skins/common/edit.js?270 skins/common/edit.js mv skins/common/ajax.js?270 skins/common/ajax.js mv skins/common/rightclickedit.js?270 skins/common/rightclickedit.js mv skins/common/mwsuggest.js?270 skins/common/mwsuggest.js ``` # Remove "?270" from "x.js?270" ``` find . -type f -regex ".*\.html$" -exec perl -i -pe 's/\.js\%3F270/\.js/smg' {} \; ``` # Copy index.php.html to index.html ``` cp index.php.html index.html ``` # Populate also index.php/index.html to decrease load for requests to /index.php/ ``` cp index.php/Doc.html index.php/index.html ``` # Create index.html files from "x.1.html" files, and add "../" to all relative href and src paths, and finally also to beginning of css style @import clause ``` for f in `find . -type f | grep "\.1\.html$"`; do dest=`echo $f | perl -pe 's/(.*)\.1\.html/$1\/index.html/'`; echo "Processing $f --> $dest"; cat "$f" | perl -pe 's/href\=\"((?!(\/|http\:|https\:)).*?)\"/href\=\"..\/$1\"/g' | perl -pe 's/src\=\"((?!(\/|http\:|https\:)).*?)\"/src\=\"..\/$1\"/g' | perl -pe 's/CDATA\[\*\/\ \@import\ \"/CDATA\[\*\/\ \@import\ \"..\//'> "$dest"; done ``` # Create x/index.html from ../x.html files for those directories that do not already have index.html find . -type d > dirlist.all.txt cat dirlist.all.txt | perl -pe 's/^\.\/uploads.*\n*' | perl -pe 's/^\.\/skins.*\n*' > dirlist.txt for f in `cat dirlist.txt`; do ``` if [ ! -f "$f/index.html" ]; then bname=`basename $f`; if [ -f "$f/../$bname.html" ]; then echo "Processing $f/../$bname.html --> $f/index.html"; cat "$f/../$bname.html" | perl -pe 's/href\=\"((?!(\/|http\:|https\:)).*?)\"/href\=\"..\/$1\"/g' | perl -pe 's/src\=\"((?!(\/|http\:|https\:)).*?)\"/src\=\"..\/$1\"/g' | perl -pe 's/CDATA\[\*\/\ \@import\ \"/CDATA\[\*\/\ \@import\ \"..\//'> "$f/index.html"; else echo "NO MAP FILE FOR $f"; fi; else echo "EXISTS ALREADY, skipping: $f/index.html"; fi; ``` done; # Create web list of all html pages (excluding "&action=" pages) find . -type f -regex ".*\.html$" > pagelist.all.txt egrep -v "\&action\=" < pagelist.all.txt > pagelist.txt cat pagelist.txt | perl -pe 's/\%/\%25/g' | perl -pe 's/\?/\%3F/g' | perl -pe 's/\:/\%3A/g' | perl -pe 'print $. + " "; s/^(.*)$/\<a href\=\"$1\"\>$1\<\/a\>\<br\>/g' > pagelist.html # Create web list of all directory pages (except /uploads and /skins) find . -type d > dirlist.all.txt cat dirlist.all.txt | perl -pe 's/^\.\/uploads.*\n*' | perl -pe 's/^\.\/skins.*\n*' > dirlist.txt rm -f dirlist.html for f in `cat dirlist.txt`; do ``` if [ ! -f "$f/index.html" ]; then echo $f | perl -pe 's/\%/\%25/g' | perl -pe 's/\?/\%3F/g' | perl -pe 's/\:/\%3A/g' | perl -pe 's/^(.*)$/\<a href\=\"$1\"\>$1\<\/a\>\ -\ no\ index\.html\<br\>/g' >> dirlist.html; else echo $f | perl -pe 's/\%/\%25/g' | perl -pe 's/\?/\%3F/g' | perl -pe 's/\:/\%3A/g' | perl -pe 's/^(.*)$/\<a href\=\"$1\"\>$1\<\/a\>\<br\>/g' >> dirlist.html; fi ``` done %%%
Member

And you wonder why I never wanted to open up this can of worms ;)

I wonder though, since you seem to be so interested in converting the site, why you don't just import the wiki dump files that I put online into your own MediaWiki installation, and then code up a php file to invoke the MediaWiki parsing routines, or something similar, so that you end up with simple pages. I mean, you are putting all of this time into parsing out the CSS anyway.

Anyway, just a thought, in case you weren't aware the page dump was available (technically, the SQL can be made available after some sensitisation, if needed).

And you wonder why I never wanted to open up this can of worms ;) I wonder though, since you seem to be so interested in converting the site, why you don't just import the wiki dump files that I put online into your own MediaWiki installation, and then code up a php file to invoke the MediaWiki parsing routines, or something similar, so that you end up with simple pages. I mean, you are putting all of this time into parsing out the CSS anyway. Anyway, just a thought, in case you weren't aware the page dump was available (technically, the SQL can be made available after some sensitisation, if needed).

I tried the mediawiki page dump, after working through a bunch of failures and no end in sight I gave up. Since we're so close to getting it working this way there's no point anyway.

I tried the mediawiki page dump, after working through a bunch of failures and no end in sight I gave up. Since we're so close to getting it working this way there's no point anyway.
Member

I am very very happy that someone was willing to open the can of worms, since it needed to be done. Thanks @TuomoKeskitalo !

My issues with the .1 is exactly that it doesn't allow me to simply replace the domain part, as the .1 may or may not exist. If the .html always exists, that's ok though.
Example usage "See if it exists in the Wiki Archive" in https://wiki.blender.org/wiki/A_Very_Special_Page

I'll let you know if I find more problems! (in a quick skim I only see the missing icons in the navtree)

I am very very happy that someone was willing to open the can of worms, since it needed to be done. Thanks @TuomoKeskitalo ! My issues with the .1 is exactly that it doesn't allow me to simply replace the domain part, as the .1 may or may not exist. If the .html always exists, that's ok though. Example usage "See if it exists in the Wiki Archive" in https://wiki.blender.org/wiki/A_Very_Special_Page I'll let you know if I find more problems! (in a quick skim I only see the missing icons in the navtree)
Member

In #48096#565895, @brecht wrote:
I tried the mediawiki page dump, after working through a bunch of failures and no end in sight I gave up. Since we're so close to getting it working this way there's no point anyway.

Oh for sure. And there will always be the DB and page dump archive for some future civilisation that wants to reconstruct the wiki :D I keep such archives around in the file system as long as I can help it. I still have the old bug tracker around here somewhere blows dust off some boxes.

Anyway, poke if there is anything needed server side! Good job so far! o/

> In #48096#565895, @brecht wrote: > I tried the mediawiki page dump, after working through a bunch of failures and no end in sight I gave up. Since we're so close to getting it working this way there's no point anyway. Oh for sure. And there will always be the DB and page dump archive for some future civilisation that wants to reconstruct the wiki :D I keep such archives around in the file system as long as I can help it. I still have the old bug tracker around here somewhere *blows dust off some boxes*. Anyway, poke if there is anything needed server side! Good job so far! o/

Thanks everyone, it is nice and motivating to know that your work is being appreciated! :)

I noticed that after the .1.html conversion there were still many directories without index.html. I generated index.html for those whose basename.html file could be found in the parent directory, now updated to my temporary web location.

I also generated lists, which may help searching from page names:

Some page names contain special characters, which are not converted correctly (broken link).

I'll update the script in the previous comment according to current process.

Thanks everyone, it is nice and motivating to know that your work is being appreciated! :) I noticed that after the .1.html conversion there were still many directories without index.html. I generated index.html for those whose basename.html file could be found in the parent directory, now updated to my temporary web location. I also generated lists, which may help searching from page names: - directories (8 073 pcs) in the static wiki: [text file ]] and [[ http:*tkeskita.kapsi.fi/temp/en.blender.org/dirlist.html | html page ](http:*tkeskita.kapsi.fi/temp/en.blender.org/dirlist.txt). Note: list excludes /uploads and /skins. Also the HTML page list additionally indicates if directory contains no index.html. - html files (61 100 pcs) in the static wiki: [text file ]] and [[ http:*tkeskita.kapsi.fi/temp/en.blender.org/pagelist.html | html page ](http:*tkeskita.kapsi.fi/temp/en.blender.org/pagelist.txt). Note: These don't include edit or history pages. Every html file included the total is 167 290 (9,9 GB of disk space, says du). Some page names contain special characters, which are not converted correctly (broken link). I'll update the script in the previous comment according to current process.

Icons should be under /extensions/BlenderTreeAndMenu/img/

wget did not populate that directory, and when I try to access https://en.blender.org/extensions/BlenderTreeAndMenu/img/ I get 403 Forbidden..? @dmcgrath ?

@brita:
I also got this weird thing:
Last link on http://tkeskita.kapsi.fi/temp/en.blender.org/index.php/Dev:Ref/GSoC.1.html
has /2006 and it shouldn't (also on the navtree)
http://tkeskita.kapsi.fi/temp/en.blender.org/index.php/Dev:Ref/GoogleSummerOfCode/2016/Students.html

I'm sorry I don't follow, can you please clarify?

> Icons should be under /extensions/BlenderTreeAndMenu/img/ wget did not populate that directory, and when I try to access https://en.blender.org/extensions/BlenderTreeAndMenu/img/ I get 403 Forbidden..? @dmcgrath ? >@brita: >I also got this weird thing: >Last link on http://tkeskita.kapsi.fi/temp/en.blender.org/index.php/Dev:Ref/GSoC.1.html >has /2006 and it shouldn't (also on the navtree) >http://tkeskita.kapsi.fi/temp/en.blender.org/index.php/Dev:Ref/GoogleSummerOfCode/2016/Students.html I'm sorry I don't follow, can you please clarify?
Member

In #48096#570635, @TuomoKeskitalo wrote:

Icons should be under /extensions/BlenderTreeAndMenu/img/

wget did not populate that directory, and when I try to access https://en.blender.org/extensions/BlenderTreeAndMenu/img/ I get 403 Forbidden..? @dmcgrath ?

I turned indexing on for that directory, for you. Try again.

In general, if something is not linked from anywhere I the site, you probably don't need to worry too much about it. Besides, that's the directory where we keep all of the secret blender documents! ;)

> In #48096#570635, @TuomoKeskitalo wrote: >> Icons should be under /extensions/BlenderTreeAndMenu/img/ > > wget did not populate that directory, and when I try to access https://en.blender.org/extensions/BlenderTreeAndMenu/img/ I get 403 Forbidden..? @dmcgrath ? I turned indexing on for that directory, for you. Try again. In general, if something is not linked from anywhere I the site, you probably don't need to worry too much about it. Besides, that's the directory where we keep all of the secret blender documents! ;)

Thanks, I got the icons and put them to both to /extensions/TreeAndMenu/img and /extensions/BlenderTreeAndMenu/img but the navtree on left still does not show them. This is now going over my web skills. Maybe this is caused by my removal of these lines (below) in the source. If somebody knows about this, please suggest replacement strings.

%%%

%%%
Thanks, I got the icons and put them to both to /extensions/TreeAndMenu/img and /extensions/BlenderTreeAndMenu/img but the navtree on left still does not show them. This is now going over my web skills. Maybe this is caused by my removal of these lines (below) in the source. If somebody knows about this, please suggest replacement strings. %%% <script type="text/javascript" src="/index.php?title=-&amp;action=raw&amp;gen=js&amp;useskin=naiad"><!-- site js --></script> <link rel="stylesheet" type="text/css" href="/index.php?title=MediaWiki:Common.css&amp;action=raw&amp;ctype=text/css&amp;smaxage=18000"/> <link rel="stylesheet" type="text/css" href="/index.php?title=MediaWiki:Naiad.css&amp;action=raw&amp;ctype=text/css&amp;smaxage=18000"/> %%%
Member

@brita:
I also got this weird thing:
Last link on http://tkeskita.kapsi.fi/temp/en.blender.org/index.php/Dev:Ref/GSoC.1.html
has /2006 and it shouldn't (also on the navtree)
http://tkeskita.kapsi.fi/temp/en.blender.org/index.php/Dev:Ref/GoogleSummerOfCode/2016/Students.html

I'm sorry I don't follow, can you please clarify?

If you go to http:*tkeskita.kapsi.fi/temp/en.blender.org/index.php/Dev:Ref/GSoC.1.html and check the very last link 'Getting Started' it doesn't match the target of the same link on https:*en.blender.org/index.php/Dev:Ref/GoogleSummerOfCode
I can see that the target page https://en.blender.org/index.php/Dev:Ref/GoogleSummerOfCode/Getting_Started was moved. Maybe that is what is causing the issue.

Icons
I don't see why you'd remove the naiad css or javascript. I'd add those 3 lines back and everything should be fine :)

>>@brita: >>I also got this weird thing: >>Last link on http://tkeskita.kapsi.fi/temp/en.blender.org/index.php/Dev:Ref/GSoC.1.html >>has /2006 and it shouldn't (also on the navtree) >>http://tkeskita.kapsi.fi/temp/en.blender.org/index.php/Dev:Ref/GoogleSummerOfCode/2016/Students.html > > I'm sorry I don't follow, can you please clarify? If you go to http:*tkeskita.kapsi.fi/temp/en.blender.org/index.php/Dev:Ref/GSoC.1.html and check the very last link 'Getting Started' it doesn't match the target of the same link on https:*en.blender.org/index.php/Dev:Ref/GoogleSummerOfCode I can see that the target page https://en.blender.org/index.php/Dev:Ref/GoogleSummerOfCode/Getting_Started was moved. Maybe that is what is causing the issue. **Icons** I don't see why you'd remove the naiad css or javascript. I'd add those 3 lines back and everything should be fine :)

Hi @brita,

If you go to http:*tkeskita.kapsi.fi/temp/en.blender.org/index.php/Dev:Ref/GSoC.1.html and check the very last link 'Getting Started' it doesn't match the target of the same link on https:*en.blender.org/index.php/Dev:Ref/GoogleSummerOfCode
I can see that the target page https://en.blender.org/index.php/Dev:Ref/GoogleSummerOfCode/Getting_Started was moved. Maybe that is what is causing the issue.

Thanks for clarification. The reason why wget has changed the target is that the page https:*en.blender.org/index.php/Dev:Ref/GoogleSummerOfCode/2016/Students for some reason redirects to https:*en.blender.org/index.php/Dev:Ref/GoogleSummerOfCode/Getting_Started . Wget has logically merged these two targets, and therefore http://tkeskita.kapsi.fi/temp/en.blender.org/index.php/Dev:Ref/GoogleSummerOfCode/Getting_Started does not exist. Unfortunately I can't think of any easy way to find out these. @brecht or @dmcgrath : Is it possible to get only redirections out of mediawiki dumps? Otherwise this is impossible to fix except manually whenever a missing target is found.

I don't see why you'd remove the naiad css or javascript. I'd add those 3 lines back and everything should be fine :)

Because the static wiki pages has no MediaWiki php. Wget did not convert those three URLs that contain index.php strings into anything. I need to have something as a text file I can point to in those src and href strings.

Hi @brita, > If you go to http:*tkeskita.kapsi.fi/temp/en.blender.org/index.php/Dev:Ref/GSoC.1.html and check the very last link 'Getting Started' it doesn't match the target of the same link on https:*en.blender.org/index.php/Dev:Ref/GoogleSummerOfCode > I can see that the target page https://en.blender.org/index.php/Dev:Ref/GoogleSummerOfCode/Getting_Started was moved. Maybe that is what is causing the issue. Thanks for clarification. The reason why wget has changed the target is that the page https:*en.blender.org/index.php/Dev:Ref/GoogleSummerOfCode/2016/Students for some reason redirects to https:*en.blender.org/index.php/Dev:Ref/GoogleSummerOfCode/Getting_Started . Wget has logically merged these two targets, and therefore http://tkeskita.kapsi.fi/temp/en.blender.org/index.php/Dev:Ref/GoogleSummerOfCode/Getting_Started does not exist. Unfortunately I can't think of any easy way to find out these. @brecht or @dmcgrath : Is it possible to get only redirections out of mediawiki dumps? Otherwise this is impossible to fix except manually whenever a missing target is found. > I don't see why you'd remove the naiad css or javascript. I'd add those 3 lines back and everything should be fine :) Because the static wiki pages has no MediaWiki php. Wget did not convert those three URLs that contain index.php strings into anything. I need to have something as a text file I can point to in those src and href strings.

The icon problem does not seem to be related to those three removed lines I mention in #48096#571067:

The "&" in those three URLs seem to break the links, and when replaced with "&" I now got what they actually return: The first one is the only one which actually returns something:

var skin = 'naiad';
var stylepath = '/skins';

I added those two lines to end of /skins/common/wikibits.js, which should be loaded just before that script line.

Unfortunately it does not fix this missing icon issue. Anyone with javascript skills who could help? Or we can just make do without the navtree working perfectly in the static wiki archive.

The icon problem does not seem to be related to those three removed lines I mention in #48096#571067: The "&amp;" in those three URLs seem to break the links, and when replaced with "&" I now got what they actually return: The first one is the only one which actually returns something: var skin = 'naiad'; var stylepath = '/skins'; I added those two lines to end of /skins/common/wikibits.js, which should be loaded just before that script line. Unfortunately it does not fix this missing icon issue. Anyone with javascript skills who could help? Or we can just make do without the navtree working perfectly in the static wiki archive.

Hi Tuomo. First off, great work with the wiki baking. Thank you for your help with this!

Regarding the missing icons, currently they are referred to as :

<img id="jtamsiteTree1" src="/extensions/BlenderTreeAndMenu/img/plus.gif" alt="">

Which means that they are expected to be in at the root of http://tkeskita.kapsi.fi.
Currently they are at http://tkeskita.kapsi.fi/temp/en.blender.org/.

Since the plan is to move the baked wiki to https://archive.blender.org/wiki, this problem will persist. I would recommend to perform a search and replace on /extensions/BlenderTreeAndMenu/img/ and turn it into /wiki/extensions/BlenderTreeAndMenu/img/. That should solve the issue when the site is moved in the proper place.

Hi Tuomo. First off, great work with the wiki baking. Thank you for your help with this! Regarding the missing icons, currently they are referred to as : `<img id="jtamsiteTree1" src="/extensions/BlenderTreeAndMenu/img/plus.gif" alt="">` Which means that they are expected to be in at the root of http://tkeskita.kapsi.fi. Currently they are at http://tkeskita.kapsi.fi/temp/en.blender.org/. Since the plan is to move the baked wiki to https://archive.blender.org/wiki, this problem will persist. I would recommend to perform a search and replace on `/extensions/BlenderTreeAndMenu/img/` and turn it into `/wiki/extensions/BlenderTreeAndMenu/img/`. That should solve the issue when the site is moved in the proper place.

@fsiddi : Thanks, I'll do that! I briefly tested that it indeed seems to fix the icon issue.

So the biggest issue still standing is the missing of some redirected directories. @dmcgrath : Where is this mediawiki xml dump? I could maybe take a look at it. Thanks!

@fsiddi : Thanks, I'll do that! I briefly tested that it indeed seems to fix the icon issue. So the biggest issue still standing is the missing of some redirected directories. @dmcgrath : Where is this mediawiki xml dump? I could maybe take a look at it. Thanks!
Member

In #48096#575588, @TuomoKeskitalo wrote:
@fsiddi : Thanks, I'll do that! I briefly tested that it indeed seems to fix the icon issue.

So the biggest issue still standing is the missing of some redirected directories. @dmcgrath : Where is this mediawiki xml dump? I could maybe take a look at it. Thanks!

A few comments above in those 50 page long thread :)

https://developer.blender.org/T48096#522847

> In #48096#575588, @TuomoKeskitalo wrote: > @fsiddi : Thanks, I'll do that! I briefly tested that it indeed seems to fix the icon issue. > > So the biggest issue still standing is the missing of some redirected directories. @dmcgrath : Where is this mediawiki xml dump? I could maybe take a look at it. Thanks! A few comments above in those 50 page long thread :) https://developer.blender.org/T48096#522847

Thanks, found em! There was a file which seems to list each page and links from it to other pages, which I hope I can use. Currently it looks mildly painful though, some relative path acrobatics is needed..

Thanks, found em! There was a file which seems to list each page and links from it to other pages, which I hope I can use. Currently it looks mildly painful though, some relative path acrobatics is needed..

Uh oh, there are some lonesome island pages in the old wiki which are never linked to --> recursive wget did not find them. I need to do new retrieval with this pagelist. Maybe no need for acrobatics.. but this will take time.

Uh oh, there are some lonesome island pages in the old wiki which are never linked to --> recursive wget did not find them. I need to do new retrieval with this pagelist. Maybe no need for acrobatics.. but this will take time.

Does the wiki log whenever someone tries to visit a missing page? That would be a good way to identify broken links.

Does the wiki log whenever someone tries to visit a missing page? That would be a good way to identify broken links.

@brhumphe I don't know about mediawiki, but at least www server logs errors. Good idea to use those to make the final check, when I get there!

My current idea is to make a new retrieval with wget, but instead of trying to use recursive retrieval from root, I'll retrieve each page listed in current.dump.xml separately along with it's talk, history and edit pages. Then do similar parsing of URLs as before and see how many broken links I end up with and try to fix those. Hopefully I end up with a complete replica of the old wiki. Continuing with tests, gonna take a while.

@brhumphe I don't know about mediawiki, but at least www server logs errors. Good idea to use those to make the final check, when I get there! My current idea is to make a new retrieval with wget, but instead of trying to use recursive retrieval from root, I'll retrieve each page listed in [current.dump.xml ](https://download.blender.org/oldwiki/oldwiki.current.dump.xml.bz2) separately along with it's talk, history and edit pages. Then do similar parsing of URLs as before and see how many broken links I end up with and try to fix those. Hopefully I end up with a complete replica of the old wiki. Continuing with tests, gonna take a while.
Member

In #48096#577069, @brhumphe wrote:
Does the wiki log whenever someone tries to visit a missing page? That would be a good way to identify broken links.

In does indeed. I have attached a log of the 404's from December 2018 for you. Note that they also contain junk; filter as needed.
404.log.bz2

> In #48096#577069, @brhumphe wrote: > Does the wiki log whenever someone tries to visit a missing page? That would be a good way to identify broken links. In does indeed. I have attached a log of the 404's from December 2018 for you. Note that they also contain junk; filter as needed. [404.log.bz2](https://archive.blender.org/developer/F5973246/404.log.bz2)

Hi,

  1. The old wiki contains deleted pages, such as [this ]], which redirects to [[ https:*en.blender.org/index.php/Org:Foundation/Bf-education/Basic_Course/English | here ](https:*en.blender.org/index.php/Basic Blender Course English) which is deleted. wget does not want to download such pages. Is it OK to leave these pages out, or should I try to find some way to get also them in? My script is collecting a list of these failed pages, let's see how long it gets.
  2. The old wiki contains pages with non-ascii characters in their page names, which at least my ext4 filesystem does not like to use correctly as directory name, such as [this ]]. I'm gonna convert all special characters in page names into %XX hexadecimal representation, using wget option --restrict-file-names=ascii. That way the pages will at least be downloaded, but I think they will not be found if you just try to access the static wiki like https:*archive.blender.org/wiki/index.php/راهنمای کاربری , instead they would be accessible like [[ https://archive.blender.org/wiki/index.php/%25D8%25B1%25D8%25A7%25D9%2587%25D9%2586%25D9%2585%25D8%25A7%25DB%258C %25DA%25A9%25D8%25A7%25D8%25B1%25D8%25A8%25D8%25B1%25DB%258C | this ](https:*en.blender.org/index.php/راهنمای کاربری) which makes it impossible to read. This affects only the page name, the page contents is still intact. Is this compromise acceptable? This affects only non-english pages.
  3. Just realized that the static wiki URL for "Page" would be "https://archive.blender.org/wiki/index.php/Page, so the base path is /wiki/index.php and not just /wiki. Is that OK?
  4. @dmcgrath : My script has stopped running a few times, wget says "Unable to establish SSL connection." When I try to continue, the page is loaded without errors. Any ideas what is causing this? I'm not choking the server, am I?
Hi, 1. The old wiki contains deleted pages, such as [this ]], which redirects to [[ https:*en.blender.org/index.php/Org:Foundation/Bf-education/Basic_Course/English | here ](https:*en.blender.org/index.php/Basic Blender Course English) which is deleted. wget does not want to download such pages. Is it OK to leave these pages out, or should I try to find some way to get also them in? My script is collecting a list of these failed pages, let's see how long it gets. 2. The old wiki contains pages with non-ascii characters in their page names, which at least my ext4 filesystem does not like to use correctly as directory name, such as [this ]]. I'm gonna convert all special characters in page names into %XX hexadecimal representation, using wget option --restrict-file-names=ascii. That way the pages will at least be downloaded, but I think they will not be found if you just try to access the static wiki like [[ https:*archive.blender.org/wiki/index.php/راهنمای کاربری | this ]], instead they would be accessible like [[ https://archive.blender.org/wiki/index.php/%25D8%25B1%25D8%25A7%25D9%2587%25D9%2586%25D9%2585%25D8%25A7%25DB%258C %25DA%25A9%25D8%25A7%25D8%25B1%25D8%25A8%25D8%25B1%25DB%258C | this ](https:*en.blender.org/index.php/راهنمای کاربری) which makes it impossible to read. This affects only the page name, the page contents is still intact. Is this compromise acceptable? This affects only non-english pages. 3. Just realized that the static wiki URL for "Page" would be "https://archive.blender.org/wiki/index.php/Page, so the base path is /wiki/index.php and not just /wiki. Is that OK? 4. @dmcgrath : My script has stopped running a few times, wget says "Unable to establish SSL connection." When I try to continue, the page is loaded without errors. Any ideas what is causing this? I'm not choking the server, am I?
Member

In #48096#585634, @TuomoKeskitalo wrote:
4. @dmcgrath : My script has stopped running a few times, wget says "Unable to establish SSL connection." When I try to continue, the page is loaded without errors. Any ideas what is causing this? I'm not choking the server, am I?

There are PF (firewall) related limits that kick in if you make too many connections. It auto lifts after a few minutes, so no worries. I don't think we have anything configured in the Wiki Apache itself atm. If www.b.o is also not working for you, but git.blender.org is, it's a good indicator that you were blocked by the firewall. Try slowing down your crawl, otherwise, don't worry about it.

> In #48096#585634, @TuomoKeskitalo wrote: > 4. @dmcgrath : My script has stopped running a few times, wget says "Unable to establish SSL connection." When I try to continue, the page is loaded without errors. Any ideas what is causing this? I'm not choking the server, am I? There are PF (firewall) related limits that kick in if you make too many connections. It auto lifts after a few minutes, so no worries. I don't think we have anything configured in the Wiki Apache itself atm. If www.b.o is also not working for you, but git.blender.org is, it's a good indicator that you were blocked by the firewall. Try slowing down your crawl, otherwise, don't worry about it.
Member

I was browsing the scraped copy last week, and bumped into a searchbox somewhere, we'd probably have to get rid of those otherwise users will use them and make tickets that it is not working.

I was browsing the scraped copy last week, and bumped into a searchbox somewhere, we'd probably have to get rid of those otherwise users will use them and make tickets that it is not working.

In #48096#585785, @LazyDodo wrote:
I was browsing the scraped copy last week, and bumped into a searchbox somewhere, we'd probably have to get rid of those otherwise users will use them and make tickets that it is not working.

I guess you mean the quick search on lower left corner? Good idea! I'll also remove the "Page" menu from top right and "Wiki" menu from bottom right.

> In #48096#585785, @LazyDodo wrote: > I was browsing the scraped copy last week, and bumped into a searchbox somewhere, we'd probably have to get rid of those otherwise users will use them and make tickets that it is not working. I guess you mean the quick search on lower left corner? Good idea! I'll also remove the "Page" menu from top right and "Wiki" menu from bottom right.

In #48096#585634, @TuomoKeskitalo wrote:

  1. The old wiki contains deleted pages, such as [this ]], which redirects to [[ https:*en.blender.org/index.php/Org:Foundation/Bf-education/Basic_Course/English | here ](https:*en.blender.org/index.php/Basic Blender Course English) which is deleted. wget does not want to download such pages. Is it OK to leave these pages out, or should I try to find some way to get also them in? My script is collecting a list of these failed pages, let's see how long it gets.

Here is list of these failed pages accumulated so far. Retrieval per page is slow, so this will take maybe two more weeks until next version of static pages are ready for inspection.

failed_pages

> In #48096#585634, @TuomoKeskitalo wrote: > 1. The old wiki contains deleted pages, such as [this ]], which redirects to [[ https:*en.blender.org/index.php/Org:Foundation/Bf-education/Basic_Course/English | here ](https:*en.blender.org/index.php/Basic Blender Course English) which is deleted. wget does not want to download such pages. Is it OK to leave these pages out, or should I try to find some way to get also them in? My script is collecting a list of these failed pages, let's see how long it gets. Here is list of these failed pages accumulated so far. Retrieval per page is slow, so this will take maybe two more weeks until next version of static pages are ready for inspection. [failed_pages](https://archive.blender.org/developer/F6025652/failed_pages)
Member

In #48096#586329, @TuomoKeskitalo wrote:

In #48096#585785, @LazyDodo wrote:
I was browsing the scraped copy last week, and bumped into a searchbox somewhere, we'd probably have to get rid of those otherwise users will use them and make tickets that it is not working.

I guess you mean the quick search on lower left corner? Good idea! I'll also remove the "Page" menu from top right and "Wiki" menu from bottom right.

Any History page has a bunch of broken interaction as well.

> In #48096#586329, @TuomoKeskitalo wrote: >> In #48096#585785, @LazyDodo wrote: >> I was browsing the scraped copy last week, and bumped into a searchbox somewhere, we'd probably have to get rid of those otherwise users will use them and make tickets that it is not working. > > I guess you mean the quick search on lower left corner? Good idea! I'll also remove the "Page" menu from top right and "Wiki" menu from bottom right. Any History page has a bunch of broken interaction as well.

I've been wondering about history pages. After pages are static it will not be possible to do comparisons between versions, so you will only see who edited the page last and when. Is it still interesting to save history page? @brita?

If yes, I can strip away the buttons etc. from history pages, too, and leave only the list. Is it enough to save only the first history page which contains max 50 latest edits? Currently my non-recursive script retrieves only first history page.

I've been wondering about history pages. After pages are static it will not be possible to do comparisons between versions, so you will only see who edited the page last and when. Is it still interesting to save history page? @brita? If yes, I can strip away the buttons etc. from history pages, too, and leave only the list. Is it enough to save only the first history page which contains max 50 latest edits? Currently my non-recursive script retrieves only first history page.
Member

I wouldn't worry about saving the full edit history. I'm not sure how you could preserve that without a significant increase to the total size and file count of the wiki archive. It might be helpful to see who the last 50 or 100 people that edited the page are (and maybe the first 50 edits), but if someone needed more info than that they could download the wiki data dump.

I wouldn't worry about saving the full edit history. I'm not sure how you could preserve that without a significant increase to the total size and file count of the wiki archive. It might be helpful to see who the last 50 or 100 people that edited the page are (and maybe the first 50 edits), but if someone needed more info than that they could download the wiki data dump.

Agree, I wouldn't worry too much about fixing every broken link. It's nice if it doesn't take too much time, but for an archived website it's ok if only the basics are functional.

Agree, I wouldn't worry too much about fixing every broken link. It's nice if it doesn't take too much time, but for an archived website it's ok if only the basics are functional.

Ok, new version of archived wiki is available temporarily for review at http://tkeskita.kapsi.fi/temp/en.blender.org/

  • Page list available in [text ]] and [ http:*tkeskita.kapsi.fi/temp/en.blender.org/pagelist.html | html formats. Pages now include also deleted pages and redirections to deleted pages. Page count is 53173 53209 out of 53221, and all page directories listed in the XML dump have index.html, so I think it is now pretty much complete.
  • Includes index.html, edit.html and history.html pages for each wiki page. History page lists date and username of 50 latest edits.
  • Page names may contain underscores instead of spaces, and they should both be found. This was done by creating directory symlinks like "Release_Notes" that point to "Release Notes". Is this OK?
  • All links to en.blender.org in pages have been converted into relative paths, so this can be freely placed in any directory and links should work. Since the whole script size is now 350 lines, the current bash script is attached here (updated version 2019-01-04):
    statify.sh

I fixed a ton of my errors along the way, so I'm pretty sure somewhere there is still something wrong, but I'm now pretty happy with the result. Can anyone still find something wrong?

Update 2019-01-01: Retrieved deleted pages again, fixed statify.sh and whole packet accordingly.

Download link for the whole packet: http://tkeskita.kapsi.fi/temp/en.blender.org.tar.bz2

Update 2019-01-03: Updated few missing pages, page count from 53173 to 53209.
Update 2019-01-04: Updated pagelist accordingly.

Ok, new version of archived wiki is available temporarily for review at http://tkeskita.kapsi.fi/temp/en.blender.org/ - Page list available in [text ]] and [[ http:*tkeskita.kapsi.fi/temp/en.blender.org/pagelist.html | html ](http:*tkeskita.kapsi.fi/temp/en.blender.org/pagelist.txt) formats. Pages now include also deleted pages and redirections to deleted pages. Page count is ~~53173~~ 53209 out of 53221, and all page directories listed in the XML dump have index.html, so I think it is now pretty much complete. - Includes index.html, edit.html and history.html pages for each wiki page. History page lists date and username of 50 latest edits. - Page names may contain underscores instead of spaces, and they should both be found. This was done by creating directory symlinks like "Release_Notes" that point to "Release Notes". Is this OK? - All links to en.blender.org in pages have been converted into relative paths, so this can be freely placed in any directory and links should work. Since the whole script size is now 350 lines, the current bash script is attached here (updated version 2019-01-04): [statify.sh](https://archive.blender.org/developer/F6174008/statify.sh) I fixed a ton of my errors along the way, so I'm pretty sure somewhere there is still something wrong, but I'm now pretty happy with the result. Can anyone still find something wrong? Update 2019-01-01: Retrieved deleted pages again, fixed statify.sh and whole packet accordingly. Download link for the whole packet: http://tkeskita.kapsi.fi/temp/en.blender.org.tar.bz2 Update 2019-01-03: Updated few missing pages, page count from 53173 to 53209. Update 2019-01-04: Updated pagelist accordingly.
Member

I would keep all the deleted pages and their redirects. This would avoid broken links.
I don't think that the asccii character issue is is a good compromise as this will result in broken links? Or maybe I misunderstood something.

Imo, the broken functionality in the history and wiki menu is ok. It's an archive. I would definitely keep the history pages with the list of edits, which includes date, author and description. I agree that the last 50 edits should be enough.

Page names may contain underscores instead of spaces, and they should both be found.

If I type either "Release_Notes" or "Release Notes" in the URL both will work? This sounds fine.

Do you know what is missing so that 53173 is not exactly 53209?

I would keep all the deleted pages and their redirects. This would avoid broken links. I don't think that the asccii character issue is is a good compromise as this will result in broken links? Or maybe I misunderstood something. Imo, the broken functionality in the history and wiki menu is ok. It's an archive. I would definitely keep the history pages with the list of edits, which includes date, author and description. I agree that the last 50 edits should be enough. > Page names may contain underscores instead of spaces, and they should both be found. If I type either "Release_Notes" or "Release Notes" in the URL both will work? This sounds fine. Do you know what is missing so that 53173 is not exactly 53209?

Hi!

I would keep all the deleted pages and their redirects. This would avoid broken links.

Deleted pages are there, but without redirects. This means that, for deleted pages, you get the same view as you would get for it now in the mediawiki, but the page name remains original. If you then go to edit page, you see the redirection if that is needed. OK?

I don't think that the asccii character issue is is a good compromise as this will result in broken links? Or maybe I misunderstood something.

Yes the character issue does result in links from outside to archived wiki being broken, but I don't how this could be made better with static pages. Any ideas? At least the pages are there, although their name is not readable..

Imo, the broken functionality in the history and wiki menu is ok. It's an archive. I would definitely keep the history pages with the list of edits, which includes date, author and description. I agree that the last 50 edits should be enough.

OK so I think that's how it is now. Please check though.

Do you know what is missing so that 53173 is not exactly 53209?

No. It's like trying to find needle in haystack. I've been able to decrease count to 53209/53218. It is related to some special character(s) most likely, so that two page names evaluate to same path.

Hi! > I would keep all the deleted pages and their redirects. This would avoid broken links. Deleted pages are there, but without redirects. This means that, for deleted pages, you get the same view as you would get for it now in the mediawiki, but the page name remains original. If you then go to edit page, you see the redirection if that is needed. OK? > I don't think that the asccii character issue is is a good compromise as this will result in broken links? Or maybe I misunderstood something. Yes the character issue does result in links from outside to archived wiki being broken, but I don't how this could be made better with static pages. Any ideas? At least the pages are there, although their name is not readable.. > Imo, the broken functionality in the history and wiki menu is ok. It's an archive. I would definitely keep the history pages with the list of edits, which includes date, author and description. I agree that the last 50 edits should be enough. OK so I think that's how it is now. Please check though. > Do you know what is missing so that 53173 is not exactly 53209? No. It's like trying to find needle in haystack. I've been able to decrease count to 53209/53218. It is related to some special character(s) most likely, so that two page names evaluate to same path.
Member

There seems to be some weirdness going on if wiki user's created subpages without a base page.

Compare these 2:

Despite the unusual look of the second page, I think having a "fallback base page" in this circumstance is nice as it makes it easier to find subpages. I suspect, in some cases, making subpages harder to find may have been intentional on part of the page authors, but I'm not sure it makes sense to leave those pages "hidden" anymore.

On a different note, would it be worth archiving some of the "wiki special pages" from the old wiki? Two of the special pages I've often used for cross-referencing appear to have been skipped:

The "what links here" pages:
https://en.blender.org/index.php/Special:WhatLinksHere/Dev:Doc/Blender_Source/Files_Structure

And recent user contributions:
https://en.blender.org/index.php?title=Special:Contributions&limit=100&target=NBurn

These pages can be helpful when trying to find more info related to an article, but adding them back could significantly increase the size of the wiki archive.

Lastly, I'm not sure if the "warning" part is needed in the disclaimer at the top. Maybe:

Note: This is an [archived version ]] of the Blender Developer Wiki. The current wiki is located [ http:*www.google.com | here .

And have a new (non-google) link attached to "archived version" instead of just the one to the newer wiki at the end. I was thinking possibly a brief FAQ type page, maybe something like:

This is an older version of the wiki that was archived to preserve information about previous versions of Blender. This older wiki served as a general user manual for Blender, as an add-on repository, as a developer guide for working with Blender's source code, and as a guide for developing add-ons. With later versions of Blender much of this info was outsourced into the Blender manual and docs sites. With the release of 2.80 a decision was made to limit the scope of the wiki and drop the non-developer related resources as this info was being maintained elsewhere. (etc)

Thoughts?

There seems to be some weirdness going on if wiki user's created subpages without a base page. Compare these 2: * https://en.blender.org/index.php/User:Lucarood * http://tkeskita.kapsi.fi/temp/en.blender.org/index.php/User:Lucarood/ Despite the unusual look of the second page, I think having a "fallback base page" in this circumstance is nice as it makes it easier to find subpages. I suspect, in some cases, making subpages harder to find may have been intentional on part of the page authors, but I'm not sure it makes sense to leave those pages "hidden" anymore. On a different note, would it be worth archiving some of the "wiki special pages" from the old wiki? Two of the special pages I've often used for cross-referencing appear to have been skipped: The "what links here" pages: https://en.blender.org/index.php/Special:WhatLinksHere/Dev:Doc/Blender_Source/Files_Structure And recent user contributions: https://en.blender.org/index.php?title=Special:Contributions&limit=100&target=NBurn These pages can be helpful when trying to find more info related to an article, but adding them back could significantly increase the size of the wiki archive. Lastly, I'm not sure if the "warning" part is needed in the disclaimer at the top. Maybe: >**Note:** This is an [archived version ]] of the Blender Developer Wiki. The current wiki is located [[ http:*www.google.com | here ](http:*www.google.com). And have a new (non-google) link attached to "archived version" instead of just the one to the newer wiki at the end. I was thinking possibly a brief FAQ type page, maybe something like: >This is an older version of the wiki that was archived to preserve information about previous versions of Blender. This older wiki served as a general user manual for Blender, as an add-on repository, as a developer guide for working with Blender's source code, and as a guide for developing add-ons. With later versions of Blender much of this info was outsourced into the Blender manual and docs sites. With the release of 2.80 a decision was made to limit the scope of the wiki and drop the non-developer related resources as this info was being maintained elsewhere. (etc) Thoughts?

Yes, the only special pages currently included are the edit and history pages. Technically, all those specials (non-existing parent page, what links here, recent user contributions for User:X pages) can be added, if someone else also seconds this motion? "What links here" and "recent user contributions" could be retrieved to e.g. links.html and contributions.html located under page folders. I don't think they would add too much to archive size, it would just take me time to do it.

But first I need to get some sort of approval for the current retrieve+processing result, so gonna wait for a while.

Yes, the only special pages currently included are the edit and history pages. Technically, all those specials (non-existing parent page, what links here, recent user contributions for User:X pages) can be added, if someone else also seconds this motion? "What links here" and "recent user contributions" could be retrieved to e.g. links.html and contributions.html located under page folders. I don't think they would add too much to archive size, it would just take me time to do it. But first I need to get some sort of approval for the current retrieve+processing result, so gonna wait for a while.

Hi, I'm now contemplating to do another full retrieve, so this would be a perfect time to make decisions about suggestions from @nBurn in #48096#594983. Anyone else also want those changes?

I've been digging into this special characters issue, and it seems that wget option --restrict-file-names=nocontrol might preserve special characters correctly, so there would be no need for transcribing page names to hexadecimals (%XX). However, this means that I would need to do third full retrieve from scratch. Last time it took 10 days(!), which is slooow. As a workaround, I'm thinking to set up a local Apache + Mediawiki installation for myself where I try to restore the old mediawiki dump , and retrieve from there. @dmcgrath Is MediaWiki 1.16.2 correct version to use? Maybe add the Mediawiki version to README.txt in the mediawiki dump?

Hi, I'm now contemplating to do another full retrieve, so this would be a perfect time to make decisions about suggestions from @nBurn in #48096#594983. Anyone else also want those changes? I've been digging into this special characters issue, and it seems that wget option --restrict-file-names=nocontrol might preserve special characters correctly, so there would be no need for transcribing page names to hexadecimals (%XX). However, this means that I would need to do third full retrieve from scratch. Last time it took 10 days(!), which is slooow. As a workaround, I'm thinking to set up a local Apache + Mediawiki installation for myself where I try to restore the old [mediawiki dump ](https://download.blender.org/oldwiki/) , and retrieve from there. @dmcgrath Is MediaWiki 1.16.2 correct version to use? Maybe add the Mediawiki version to README.txt in the mediawiki dump?

It looks like old Mediawiki doesn't want to work nicely with php7. Also there's no guarantee that the result will look anything like the current one, so I guess its gonna be a new 10 d crawl..

Update 2019-01-15: New crawl started including what-links-here.

It looks like old Mediawiki doesn't want to work nicely with php7. Also there's no guarantee that the result will look anything like the current one, so I guess its gonna be a new 10 d crawl.. Update 2019-01-15: New crawl started including what-links-here.

Third retrieve is proceeding (slowly), and in ~4 days it should be finished. At that time (before running html processing for all pages) I need feedback about suggestion in #48096#594983 by @nBurn to change warning text (and add link to an explanatory page). @brita, @fsiddi, @Blendify, anyone: do you agree? What URL to add for explanatory page? Some page in new wiki? Or better to leave warning as it is now?

I decided already to include other suggestions by @nBurn.

Third retrieve is proceeding (slowly), and in ~4 days it should be finished. At that time (before running html processing for all pages) I need feedback about suggestion in #48096#594983 by @nBurn to change warning text (and add link to an explanatory page). @brita, @fsiddi, @Blendify, anyone: do you agree? What URL to add for explanatory page? Some page in new wiki? Or better to leave warning as it is now? I decided already to include other suggestions by @nBurn.

I would recommend having a clear message stating that the wiki contains legacy information and to visit wiki.blender.org for the active wiki documentation. Something along the lines of what @nBurn suggested.

This is an archived version of the Blender Developer Wiki. The current and active wiki is available on wiki.blender.org.

Thanks for your work!

I would recommend having a clear message stating that the wiki contains legacy information and to visit wiki.blender.org for the active wiki documentation. Something along the lines of what @nBurn suggested. ```This is an archived version of the Blender Developer Wiki. The current and active wiki is available on wiki.blender.org.``` Thanks for your work!

OK, I'm glad to inform you that the static old wiki baking is finished. The current version is uploaded temporarily to http:*tkeskita.kapsi.fi/temp/en.blender.org and download package is available in http:*tkeskita.kapsi.fi/temp

  • Retrieval and processing is documented in statify.sh bash script.
    statify.sh
  • All links to en.blender.org have been converted to relative paths, so archive should be fully stand-alone and can be placed freely wherever, and the root folder (en.blender.org) can be renamed.
  • Non-existing parent pages were retrieved as well as normal wiki pages
  • Adapted warning text on page top according to suggestion from @fsiddi, but retained link to manual for manual-related pages like @brita wished previously.
  • UTF-8 special characters in page names are now preserved in directory names.
  • Page list is located at the root
  • Each wiki page includes index.html, edit.html, history.html, and links.html (What Links Here). Links to those are located on top right of each page.
  • User pages (User:username) additionally include contributions.html

Please let me know if you find something wrong. Thanks!

OK, I'm glad to inform you that the static old wiki baking is finished. The current version is uploaded temporarily to http:*tkeskita.kapsi.fi/temp/en.blender.org and download package is available in http:*tkeskita.kapsi.fi/temp - Retrieval and processing is documented in statify.sh bash script. [statify.sh](https://archive.blender.org/developer/F6422457/statify.sh) - All links to en.blender.org have been converted to relative paths, so archive should be fully stand-alone and can be placed freely wherever, and the root folder (en.blender.org) can be renamed. - Non-existing parent pages were retrieved as well as normal wiki pages - Adapted warning text on page top according to suggestion from @fsiddi, but retained link to manual for manual-related pages like @brita wished previously. - UTF-8 special characters in page names are now preserved in directory names. - Page list is located at the [root ](http://tkeskita.kapsi.fi/temp/en.blender.org/pagelist.html) - Each wiki page includes index.html, edit.html, history.html, and links.html (What Links Here). Links to those are located on top right of each page. - User pages (User:username) additionally include contributions.html Please let me know if you find something wrong. Thanks!

It looks great, I found no problems. Thanks a lot for doing this.

I've copied the whole thing to https://archive.blender.org/wiki/.

Now it's just a matter of setting up a redirect from en.blender.org to archive.blender.org/wiki and taking the old wiki offline (I guess we keep a backup).

@dmcgrath, can you do that?

It looks great, I found no problems. Thanks a lot for doing this. I've copied the whole thing to https://archive.blender.org/wiki/. Now it's just a matter of setting up a redirect from en.blender.org to archive.blender.org/wiki and taking the old wiki offline (I guess we keep a backup). @dmcgrath, can you do that?
Member

In #48096#610410, @brecht wrote:
Now it's just a matter of setting up a redirect from en.blender.org to archive.blender.org/wiki and taking the old wiki offline (I guess we keep a backup).

@dmcgrath, can you do that?

It should be done. I redirect everything except /robots.txt to archive.b.o/wiki.

I will start archival procedures of the MySQL db and on disk files and place them in the wiki's /root folder, clean up old on disk cache files, etc.

> In #48096#610410, @brecht wrote: > Now it's just a matter of setting up a redirect from en.blender.org to archive.blender.org/wiki and taking the old wiki offline (I guess we keep a backup). > > @dmcgrath, can you do that? It should be done. I redirect everything except `/robots.txt` to archive.b.o/wiki. I will start archival procedures of the MySQL db and on disk files and place them in the wiki's /root folder, clean up old on disk cache files, etc.

Thanks @TuomoKeskitalo! And thanks @brecht.
From a quick look the archived wiki seems to be running well in all its legacy glory.
Looking forward to the last steps that Dan will perform.

Thanks @TuomoKeskitalo! And thanks @brecht. From a quick look the archived wiki seems to be running well in all its legacy glory. Looking forward to the last steps that Dan will perform.
Member

In #48096#611447, @fsiddi wrote:
Thanks @TuomoKeskitalo! And thanks @brecht.
From a quick look the archived wiki seems to be running well in all its legacy glory.
Looking forward to the last steps that Dan will perform.

@fsiddi It should already be redirecting en.blender.org to archive.blender.org/wiki/ since my last post.

> In #48096#611447, @fsiddi wrote: > Thanks @TuomoKeskitalo! And thanks @brecht. > From a quick look the archived wiki seems to be running well in all its legacy glory. > Looking forward to the last steps that Dan will perform. @fsiddi It should already be redirecting en.blender.org to archive.blender.org/wiki/ since my last post.

Great! I guess that the 2 remaining points (Utilities and Delete the old read-only PHP wiki) can be wrapped up as well?
After that, I propose to close this task and move any other todo to separate topics, tagged as Documentation.

Great! I guess that the 2 remaining points (Utilities and Delete the old read-only PHP wiki) can be wrapped up as well? After that, I propose to close this task and move any other todo to separate topics, tagged as Documentation.
Member

In #48096#611638, @fsiddi wrote:
Great! I guess that the 2 remaining points (Utilities and Delete the old read-only PHP wiki) can be wrapped up as well?
After that, I propose to close this task and move any other todo to separate topics, tagged as Documentation.

The old wiki should be inaccessible already, but I will have to purge the files from disk before it's technically "deleted". The directory is archived though, already. I won't erase the SQL db until I can test the dump was fine, but initial glance suggests it's all good.

How does the archive look with the redirects etc?

> In #48096#611638, @fsiddi wrote: > Great! I guess that the 2 remaining points (Utilities and Delete the old read-only PHP wiki) can be wrapped up as well? > After that, I propose to close this task and move any other todo to separate topics, tagged as Documentation. The old wiki should be inaccessible already, but I will have to purge the files from disk before it's technically "deleted". The directory is archived though, already. I won't erase the SQL db until I can test the dump was fine, but initial glance suggests it's all good. How does the archive look with the redirects etc?

Redirects are working well.

Other todo's are here:

Redirects are working well. Other todo's are here: * #61097: port code architecture docs. * blender/blender-addons#54097: move addon docs to the manual.
Member

Good to hear.

Well the cleanup on the server side should be final now. I dumped and compared/verified both the only disk files, and the database dump.

I have left a copy of the tarball in /root/en.blender.org.tar.bz2. Feel free to grab a copy (~5.5G). This contains the vhost docroot, the old txt only dumps, and the database dump.

Good to hear. Well the cleanup on the server side should be final now. I dumped and compared/verified both the only disk files, and the database dump. I have left a copy of the tarball in `/root/en.blender.org.tar.bz2`. Feel free to grab a copy (~5.5G). This contains the vhost docroot, the old txt only dumps, and the database dump.
Member

I forgot to mention that the old vhost docroot files have be entirely deleted, as well as the original database. The old docroot is a mere empty skeleton, needed to satisfy the Apache docroot path, as well as provide a means for Certbot (Lets Encrypt) to acquire its certificates. Once the snapshots rotate enough, the space from the old files will be reclaimed.

I forgot to mention that the old vhost docroot files have be entirely deleted, as well as the original database. The old docroot is a mere empty skeleton, needed to satisfy the Apache docroot path, as well as provide a means for Certbot (Lets Encrypt) to acquire its certificates. Once the snapshots rotate enough, the space from the old files will be reclaimed.

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Brecht Van Lommel self-assigned this 2019-02-01 15:40:12 +01:00

Let's consider this resolved then.

I have left a copy of the tarball in /root/en.blender.org.tar.bz2. Feel free to grab a copy (~5.5G). This contains the vhost docroot, the old txt only dumps, and the database dump.

I wouldn't know what to do with that file, I just imagined you had someplace to archive these kinds of things.

Let's consider this resolved then. > I have left a copy of the tarball in /root/en.blender.org.tar.bz2. Feel free to grab a copy (~5.5G). This contains the vhost docroot, the old txt only dumps, and the database dump. I wouldn't know what to do with that file, I just imagined you had someplace to archive these kinds of things.
Member

In #48096#611847, @brecht wrote:
Let's consider this resolved then.

I have left a copy of the tarball in /root/en.blender.org.tar.bz2. Feel free to grab a copy (~5.5G). This contains the vhost docroot, the old txt only dumps, and the database dump.

I wouldn't know what to do with that file, I just imagined you had someplace to archive these kinds of things.

Generally I just keep old stuff around where it originally was left, or I move (tarball) it to the root dir. It's tough since our rack never had a central storage location, unless you consider download.blender.org. I have started throwing secondary copies of stuff into CephFS. Who knows, if we keep it around, it might be the new "attic" (what I put such things).

> In #48096#611847, @brecht wrote: > Let's consider this resolved then. > >> I have left a copy of the tarball in /root/en.blender.org.tar.bz2. Feel free to grab a copy (~5.5G). This contains the vhost docroot, the old txt only dumps, and the database dump. > > I wouldn't know what to do with that file, I just imagined you had someplace to archive these kinds of things. Generally I just keep old stuff around where it originally was left, or I move (tarball) it to the root dir. It's tough since our rack never had a central storage location, unless you consider download.blender.org. I have started throwing secondary copies of stuff into CephFS. Who knows, if we keep it around, it might be the new "attic" (what I put such things).

Glad that you like the result! Cheers for ye olde wiki! :-)

One small thing I noticed: 2.79 release notes page has an outdated Note box on top you may want to manually remove.

Glad that you like the result! Cheers for ye olde wiki! :-) One small thing I noticed: [2.79 release notes ](https://archive.blender.org/wiki/index.php/Dev:Ref/Release_Notes/2.79/) page has an outdated Note box on top you may want to manually remove.

@Tuomo, note box removed.

@Tuomo, note box removed.
Sign in to join this conversation.
No Milestone
No project
No Assignees
19 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-manual#48096
No description provided.