Difference between revisions of "PsyCrit:Forms/blog/post"

(!TIMESTAMP has been renamed ?TIMESTAMP. Removed from form data.)
(maybe specifying content type in request works?)
Line 27: Line 27:
<echo raw vars now>
<echo raw vars now>
<form action="/w/Special:MakePage" target=_blank method=POST>
<form action="/w/Special:MakePage" target=_blank method=POST>
<input type=hidden name="model"      value="wikitext">
<input type=hidden name="!TPLTPAGE"  value="[$tpltpage$]">
<input type=hidden name="!TPLTPAGE"  value="[$tpltpage$]">
<input type=hidden name="!TIMEFMT"  value="Y-m-d Hi">
<input type=hidden name="!TIMEFMT"  value="Y-m-d Hi">
<input type=hidden name="!TPLTSTART" value="<pre>">
<input type=hidden name="!TPLTSTART" value="<pre>">
<input type=hidden name="!TPLTSTOP" value="</pre>">
<input type=hidden name="!TPLTSTOP" value="</pre>">
</echo>
</echo>
<get name=tag1 raw /><get name=tag2 raw />
<get name=tag1 raw /><get name=tag2 raw />

Revision as of 00:17, 18 March 2016

User: | Prefix: ERROR: there is no variable named [title-prefix].

Post title:
Page title: ERROR: there is no variable named [title-prefix].[timestamp] [post title]

Topic lists look like this: \a topic\another topic\a third topic
List as many topics as you want.
Global topic list:
User-specific topic list:
Above the fold:
Below the fold:

  • "topic lists" should look like this: \a topic\another topic\third topic\and so on
    • You can use whatever character you want as a divider; the first character in the text becomes the divider.
    • Topics in the "user topic list" will be prefixed with your username, to distinguish them from global topics (which are common to the entire wiki)
  • "above the fold" text will appear in summaries/compilations and in the RSS feed; "below the fold" generally only appears when you look at the actual posting page.
  • If you want the post to replace the form window instead of showing up in a new window/tab, remove "target=_blank" from the form tag near the top
  • The intrinsic form variable !TIMEFMT uses the PHP date format, which is documented here.
  • The template for formatting the data in this form is: [[project:Forms/handling/blog/post]]
  • Timestamp will be set to the time at which you first preview the post