Index: trunk/extensions/FirefoggChunkedUpload/tests/UploadFromChunksTest.php |
— | — | @@ -1,4 +1,7 @@ |
2 | 2 | <?php |
| 3 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 4 | + exit; |
| 5 | +} |
3 | 6 | |
4 | 7 | global $IP; |
5 | 8 | require_once( "$IP/maintenance/tests/ApiSetup.php" ); |
Index: trunk/extensions/TimedMediaHandler/tests/phpunit/ApiTestCaseVideoUpload.php |
— | — | @@ -4,6 +4,10 @@ |
5 | 5 | * @author dale |
6 | 6 | */ |
7 | 7 | |
| 8 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 9 | + exit; |
| 10 | +} |
| 11 | + |
8 | 12 | // Include core class ApiTestCaseUpload ( not part of base autoLoader ) |
9 | 13 | global $IP; |
10 | 14 | require_once( "$IP/tests/phpunit/includes/api/ApiTestCaseUpload.php" ); |
Index: trunk/extensions/Cassandra/Cassandra_body.php |
— | — | @@ -1,4 +1,7 @@ |
2 | 2 | <?php |
| 3 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 4 | + exit; |
| 5 | +} |
3 | 6 | |
4 | 7 | global $wgThriftRoot, $wgAutoloadClasses; |
5 | 8 | $GLOBALS['THRIFT_ROOT'] = $wgThriftRoot; |
— | — | @@ -115,4 +118,4 @@ |
116 | 119 | . "\n\nStack trace: " . $e->getTraceAsString() |
117 | 120 | ); |
118 | 121 | } |
119 | | -} |
\ No newline at end of file |
| 122 | +} |
Index: trunk/extensions/Cassandra/lib/cassandra_constants.php |
— | — | @@ -1,4 +1,7 @@ |
2 | 2 | <?php |
| 3 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 4 | + exit; |
| 5 | +} |
3 | 6 | /** |
4 | 7 | * Autogenerated by Thrift |
5 | 8 | * |
— | — | @@ -10,4 +13,4 @@ |
11 | 14 | |
12 | 15 | $GLOBALS['cassandra_CONSTANTS']['VERSION'] = "0.5.1"; |
13 | 16 | |
14 | | -?> |
\ No newline at end of file |
| 17 | +?> |
Index: trunk/extensions/Cassandra/lib/Cassandra.php |
— | — | @@ -1,4 +1,8 @@ |
2 | 2 | <?php |
| 3 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 4 | + exit; |
| 5 | +} |
| 6 | + |
3 | 7 | /** |
4 | 8 | * Autogenerated by Thrift |
5 | 9 | * |
— | — | @@ -4584,4 +4588,4 @@ |
4585 | 4589 | |
4586 | 4590 | } |
4587 | 4591 | |
4588 | | -?> |
\ No newline at end of file |
| 4592 | +?> |
Index: trunk/extensions/Cassandra/lib/cassandra_types.php |
— | — | @@ -1,4 +1,7 @@ |
2 | 2 | <?php |
| 3 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 4 | + exit; |
| 5 | +} |
3 | 6 | /** |
4 | 7 | * Autogenerated by Thrift |
5 | 8 | * |
— | — | @@ -1168,4 +1171,4 @@ |
1169 | 1172 | |
1170 | 1173 | } |
1171 | 1174 | |
1172 | | -?> |
\ No newline at end of file |
| 1175 | +?> |
Index: trunk/extensions/ParserFunctions/ParserFunctions.i18n.magic.php |
— | — | @@ -436,4 +436,4 @@ |
437 | 437 | 'ifexist' => array( 0, 'עקזיסט', 'קיים' ), |
438 | 438 | 'time' => array( 0, 'צייט', 'זמן' ), |
439 | 439 | 'timel' => array( 0, 'צייטל', 'זמןמ' ), |
440 | | -); |
\ No newline at end of file |
| 440 | +); |
Index: trunk/extensions/HtmlUi/templates/HtmlUiFieldset.php |
— | — | @@ -1,3 +1,4 @@ |
| 2 | +<?php if ( !defined( 'MEDIAWIKI' ) ) exit; ?> |
2 | 3 | <fieldset class="htmlUiFieldset" rel="<?php echo $id ?>"> |
3 | 4 | <?php foreach( $elements as $element ): ?> |
4 | 5 | <?php echo $element->render(); ?> |
Index: trunk/extensions/HtmlUi/templates/HtmlUiForm.php |
— | — | @@ -1,3 +1,4 @@ |
| 2 | +<?php if ( !defined( 'MEDIAWIKI' ) ) exit; ?> |
2 | 3 | <form class="htmlUiForm"<?php self::attributes( $attributes ) ?>> |
3 | 4 | <?php foreach( $elements as $element ): ?> |
4 | 5 | <?php echo $element->render(); ?> |