https://bugzilla.wikimedia.org/show_bug.cgi?id=70493

            Bug ID: 70493
           Summary: InputBox extension should support preloadparams
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: InputBox
          Assignee: [email protected]
          Reporter: [email protected]
       Web browser: ---
   Mobile Platform: ---

== steps to reproduce ==
this code:
<InputBox>
type=commenttitle
page=Talk:SandBox
preload=Template:inputboxtest
preloadparams[]=moo
buttonlabel=add comment
</InputBox>

Template:inputboxtest contains this:

hi cow, $1, $1, $1

== expected result ==
opens a section create box with content "hi cow, moo, moo, moo"

== actual result ==
opens a section create box with content "hi cow, $1, $1, $1"

== rationale & comments ==
https://www.mediawiki.org/wiki/Manual:Creating_pages_with_preloaded_text#Using_parameters

you can play with it here:
https://test.wikipedia.org/w/index.php?title=Sandbox&oldid=215998

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to