Index: trunk/extensions/VariablePage/VariablePage.php |
— | — | @@ -3,10 +3,10 @@ |
4 | 4 | * Lightweight variable page redirection |
5 | 5 | */ |
6 | 6 | |
7 | | -//Alert the user that this is not a valid entry point to MediaWiki if they try to access the special pages file directly. |
| 7 | +//Alert the user that this is not a valid entry point to MediaWiki if they try to access the setup file directly. |
8 | 8 | if ( !defined( 'MEDIAWIKI' ) ) { |
9 | 9 | echo <<<EOT |
10 | | -To install my extension, put the following line in LocalSettings.php: |
| 10 | +To install this extension, put the following line in LocalSettings.php: |
11 | 11 | require_once( "\$IP/extensions/VariablePage/VariablePage.php" ); |
12 | 12 | EOT; |
13 | 13 | exit( 1 ); |
— | — | @@ -21,7 +21,7 @@ |
22 | 22 | ); |
23 | 23 | |
24 | 24 | /** |
25 | | - * An array of pages and the probability of a user being redirected to it. |
| 25 | + * An array of pages and the probability of a user being redirected to each page. |
26 | 26 | * |
27 | 27 | * The key in the array is the full URL path, the value is an integer representing |
28 | 28 | * a percentage (0-100) probability of a user being redirected to that page. |
— | — | @@ -40,7 +40,7 @@ |
41 | 41 | * |
42 | 42 | * This can be set to whatever string you wish to use for utm_medium |
43 | 43 | */ |
44 | | -$wgVariablePageUtmMedium; |
| 44 | +$wgVariablePageUtmMedium = ''; |
45 | 45 | |
46 | 46 | |
47 | 47 | $dir = dirname( __FILE__ ) . '/'; |