Jump to content

Template:Preload/proxy-preload

From Wikipedia, the free encyclopedia
Purpose
This page is just a proxy preload that allows it's parameters (from the querystring) to be used to prime the contents of another page
Reference
https://www.mediawiki.org/wiki/Manual:Creating_pages_with_preloaded_text
Mediawiki Example
https://www.mediawiki.org/wiki/Project:Sandbox?action=edit&section=new&nosummary=true&preload=Manual:Creating_pages_with_preloaded_text/param_demo&preloadparams%5b%5d=first%20value&preloadparams%5b%5d=second%20value
Other Example
index.php?title=NewPageThatShouldntExist&preload=Template:Lookup/proxy-preload&action=submit&preloadparams%5b%5d=Omar
The example above should substitute the $1 in the text of this preload page with the value passed in the parameter (which is Omar)

$1