Last modified: 2014-11-13 01:47:35 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T72493, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70493 - InputBox extension should support preloadparams
InputBox extension should support preloadparams
Status: PATCH_TO_REVIEW
Product: MediaWiki extensions
Classification: Unclassified
InputBox (Other open bugs)
master
All All
: Normal enhancement (vote)
: ---
Assigned To: Jackmcbarn
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-06 14:59 UTC by Gryllida
Modified: 2014-11-13 01:47 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Gryllida 2014-09-06 14:59:21 UTC
== 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
Comment 1 Gerrit Notification Bot 2014-09-07 01:23:54 UTC
Change 158906 had a related patch set uploaded by Jackmcbarn:
Add support for preloadparams[]

https://gerrit.wikimedia.org/r/158906
Comment 2 Gerrit Notification Bot 2014-11-13 01:47:35 UTC
Change 158906 merged by jenkins-bot:
Add support for preloadparams[]

https://gerrit.wikimedia.org/r/158906

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links