mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-24 06:54:00 +00:00
e1a6c9a953
* noPwrapping and noPre existed to reproduce the symptomatic effects of other behavior / semantics in the parsing pipeline. One of that semantic source was the fact that the content being parsed in their own pipeline was being using in inline contexts and p-wrapping and indent-pre generation doesn't make sense in those contexts. The other semantic source was the fact that when the content being parsed in their own pipeline was embedded "inPHPBlock" in the PHP Parser's doBlockLevels sense, i.e. inside a block element that existed on the same wikitext source line. * This patch introduces inPHPBlock and inlineContext as two new parsing pipeline options and uses one or the other or both where appropriate. * No change in parser test results as expected. Change-Id: I2c625456c6593e49b6a247fb9b2f2e3d6021155b |
||
---|---|---|
lib/ext/Cite |