Dereckson has submitted this change and it was merged.

Change subject: Added functionality for user inputs.
......................................................................


Added functionality for user inputs.

The user can now add inputs. It will be in the following format:

{{#snippet:repository=MYREPO|file=MYFILE|branch=MYBRANCH|start=START|end=END}}

Position does not matter and currently every input is optional. The code will
recieve all values in $parser and will separately parse through the elements in
function extractOptions.

extractOptions will make a dictionary of the values and will pass it back to
PullContentFromRepo.

Change-Id: Ic443df0dcf6d86157c87c1ae06e100a62b2c6f24
---
M Git2Pages.body.php
1 file changed, 36 insertions(+), 18 deletions(-)

Approvals:
  Dereckson: Verified; Looks good to me, approved


--
To view, visit https://gerrit.wikimedia.org/r/43589
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic443df0dcf6d86157c87c1ae06e100a62b2c6f24
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/Git2Pages
Gerrit-Branch: master
Gerrit-Owner: Terrrydactyl <tcho...@gmail.com>
Gerrit-Reviewer: Dereckson <dereck...@espace-win.org>
Gerrit-Reviewer: Siebrand <siebr...@wikimedia.org>
Gerrit-Reviewer: Terrrydactyl <tcho...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to