| @@ 384-397 (lines=14) @@ | ||
| 381 | ); |
|
| 382 | } |
|
| 383 | ||
| 384 | if ( $hasRedirects ) { |
|
| 385 | $fields[] = new OOUI\FieldLayout( |
|
| 386 | new OOUI\CheckboxInputWidget( [ |
|
| 387 | 'name' => 'wpFixRedirects', |
|
| 388 | 'id' => 'wpFixRedirects', |
|
| 389 | 'value' => '1', |
|
| 390 | 'selected' => $this->fixRedirects, |
|
| 391 | ] ), |
|
| 392 | [ |
|
| 393 | 'label' => $this->msg( 'fix-double-redirects' )->text(), |
|
| 394 | 'align' => 'inline', |
|
| 395 | ] |
|
| 396 | ); |
|
| 397 | } |
|
| 398 | ||
| 399 | if ( $canMoveSubpage ) { |
|
| 400 | $maximumMovedPages = $this->getConfig()->get( 'MaximumMovedPages' ); |
|
| @@ 446-458 (lines=13) @@ | ||
| 443 | $hiddenFields .= Html::hidden( 'wpMoveOverSharedFile', '1' ); |
|
| 444 | } |
|
| 445 | ||
| 446 | if ( $deleteAndMove ) { |
|
| 447 | $fields[] = new OOUI\FieldLayout( |
|
| 448 | new OOUI\CheckboxInputWidget( [ |
|
| 449 | 'name' => 'wpDeleteAndMove', |
|
| 450 | 'id' => 'wpDeleteAndMove', |
|
| 451 | 'value' => '1', |
|
| 452 | ] ), |
|
| 453 | [ |
|
| 454 | 'label' => $this->msg( 'delete_and_move_confirm' )->text(), |
|
| 455 | 'align' => 'inline', |
|
| 456 | ] |
|
| 457 | ); |
|
| 458 | } |
|
| 459 | ||
| 460 | $fields[] = new OOUI\FieldLayout( |
|
| 461 | new OOUI\ButtonInputWidget( [ |
|