Index: trunk/extensions/Storyboard/specials/StoryReview/StoryReview_body.php |
— | — | @@ -4,6 +4,7 @@ |
5 | 5 | * |
6 | 6 | * @file StoryReview_body.php |
7 | 7 | * @ingroup Storyboard |
| 8 | + * @ingroup SpecialPage |
8 | 9 | * |
9 | 10 | * @author Jeroen De Dauw |
10 | 11 | */ |
— | — | @@ -21,6 +22,8 @@ |
22 | 23 | } |
23 | 24 | |
24 | 25 | public function execute( $language ) { |
| 26 | + wfProfileIn('StoryReview special page'); |
| 27 | + |
25 | 28 | global $wgUser; |
26 | 29 | if ( $wgUser->isAllowed( 'storyreview' ) && !$wgUser->isBlocked() ) { |
27 | 30 | // If the user has the storyreview permission and is not blocked, show the regular output. |
— | — | @@ -30,8 +33,10 @@ |
31 | 34 | global $wgOut; |
32 | 35 | $wgOut->permissionRequired( 'storyreview' ); |
33 | 36 | } |
| 37 | + |
| 38 | + wfProfileOut('StoryReview special page'); |
34 | 39 | } |
35 | | - |
| 40 | + |
36 | 41 | private function addOutput() { |
37 | 42 | global $wgOut; |
38 | 43 | |
Index: trunk/extensions/Storyboard/tags/Storysubmission/Storysubmission_body.php |
— | — | @@ -18,8 +18,11 @@ |
19 | 19 | // http://www.mediawiki.org/wiki/Manual:Forms |
20 | 20 | // http://www.mediawiki.org/wiki/Manual:Hooks/UnknownAction |
21 | 21 | public static function render( $input, $args, $parser, $frame ) { |
| 22 | + |
22 | 23 | return <<<END |
| 24 | +<form name="storysubmission" action="" method="get"> |
23 | 25 | |
| 26 | +</form> |
24 | 27 | END; |
25 | 28 | } |
26 | 29 | |