Brian Wolff has uploaded a new change for review.

Change subject: (bug 34999) Expand triple-brace parameters inside <ref>'s
......................................................................

(bug 34999) Expand triple-brace parameters inside <ref>'s

Ideally this would be done by just passing $frame to recursiveTagParse,
but Cite collects all the ref's and parses at end, so we cannot do
that without restructuring Cite. This calls replaceVariables to
just replace the triple-brace parameters at beginning. I was a bit
iffy about that at first, but it seems to work well.

p.s. New to our great glourious git future, so let me know
if i did anything wrong.

Change-Id: I27723a545a2c4642a955e59ef3a98e5b684671c7
---
M Cite_body.php
M citeParserTests.txt
2 files changed, 33 insertions(+), 8 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Cite 
refs/changes/82/14682/1
--
To view, visit https://gerrit.wikimedia.org/r/14682
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I27723a545a2c4642a955e59ef3a98e5b684671c7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Cite
Gerrit-Branch: master
Gerrit-Owner: Brian Wolff <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to