Daimona Eaytoy
15e4968ee9
parser: Declare some dynamic properties
...
Mostly via the @property annotation. This is to make phan a little
happier.
Change-Id: I3fde33955240dab20870821e9db93caba163845b
2019-09-08 19:03:03 +00:00
Umherirrender
94683c3d56
parser: Document PPFrame_DOM::expand() as taking DOMNodeList
...
Caught by PhanTypeMismatchArgument, to be enabled with I34d65fe3ff191.
Change-Id: Ifa41f1c8a099a8d6c4e37052c8d93dc8473ec4f0
2019-09-08 04:04:06 +00:00
Daimona Eaytoy
c659bc6308
Unsuppress another phan issue (part 7)
...
Bug: T231636
Depends-On: I2cd24e73726394e3200a570c45d5e86b6849bfa9
Depends-On: I4fa3e6aad872434ca397325ed7a83f94973661d0
Change-Id: Ie6233561de78457cae5e4e44e220feec2d1272d8
2019-09-03 17:19:21 +00:00
Daimona Eaytoy
5eac6d131c
Unsuppress more phan issues (part 3)
...
Bug: T231636
Depends-On: I78354bf5f0c831108c8f606e50c87cf6bc00d8bd
Change-Id: I58e67c2b38389df874438deada4239510d21654f
2019-08-31 16:38:55 +00:00
Fomafix
d2b0f2960b
Use ->getTitle() instead of ->mTitle to get the title from Parser
...
This allows to make mTitle a private property.
Change-Id: If953546cf4bb0324e4ae41d2195254c37c0ad3b4
2019-08-27 12:29:39 +02:00
Umherirrender
dd25f3df6b
Improve type hints in parser related classes
...
Change-Id: Ia07a2eb32894f96b195fa3189fb5f617e68f2581
2019-07-05 21:29:32 +00:00
C. Scott Ananian
53fe91ded5
Hard deprecate Preprocessor_DOM
...
The Preprocessor_DOM implementation doesn't interact well with PHP memory
profiling, and has some limitations not present in the Preprocessor_Hash
implementation (see T216664). There is no reason to keep around two
versions of the preprocessor: it just complicates on-going wikitext
feature development.
Hard deprecate use of Preprocessor_DOM, so we can remove the redundant
code in a future release.
Bug: T204945
Depends-On: Id38c9360e4d02b570996dbf7a660f964f02f1a2c
Change-Id: Ica5d1ad5b1e677542962fc36d582a793f941155e
2019-06-14 12:21:40 -04:00
Zoranzoki21
4226fada45
Split parser related files to have one class in one file
...
Change-Id: I36b26609ccb3f135a22961b32a46cdc06603b3e4
2019-04-27 00:41:47 +00:00