HI,
I'm new to wikis and mediawiki in particular. In order to learn how mediawiki and wikitext works I'm building a "Wiki Primer" wiki for our students to use with lots of examples and have two problems.
1. I've seen that you can move and rename pages but is it possible to copy pages copy pageX to pageY and have them separately editable afterwards.
2. If I have a big page ( way too big ) with several sections. Is it possible to make each section into it's own page.
Now I know I can do both of these with cut-and-paste but I was just wondering if there is an easier way.
Thanks,
Tony
On Fri, Oct 9, 2009 at 8:21 AM, Tony Molloy tony.molloy@ul.ie wrote:
HI,
I'm new to wikis and mediawiki in particular. In order to learn how mediawiki and wikitext works I'm building a "Wiki Primer" wiki for our students to use with lots of examples and have two problems.
- I've seen that you can move and rename pages but is it possible to copy pages copy pageX to pageY and have them separately editable afterwards.
You can kind of do this by using the following code:
<inputbox> type=create preload=XYZ width=40 </inputbox>
This will create a new page at the title that is put into the input box using the content from the page of the value XYZ. This would mean that the code about could be put on the main page with preload=Main Page and then users could insert there own page title to copy it to and the page content of Main Page would then be loaded into the edit box of the new page ready to be saved (users would have to save, this does not automatically do it and would load the edit interface for the new page)
2. If I have a big page ( way too big ) with several sections. Is it
possible to make each section into it's own page.
It is possible to both link to and edit only specific sections of a page. To link to an section titled history just put #history on the end of the url (ie wikilink would be [[Cheese#History|History of cheese]].
Hope this helps,
Regards
Mark
Now I know I can do both of these with cut-and-paste but I was just wondering if there is an easier way.
Thanks,
Tony
Dept. of Comp. Sci. University of Limerick.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On Friday 09 October 2009 15:26:44 Mark (Markie) wrote:
On Fri, Oct 9, 2009 at 8:21 AM, Tony Molloy tony.molloy@ul.ie wrote:
HI,
I'm new to wikis and mediawiki in particular. In order to learn how mediawiki and wikitext works I'm building a "Wiki Primer" wiki for our students to use with lots of examples and have two problems.
- I've seen that you can move and rename pages but is it possible to
copy pages copy pageX to pageY and have them separately editable afterwards.
You can kind of do this by using the following code:
<inputbox> type=create preload=XYZ width=40 </inputbox>
This will create a new page at the title that is put into the input box using the content from the page of the value XYZ. This would mean that the code about could be put on the main page with preload=Main Page and then users could insert there own page title to copy it to and the page content of Main Page would then be loaded into the edit box of the new page ready to be saved (users would have to save, this does not automatically do it and would load the edit interface for the new page)
- If I have a big page ( way too big ) with several sections. Is it
possible to make each section into it's own page.
It is possible to both link to and edit only specific sections of a page. To link to an section titled history just put #history on the end of the url (ie wikilink would be [[Cheese#History|History of cheese]].
Hope this helps,
Regards
Mark
Thanks Mark,
Tony
Now I know I can do both of these with cut-and-paste but I was just wondering if there is an easier way.
Thanks,
Tony
Dept. of Comp. Sci. University of Limerick.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
It's worth mentioning that on a real wiki, you want to do as little copying as possible.
If a piece of information is found on Page X, and you copy it to Page Y, then pages X and Y are now dependent on each other. If you change one, you have to remember to update the other or else it goes out of date.
In real life, on a wiki you want to maintain properly, you would use a different approach. Here are several:
* Link from page Y to page X * Pull the information from page X into page Y automatically, using transclusion * Make a template and transclude into both pages X and Y
Copying should be your last resort. It is the death of good information resources.
DanB
On Friday 09 October 2009 19:06:41 Daniel Barrett wrote:
It's worth mentioning that on a real wiki, you want to do as little copying as possible.
If a piece of information is found on Page X, and you copy it to Page Y, then pages X and Y are now dependent on each other. If you change one, you have to remember to update the other or else it goes out of date.
That's not quite what I wanted. This is basically a test Wiki. I have 1 page which has become very large with lots of sections. What I was thinking of was making several copies of the page and then editing each separately to only leave the sections I wanted..
A bit of cut-and-paste did the job and I learned to plan my pages better in future ;-)
Tony
In real life, on a wiki you want to maintain properly, you would use a different approach. Here are several:
- Link from page Y to page X
- Pull the information from page X into page Y automatically, using
transclusion * Make a template and transclude into both pages X and Y
Copying should be your last resort. It is the death of good information resources.
DanB
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
http://www.mediawiki.org/wiki/Extension:Duplicator
I'm using it and it works quite well.
Laurent http://www.wikimini.org
2009/10/12 Tony Molloy tony.molloy@ul.ie
On Friday 09 October 2009 19:06:41 Daniel Barrett wrote:
It's worth mentioning that on a real wiki, you want to do as little
copying
as possible.
If a piece of information is found on Page X, and you copy it to Page Y, then pages X and Y are now dependent on each other. If you change one,
you
have to remember to update the other or else it goes out of date.
That's not quite what I wanted. This is basically a test Wiki. I have 1 page which has become very large with lots of sections. What I was thinking of was making several copies of the page and then editing each separately to only leave the sections I wanted..
A bit of cut-and-paste did the job and I learned to plan my pages better in future ;-)
Tony
In real life, on a wiki you want to maintain properly, you would use a different approach. Here are several:
- Link from page Y to page X
- Pull the information from page X into page Y automatically, using
transclusion * Make a template and transclude into both pages X and Y
Copying should be your last resort. It is the death of good information resources.
DanB
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
--
Dept. of Comp. Sci. University of Limerick.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org