Jump to content

Topic on Extension talk:InputBox/Archive 2

Using to add text (such as user for participant list)

5
Kghbln (talkcontribs)

Anyone had any luck using the Extension to create a "sign-up" style setup where someone clicks the button and sees the edit screen with the sig tildes preloaded? The closest I've seen is using it to create "profiles" with the username appearing as a header.

This post was posted by Kghbln, but signed as Varnent.

Mikołka (talkcontribs)

It quite easy to do. New entries are added at the bottom. A quick example:


<inputbox>
type=commenttitle
editintro=Page_title/Intro <!-- Some instructions for users -->
preload=Page_title/Preload
hidden=yes
page=Page_title <!-- Where to post -->
buttonlabel=Button_label
default=
</inputbox>

Page_title/Preload


{{<includeonly>subst:</includeonly>Template_name
|param1=
|param2=
...
}}

Template:Template_name


text1 {{{param1}}}
text2 {{{param2}}}
--~~~~
...
Varnent (talkcontribs)
Mikołka (talkcontribs)

Each registered user can set it up in the Prefrences/Editing, Advanced options: Prompt me when entering a blank edit summary. I think it should be now turned off by default.

Varnent (talkcontribs)

That makes sense.  :) I'll tweak the messages to reflect that.

Reply to "Using to add text (such as user for participant list)"