/**
  * Checks if a given article has been fixed by a user
  * inside a productivity loop.
  * @param Title $title
  * @return bool
  */
 public function isItemFixed(Title $title)
 {
     $titleText = $title->getText();
     $contentText = (new WikiPage($title))->getText();
     return !UnconvertedInfoboxesPage::isTitleWithNonportableInfobox($titleText, $contentText);
 }
 /**
  * @dataProvider getInfoboxTitles
  */
 public function testIsTitleWithNonportableInfobox($titleText, $contentText, $expected)
 {
     $result = UnconvertedInfoboxesPage::isTitleWithNonportableInfobox($titleText, $contentText);
     $this->assertSame($expected, $result);
 }