Manual talk:Creating pages with preloaded text

Preloaded pages in Preview mode
Is there a way to put a new page with preloaded content in a preview mode (as if the user had just pushed the preview button) ?

--AkashicChacal 15:42, 5 May 2008 (UTC)


 * There is user option in Preferences «Show preview on first edit», and I even think its this way by default. Anyway, yes, you can force preview or no preview with preview=yes (or preview=no) URL parameter. —AlexSm 19:29, 5 May 2008 (UTC)

General How To regarding the Preload function
Maybe I'm utterly blind, but as of yet I fail to see how the inbuilt function Preload (included in the basic Mediawiki package, not via extension) would be set up to work. Basically, what I've expected to find is this: A user creates a new page (using any of the usual methods given) and sees the editor window opening with an already loaded Preload-page in it.

Yes, of course I've read how the index.php-parameter could be altered to force the preload to happen. Just that's not what I'd call a userfriendly preloading method. Users can type new page titles into their browsers address line, they can click the red link of a failed search result, they can create a new link on another page and click it... you get the drift, there are quite many methods to create a new page.

Simply put: Is there a method in the basic package to get a preloaded page on creation of a new page using any of the given page creation methods? And if yes, how would I go about to install it?

Thanks, --Carsten3m 16:16, 16 June 2008 (UTC)
 * I believe the answer is "No". preload is useless without extensions, except for expert users whom you can tell "Copy this URL to your browser's location field and modify its title param with the name you want for your new page. -- skierpage 01:39, 13 July 2009 (UTC)

Feature request: preloadtext="stuff this into edit box"
Hi. Preload is handy!

A dynamic (runtime) "preloadtext=#redirect:Target page title", say, would be cool, too.

Thanks. Saintrain 15:05, 15 September 2008 (UTC)

ULR parameters to index.php
The explanation says: "Preloading can be done with a preload parameter in a URL". But how can I produce such a link in an article? I cannot find how to add URL parameters to a link in double square brackets... —someone 12:14, 20 Nov 2008 (UTC)

  produces. You have the ugly URL with external link indicator, and you still have the problem of getting users to replace New page name with the actual page name of their new page. So if you can add extensions, or, which is called on a   like:
 * One approach to adding URL parameters is with the "magic word" fullurl:

You can add categories and the documentation to the  and make it show up if the pagename equals   only:

Hope this is useful. --WiMu 17:09, 7 December 2009 (UTC)

Preloading article and discussion page template
Is it possible to preload an article template together with a template of it's discussion page? If yes, how? - Bojae72 14:07, 7 July 2011 (UTC)

Preloading from redlinks
Is it possible to define (preferably on a link-by-link basis) that if a given link is a redlink, clicking it should do a defined preload? 10:55, 14 February 2012 (EST)

Redirection
If a redirect page is designated as the preloaded page, its target page is actually preloaded.

For example,


 * A page named "Foo" redirects to "Bar".
 * If an URL designates "Foo" as a preloaded page ,
 * "Bar" will be preloaded in the text box.

I checked this out, but the current manual does not describe it. Somebody add it, please. --Yes0song (talk) 11:34, 8 June 2012 (UTC)

FYI: Use redlink=1 with preload to change action modes if the page exists
I found a way to get a link with a preload to change actions depending on whether or not the page exists.

In my project, we're trying to automate the process of creating new pages with the right names, branch locations and--ideally--some common boilerplate text. Preloading seemed the best way to do this. For this to work, users click on the same link in a parent page to either create/preload the new page (if it doesn't exist) or view the page (if it does exist). We're using an older version of wikimedia (1.15?) and I don't have control over it, so a lot of the extensions aren't available to me. I also don't know if it's some unique situation with the way our corporate namespace is set up.

Using preload as described on this page worked great to frontload some content when creating a new page. The only problem was that, once the page was created, it continued to open in edit mode. That was a non-starter. I needed it to open in view mode. I played around with the parameters and found a combination that seems to work right:

https:// /index.php?title= &action=edit&redlink=1&preload=

Hope this helps someone besides me!--SellaR 02:51, 4 December 2013 (UTC)