Parsoid
A bidirectional parser between wikitext and HTML5
Loading...
Searching...
No Matches
Wikimedia\Parsoid\Utils\ComputeSelectiveStats Class Reference

This file contains code to classify opportunities for selective update and collect statistics. More...

Static Public Member Functions

static classify (Env $env, ?PageConfig $oldPage, ?PageBundle $oldPb, PageConfig $newPage, PageBundle $newPb)
 
static filterUserAgent (?string $userAgent)
 Restrict the cardinality of user agent labels.
 

Detailed Description

This file contains code to classify opportunities for selective update and collect statistics.

Member Function Documentation

◆ classify()

static Wikimedia\Parsoid\Utils\ComputeSelectiveStats::classify ( Env $env,
?PageConfig $oldPage,
?PageBundle $oldPb,
PageConfig $newPage,
PageBundle $newPb )
static
Returns
array<string,string>

The documentation for this class was generated from the following file: