| Conditions | 4 |
| Paths | 3 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 4 |
| Changes | 3 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 51 | 3 | public function modifyOutput( OutputPage $outputPage ) { |
|
| 52 | |||
| 53 | 3 | $outputPage->addModuleStyles( 'ext.semanticbreadcrumblinks' ); |
|
| 54 | 3 | $outputPage->addModules( 'ext.semanticbreadcrumblinks' ); |
|
| 55 | |||
| 56 | 3 | if ( !$this->hideSubpageParentState || !$this->hasSubpageEnabledNamespace( $outputPage->getTitle()->getNamespace() ) ) { |
|
| 57 | 2 | return; |
|
| 58 | } |
||
| 59 | |||
| 60 | 1 | if ( $outputPage->getTitle()->isSubpage() ) { |
|
| 61 | 1 | $outputPage->setPageTitle( $this->getPageTitle( $outputPage->getTitle() ) ); |
|
| 62 | 1 | } |
|
| 63 | 1 | } |
|
| 64 | |||
| 86 |