mediawiki-extensions-AbuseF.../includes/parser
Daimona Eaytoy 6bc630cfef Add aliases for "_text" and "article_" variables
Variables regarding title (full list in task description) are quite
deceiving, since they use "text" instead of "title". As proposed in the
task, this is the first patch to add aliases for those variables and
slightly deprecate the old ones. In the future we may be able to replace
every occurrence (either with a search function or directly on the
database), but even a coexistence would be enough to avoid
confusion. A wfDebug log is generated whenever a deprecated variable is
parsed. The "article_" prefix is also changed to "title_", in the same
way as above.
Also, added a hook which other extension may use to specify their
deprecated variables, which will be handled the same as core ones.

Bug: T173889
Change-Id: I5c370b54e6516889624088e27928ad3a1f48a821
2018-08-21 16:59:56 +02:00
..
AbuseFilterCachingParser.php Compact some other comments 2018-07-17 17:17:44 +02:00
AbuseFilterParser.php Add aliases for "_text" and "article_" variables 2018-08-21 16:59:56 +02:00
AbuseFilterTokenizer.php Use PHP7 ?? operator 2018-05-31 11:53:03 -07:00
AFPData.php Rename lists to arrays 2018-06-26 14:42:23 +02:00
AFPException.php Move various classes to their own files 2016-12-17 11:40:10 -08:00
AFPParserState.php Fix coding conventions exclusion rules 2018-04-20 08:40:18 +00:00
AFPToken.php Compact some other comments 2018-07-17 17:17:44 +02:00
AFPTreeNode.php Compact some other comments 2018-07-17 17:17:44 +02:00
AFPTreeParser.php Fix MediaWiki.Usage.InArrayUsage.Found issues 2018-07-29 15:19:09 -07:00
AFPUserVisibleException.php Stop computing removed variables and show custom error message 2018-06-26 20:02:31 +02:00