mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-28 00:40:12 +00:00
eb70a83eb0
In PHP, DOMNode#getAttribute() return '' if the attribute is not present, not null. Audit our uses and try to either explicitly use `|| ''` (which will ensure that PHP behaves the same was as JS) or use `hasAttribute` to explicitly test for the presence of the attribute. Changes have also been ported to PHP from JS. Also added src/Wt2Html/PP/Processors/AddMediaInfo.php which was missing. Change-Id: Ie1ae1df88e4fca70daf97b6f720f28014ebc99ed |
||
---|---|---|
lib/ext/Cite | ||
src/Parsoid |