Difference between revisions of "Create new request"

From PegaWiki
Jump to navigation Jump to search
Line 1: Line 1:
 
{{#ifingroup:pegaemployee, sysop, editor, administrator|{{#if: {{#urlget: pageName}} | {{#ifexist: {{#urldecode: {{#urlget: pageName}} }}
 
{{#ifingroup:pegaemployee, sysop, editor, administrator|{{#if: {{#urlget: pageName}} | {{#ifexist: {{#urldecode: {{#urlget: pageName}} }}
 
| A page with this name already exists, please choose another name
 
| A page with this name already exists, please choose another name
<wsform action="get" id="new-request" class="mb-4"><wsfield type="text" class="form-control " name="pageName" placeholder="Title" size="50"/><wsfield type="submit" value="Check"/></wsform>
+
{{#widget: Request form proceed
| Create the request with title '''<big>{{#urldecode: {{#urlget: pageName}} }}</big>''' ? <wsform action="get" id="new-request" class="mb-4" mwreturn="{{fullurl: {{#urlget: pageName}} }}" >
+
|pageName={{fullurl:{{urlencode:{{#urldecode: {{#urlget: pageName}} }}|WIKI}} }}
<wsfield type="hidden" name="preload" value="Template:Boilerplate New request" />
 
<wsfield type="hidden" name="veaction" value="edit" />
 
 
 
<wsfield type="submit" value="Create"/>
 
</wsform>
 
 
}}
 
}}
| <wsform action="get" id="new-request" class="mb-4"><wsfield type="text" class="form-control " name="pageName" placeholder="Title" size="50"/><wsfield type="submit" value="Check"/></wsform>
+
}}
 +
| {{#widget: Request form}}
 
|Title= Create a new Design Pattern
 
|Title= Create a new Design Pattern
 
}}|You are not allowed to view this page.}}
 
}}|You are not allowed to view this page.}}

Revision as of 20:01, 18 December 2020

You are not allowed to view this page.