Index: trunk/extensions/TweetANew/settings.php |
— | — | @@ -1,46 +0,0 @@ |
2 | | -<?php |
3 | | -/******************************************************************************** |
4 | | - * Settings.php Section 1: |
5 | | - * Fille in this section then login to twitter and use auth.php to authorize |
6 | | - * this script to post updates. |
7 | | - ********************************************************************************/ |
8 | | -session_start(); |
9 | | -/* Consumer key from twitter */ |
10 | | -$consumer_key = ''; |
11 | | -/* Consumer Secret from twitter */ |
12 | | -$consumer_secret = ''; |
13 | | - |
14 | | -/******************************************************************************** |
15 | | - * Settings.php Section 2: |
16 | | - * After you have run auth.php and authorizes the script to post updated to your |
17 | | - * twitter account, the script will tell you what to enter below. |
18 | | - ********************************************************************************/ |
19 | | -$oauth_access_token = ''; |
20 | | -$oauth_access_token_secret = ''; |
21 | | - |
22 | | -/******************************************************************************** |
23 | | - * Settings.php Section 3: |
24 | | - * Do not edit below |
25 | | - ********************************************************************************/ |
26 | | - |
27 | | -/* Set up placeholder */ |
28 | | -$content = NULL; |
29 | | -/* Set state if previous session */ |
30 | | -$state = $_SESSION['oauth_state']; |
31 | | -/* Checks if oauth_token is set from returning from twitter */ |
32 | | -$session_token = $_SESSION['oauth_request_token']; |
33 | | -/* Checks if oauth_token is set from returning from twitter */ |
34 | | -$oauth_token = $_REQUEST['oauth_token']; |
35 | | -/* Set section var */ |
36 | | -$section = $_REQUEST['section']; |
37 | | - |
38 | | -$wgExtensionCredits['other'][] = array( |
39 | | - 'path' => __FILE__, |
40 | | - 'name' => 'wiki2twitter', |
41 | | - 'version' => '1.0.1', |
42 | | - 'author' => 'Wendell Gaudencio', |
43 | | - 'description' => 'This extension posts twitter updates when someone makes an edit.', |
44 | | - 'descriptionurl' => '', |
45 | | - 'url' => 'http://code.google.com/p/wiki2twitter/', |
46 | | -); |
47 | | -?> |
\ No newline at end of file |