Terrrydactyl has uploaded a new change for review. 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, 34 insertions(+), 10 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Git2Pages refs/changes/89/43589/1 -- To view, visit https://gerrit.wikimedia.org/r/43589 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ic443df0dcf6d86157c87c1ae06e100a62b2c6f24 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Git2Pages Gerrit-Branch: master Gerrit-Owner: Terrrydactyl <tcho...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits