MobileFrontend
Mobile optimised frontend for MediaWiki
Loading...
Searching...
No Matches
MobileFrontend\Transforms\MoveLeadParagraphTransform Class Reference
+ Inheritance diagram for MobileFrontend\Transforms\MoveLeadParagraphTransform:
+ Collaboration diagram for MobileFrontend\Transforms\MoveLeadParagraphTransform:

Public Member Functions

 __construct ( $title, $revId)
 
 apply (DOMElement $node)
 Rearranges content so that text in the lead paragraph is prioritised to appear before the infobox.
 

Constructor & Destructor Documentation

◆ __construct()

MobileFrontend\Transforms\MoveLeadParagraphTransform::__construct ( $title,
$revId )
Parameters
Title | string$titlefor logging purposes
int$revIdfor logging purposes

Member Function Documentation

◆ apply()

MobileFrontend\Transforms\MoveLeadParagraphTransform::apply ( DOMElement $node)

Rearranges content so that text in the lead paragraph is prioritised to appear before the infobox.

Lead

Parameters
DOMElement$nodeto be transformed

Implements MobileFrontend\Transforms\IMobileTransform.


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