More fixes after the offset patch


More fixes after the offset patch

  • We don't have nested transclusions, but you can get extension content nested in transclusion. This threw off the last fix in 273bebe4ad674602b3686fed512a9afa8c10c139 where it was assumed that a first encapsulation wrapper wouldn't be found in an about sibling of another, violating the assertion that dp would always be present (we strip dp from about siblings).
  • Ex. echo "{{Demografia/Apricale}}" | node parse --prefix itwiki

Change-Id: I9e87c2e6915c55861bce68be2ccd6ec978e117b0