Deprecate use of dynamic properties attached to Parser
commit9bc428fe849bec872143e6d61a0d906f3e90d4f1
authorC. Scott Ananian <cscott@cscott.net>
Fri, 16 Feb 2024 22:00:04 +0000 (16 17:00 -0500)
committerC. Scott Ananian <cscott@cscott.net>
Fri, 12 Apr 2024 19:24:44 +0000 (12 15:24 -0400)
tree39f97b03bc2d56f6c314b9fc97504c2ce2f535af
parent0d975905b1bfb11a50f765cea8c478f58eb9ba89
Deprecate use of dynamic properties attached to Parser

Hack in declared public properties to work around T343229 (use in
Scribunto), T343230 (use in Cite), T343226 (use in TemplateStyles),
T203531 (use in Variables), T203532 (use in Arrays), T203563 (use
in Loops), T359887 (use in HashTables) and T357838 (use in parser
tests) for now, but we can draw a line in the sand and not allow
any further use of this pattern.

Bug: T343227
Depends-On: Ifcb9492cc5c814d702c6e61e8231abfd8ea0647c
Change-Id: I701a27459704839f9f996a171b6982ed17cdd00b
includes/parser/Parser.php