Project talk:PD help/Copying

Choosing the example image
Hm, why should Image:Wiki.png being copied? There's another default image for new installations, or not? -- :Bdk: 19:56, 1 December 2006 (UTC)


 * It's used as the example in Help:Images. I think the example image from Help:Templates and the screenshots should also be copied, and possibly the one from the meta template. (The bot doesn't copy that one, since it rewrites that template to avoid dependence on the interwiki table). -Steve Sanbeg 21:30, 1 December 2006 (UTC)
 * Good point :-) I didn't think of that use. I've now substituted it with the new Example.jpg, which is, in addition, useful to have when you use the image button in the edit toolbar. Hope this is ok. -- :Bdk: 10:49, 2 December 2006 (UTC)
 * Seems reasonable, and more in line with the license for this project. I just made the same change to template:thankyou.  Unfortunately, that doesn't have the PD header, but it is a pretty trivial template. -Steve Sanbeg 17:25, 4 December 2006 (UTC)


 * Shouldn't the images included in templates be added too? Like the one in the admin tips and languages template? 82.11.41.163 20:08, 17 December 2006 (UTC)
 * The languages template isn't useful offsite, so that should just be blanked on the remote wiki. The admin tip/meta imags may be useful, though.  The list may be tricky to keep up to date; it may require someone who follows that process to fix it for the current version, or a bot to maintain the list. -Steve Sanbeg 22:29, 19 December 2006 (UTC)
 * I don't know if it is because I have "ugly" links or if it was due to the export and importation process, but I have to edit each image link to fit in proper underscore characters. I'm having to go around all of my imported help pages fixing image links. -- Rezanow 05:24, 13 March 2007 (UTC)

Templates not Exporting
This is great. Been looking for a comprehensive HOWTO to get some help files. However I noticed that some of the files mentioned did not export. For example Template:Click did not work. If you go to Special:Export and only add Template:Click to the list you'll get an XML with the header but no content.

       MediaWiki http://www.mediawiki.org/wiki/MediaWiki MediaWiki 1.10alpha first-letter Media ...           Extension talk

Nothing about Template:Click. Any ideas?
 * -- Suki 01:57, 13 March 2007 (UTC)

works for me -- Duesentrieb ⇌ 02:06, 13 March 2007 (UTC)

Here is a direct link: Special:Export/Template:Click try that and see if the Template:Click code shows up. -- Suki 05:54, 17 March 2007 (UTC)


 * The template is protected. It seems, oddly, that non-sysops cannot export protected pages. Special:Export/Template:Languages does not work either.--Patrick 08:06, 17 March 2007 (UTC)

I found there was an empty page for Template:Click in my new wiki. I was able to edit this page. I simply pasted in the source code for this template from the MediaWiki site and all was well. Even though the page was protected, I could still see the source. At first I was confused because there is a large vertical whitespace between the operative part of the page, which shows nothing, and the page documentation, which is in a following noinclude element, and which was not visible in the edit box because of the vertical space.

--AJim 17:29, 23 March 2007 (UTC)

Package
It might be a good idea to automatically export all the files and provide versions with all the PD templates removed. A php script could then be created which, when run from the base of a MediaWiki installation will automatically import all pages and images. I am aware if Special:Import, but AFAIK it does not support images. Lcarsdata (Talk) 15:52, 17 March 2007 (UTC)

Copying images
Here is what I learned about copying the images.

First, there are not too many images, most help pages do not have them. Navigation, Templates, Recent Changes are some that did.

The procedure that worked best for me was:
 * go to the MediaWiki help page.
 * right click on the image.
 * choose Open Link in new Tab
 * because the image on the help page may be a thumbnail, not the original
 * change to the image page on the new tab that you opened
 * right click on this image
 * choose Save Image As...
 * save this image without changing its name
 * I used the same folder I used for the page exports
 * on the new wiki choose Upload file in the toolbox.
 * browse to the folder where the image was saved, select the image
 * cut and paste the image name, without the url, from the Source filename line to the Destination filename line
 * add a note such as help navigation image for later reference
 * press the Upload file button
 * if you get a warning saying the page already exists, choose the Ignore warning and save file anyway. option.

--AJim 17:52, 23 March 2007 (UTC)

Interwiki links
There is more to do to move the help. One obvious thing is interwiki links that are still showing red. The Help:Interwiki linking page explains what needs to be done, updating a database table, interwiki, but I have not tried it yet.

--AJim 18:07, 23 March 2007 (UTC)