User:Espyo/PikipediaUpload: Difference between revisions

no edit summary
(Added merchandise as an option.)
No edit summary
Line 21: Line 21:
As the options get answered, the script writes down the final wikitext result in a textbox. For this, it uses the {{tem|file info}} template, filling in the parameters as the user answers. This textbox is what MediaWiki itself will read to place on the file's page. The script also hides this textbox from the user by default, but a button at the bottom of the form allows the user to show it and manually tweak it, if needed.
As the options get answered, the script writes down the final wikitext result in a textbox. For this, it uses the {{tem|file info}} template, filling in the parameters as the user answers. This textbox is what MediaWiki itself will read to place on the file's page. The script also hides this textbox from the user by default, but a button at the bottom of the form allows the user to show it and manually tweak it, if needed.


To note is that if the player runs into an upload warning after clicking "Upload file", the script's extra fields portion will not run (otherwise it would destroy all of the user's choices, since it has no way of memorizing from the old page), but will still hide the license.
To note is that if the player runs into an upload warning after clicking "Upload file", the script's extra fields portion will not run (otherwise it would destroy all of the user's choices, since it has no way of memorizing from the old page), but will still hide the license. Also to note is that if the script is running, a small box will appear on the top-right corner stating that fact. This is a good way to know if the script is up and running or not.


==History==
==History==
Line 45: Line 45:
* {{date|21|July|2017}}
* {{date|21|July|2017}}
** Added Merchandise as an option for the type of image.
** Added Merchandise as an option for the type of image.
* {{date|31|July|2017}}
** Updated it on the account of ''Hey! Pikmin''{{'s}} release.


===Future===
===Future===
''Nothing planned.''
''Nothing planned.''