wiki.techinc.nl/includes/parser
Subramanya Sastry 98b3ddd7c7 Added Parsoid support for nowiki stripping in args of {{#tag:ext|...}}
* This patch relies on extensions setting a flag in their Parsoid ext.
  config indicating that a specific tag handler needs nowikis stripped
  from #tag arguments.

  In the #tag parser function implementation, Parsoid's SiteConfig is
  looked up to see if nowiki needs to be stripped.

* This need not be limited to nowikis, but to support extension use in
  {{#tag:ext|...}} more generally, we would need to either
  (a) implement the #tag parser function in Parsoid natively; OR
  (b) find a way to call Parsoid from extensionSubstitution

  Soln (a) needs Parsoid to support parser functions natively.

  If this general support becomes necessary, a later patch can
  generalize this appropriately.

Bug: T272939
Bug: T299103
Depends-On: I6a653889afd42fefb61daefd8ac842107dce8759
Depends-On: I56043e0cb7d355a3f0d08e429bb1dbba6acb4fba
Change-Id: I614153af67b5a14f33b7dfc04bd00dd9e03557d0
2022-08-20 20:56:54 -05:00
..
Hook ParserGetVariableValueSwitchHook: Don't use the cache parameter 2022-08-16 17:12:32 -04:00
Parsoid Move transformHtmlToWikitext() and getSelserData() to HTMLTransform 2022-08-11 07:50:53 +01:00
BlockLevelPass.php phan: Disable null_casts_as_any_type setting 2022-03-21 18:25:07 +00:00
CacheTime.php Use MainConfigNames instead of string literals, #4 2022-04-26 19:03:37 +03:00
CoreMagicVariables.php Add {{=}} as a built-in magic word 2022-05-20 13:08:20 -04:00
CoreParserFunctions.php Added Parsoid support for nowiki stripping in args of {{#tag:ext|...}} 2022-08-20 20:56:54 -05:00
CoreTagHooks.php Deprecate Parser::getFreshParser() 2022-07-05 14:09:36 +10:00
DateFormatter.php DateFormatter: Move non-changing code out of anonymous function 2022-08-10 09:18:10 +02:00
DateFormatterFactory.php
LinkHolderArray.php parser: Use SelectQueryBuilder instead of IDatabase::select 2022-08-19 20:49:52 +01:00
MWTidy.php Deprecate MWTidy and TidyDriverBase::supportsValidate() 2021-03-16 12:29:55 -07:00
Parser.php Added Parsoid support for nowiki stripping in args of {{#tag:ext|...}} 2022-08-20 20:56:54 -05:00
ParserCache.php ParserCache: ensure we know a revision ID 2022-06-27 13:29:25 +00:00
ParserCacheFactory.php ParserCache: always use JSON 2022-06-07 15:19:45 +02:00
ParserCacheMetadata.php Deprecate ParserCache::getKey and replace it with getMetadata 2020-10-13 08:31:22 -07:00
ParserFactory.php Deprecate Parser::getFreshParser() 2022-07-05 14:09:36 +10:00
ParserObserver.php parser: Avoid pushing the whole content to ParserObserver debug log 2022-05-18 22:07:57 +00:00
ParserOptions.php ParserOption/ParserOutput flag to suppress or hide the table of contents 2022-07-21 15:29:11 -04:00
ParserOutput.php Merge "ParserOutput::mergeMapStrategy - use a more robust comparison for objects" 2022-07-21 02:51:31 +00:00
ParserOutputFlags.php ParserOutputFlags: change HIDE_TOC to SHOW_TOC 2022-07-27 18:45:59 -04:00
PPCustomFrame_Hash.php Improve docs from parser objects PPNode/PPFrame 2021-02-01 19:37:33 +00:00
PPDPart_Hash.php preprocessor: Add missing field declarations 2022-07-29 02:53:04 +02:00
PPDStack_Hash.php Follow-up 5cbb64f56: Remove unused preprocessor classes 2021-09-07 08:17:50 -07:00
PPDStackElement_Hash.php preprocessor: Add missing field declarations 2022-07-29 02:53:04 +02:00
PPFrame.php Added Parsoid support for nowiki stripping in args of {{#tag:ext|...}} 2022-08-20 20:56:54 -05:00
PPFrame_Hash.php Added Parsoid support for nowiki stripping in args of {{#tag:ext|...}} 2022-08-20 20:56:54 -05:00
PPNode.php Improve type hints in parser related classes 2019-07-05 21:29:32 +00:00
PPNode_Hash_Array.php Using @return never documentation on always-throw-function 2021-09-07 17:29:03 +02:00
PPNode_Hash_Attr.php PHP 8.1: add ENT_COMPAT to some htmlspecialchars() calls 2022-01-25 16:30:44 +11:00
PPNode_Hash_Text.php PHP 8.1: add ENT_COMPAT to some htmlspecialchars() calls 2022-01-25 16:30:44 +11:00
PPNode_Hash_Tree.php PHP 8.1: add ENT_COMPAT to some htmlspecialchars() calls 2022-01-25 16:30:44 +11:00
PPTemplateFrame_Hash.php Improve docs from parser objects PPNode/PPFrame 2021-02-01 19:37:33 +00:00
Preprocessor.php phan: Disable null_casts_as_any_type setting 2022-03-21 18:25:07 +00:00
Preprocessor_Hash.php Use str_starts_with/str_ends_with 2022-05-02 10:59:58 +03:00
RemexRemoveTagHandler.php Add Sanitizer::removeSomeTags() which uses Remex to tokenize 2022-03-04 14:06:02 -05:00
RemexStripTagHandler.php Add Sanitizer::removeSomeTags() which uses Remex to tokenize 2022-03-04 14:06:02 -05:00
RevisionOutputCache.php Clarify debug message 2022-03-25 23:23:51 +01:00
Sanitizer.php Various whitespace changes 2022-07-12 20:07:23 +02:00
StripState.php parser: Fix various scalar types to match documentation 2022-03-14 20:20:06 +00:00