Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 4
0.00% covered (danger)
0.00%
0 / 1
CRAP
0.00% covered (danger)
0.00%
0 / 1
StoryEditAction
0.00% covered (danger)
0.00%
0 / 4
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
 show
0.00% covered (danger)
0.00%
0 / 4
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2
3namespace MediaWiki\Extension\Wikistories;
4
5class StoryEditAction extends \EditAction {
6
7    public function show() {
8        $this->useTransactionalTimeLimit();
9        $editPage = new StoryEditPage( $this->getArticle() );
10        $editPage->setContextTitle( $this->getTitle() );
11        $editPage->edit();
12    }
13
14}