Forum:Preload image upload

Sorry, I should be able to find this on mediawiki but I am having difficulty. Isn't there a magic mediawiki page where I can put text into as a preload for the image upload form? Or some other way of doing a preload when the contributor hits the upload image file link? I want to stick a fill in the blanks template in there for people who are so inclined. - ~  Ph l o x  02:35, 13 May 2009 (UTC)


 * (I hate IE8 handling of tabs; it's so slow and made me loose what i was replying here.)
 * URL parameter can be used to prefill the edit area of any new page with the content of the specified page (or template). There's also one to make a "custom" edit intro...
 * But i dont think it will work with the upload form.
 * Exemple :
 * Exemple :

http://fr.guildwars.wikia.com/index.php?title=Tournoi&action=edit&preload=Modèle:Plan+de+page%2FCr%C3%A9ature&editintro=Modèle:Editintro%2FCr%C3%A9ature
 * Always begin with a "?" before the first URL parameter. Always put an "&" before each parameter after the first one.
 * &action=edit tell to edit the page.
 * &preload=something will preload the page named "something".
 * — TulipVorlax 02:22, 14 May 2009 (UTC)
 * I used to lose tabs on Firefox by bad keystrokes that would close them. Fixed now with   I can reload any tab, and the edit text is still there.  Nice other features too, but hated the red text for unused tabs.  You can change that sort of thing in configuration.
 * I used to lose tabs on Firefox by bad keystrokes that would close them. Fixed now with   I can reload any tab, and the edit text is still there.  Nice other features too, but hated the red text for unused tabs.  You can change that sort of thing in configuration.


 * Right. I am familiar with url interface for preloads.  Maybe there is a mediawiki variable to set the default handling?  I know commons set up custom phps but all I want is a preload on the upload handler.  Surely there is some way of doing this.   (By the way, with semantic forms you can bypass this sort of arcanery- with several default forms for different pages.  Very handy that any redlink will go to the correct form.)  I have the entire File namespace set to one form for example.  Others are set by any reference to them with properties.  Even if a redlink, it remembers the default form for the property that refernced it.


 * Anyway, even if you have zero need for the semantic features, this is very handy for common forms like standardizing media file information for a wikia. - ~  Ph l o x   17:56, 14 May 2009 (UTC)
 * Preload in the full sense... i dont know, but i know a similar way but constrain to one line i have not discover how to do more lines and there are complications... the URL code you both are looking is
 * &wpUploadDescription=
 * you can use and works fine but as i said no more than 1 huge line:
 * but if you do:
 * {{fullurl:Special:Upload|wpUploadDescription={{subst:Sandbox}}
 * this will happens
 * {{fullurl:Special:Upload|wpUploadDescription= Sandbox | bit | no}}{{ #ifeq: {{{1}}} | qaz | asd | qwe}} | Clickme!}}
 * If you add nowiki tags
 * {{fullurl:Special:Upload|wpUploadDescription= {{subst:Sandbox}} }}
 * This happens
 * {{fullurl:Special:Upload|wpUploadDescription= {{subst:Sandbox}} }}
 * Maybe some one could find a work arround as this is the closes i have get and i have to copy paste the link to the url to work --{{User:Cizagna/Sig.css|21:01, 14 May 2009 (UTC)}}
 * Maybe some one could find a work arround as this is the closes i have get and i have to copy paste the link to the url to work --{{User:Cizagna/Sig.css|21:01, 14 May 2009 (UTC)}}


 * Encode first:
 * {{fullurl:Special:Upload|wpUploadDescription=%7B%7Bsubst:Sandbox%7D%7D}}
 * Shows as
 * {{fullurl:Special:Upload|wpUploadDescription=%7B%7Bsubst:Sandbox%7D%7D}}
 * --Ciencia Al Poder (talk) {{sup|-WikiDex}} 14:48, 15 May 2009 (UTC)


 * Great!! just as i thought, just could not find it xD, thanks. The downside, if i recall well, is that there is a url size limit, i dont think if it was 288 or 256 (most logical one), so large and complex with many user input details and long variable names would not work unless they are fill after the page is loaded. --{{User:Cizagna/Sig.css|15:19, 15 May 2009 (UTC)}}

(undent) wpUploadDescription or workalike can't be set in LocalSettings.php, though, correct? (no- it's not in the list) - ~  Ph l o x   20:24, 15 May 2009 (UTC)