Index: trunk/extensions/TweetANew/TweetANew.i18n.php |
— | — | @@ -12,22 +12,22 @@ |
13 | 13 | * @author Gregory Varnum |
14 | 14 | */ |
15 | 15 | $messages['en'] = array( |
16 | | - 'tweetanew-desc' => 'Tweets when an article is created or edited. Depending on preferences set for the entire wiki, either automatically or from the edit page.', |
17 | | - 'tweetanew-accesskey' => 'e', |
18 | | - 'tweetanew-newaction' => 'Tweet about this new article', |
19 | | - 'tweetanew-newtooltip' => 'Send information about this new article to Twitter [alt-e]', |
20 | | - 'tweetanew-editaction' => 'Tweet about this edit', |
21 | | - 'tweetanew-edittooltip' => 'Send information about this edit to Twitter [alt-e]', |
22 | | - 'tweetanew-minoredit' => 'm', |
23 | | - 'tweetanew-authorcredit' => 'by', |
24 | | - 'tweetanew-newdefault' => 'NEW ARTICLE: $1 - $2', |
25 | | - 'tweetanew-new1' => 'Looks like $1 was created at $2', |
26 | | - 'tweetanew-new2' => '$1 was recently created at $2', |
27 | | - 'tweetanew-new3' => 'Check out $2 - it has a new article on $1', |
28 | | - 'tweetanew-editdefault' => 'UPDATED ARTICLE: $1 - $2', |
29 | | - 'tweetanew-edit1' => 'Looks like $1 was updated at $2', |
30 | | - 'tweetanew-edit2' => '$1 was recently changed at $2', |
31 | | - 'tweetanew-edit3' => 'Check out $2 - it has some new content on $1', |
| 16 | + 'tweetanew-desc' => 'Tweets when an page is created or edited. Depending on preferences set for the entire wiki, either automatically or from the edit page.', |
| 17 | + 'tweetanew-accesskey' => 'e', |
| 18 | + 'tweetanew-newaction' => 'Tweet about this new page', |
| 19 | + 'tweetanew-newtooltip' => 'Send information about this new page to Twitter', |
| 20 | + 'tweetanew-editaction' => 'Tweet about this edit', |
| 21 | + 'tweetanew-edittooltip' => 'Send information about this edit to Twitter', |
| 22 | + 'tweetanew-minoredit' => 'm', |
| 23 | + 'tweetanew-authorcredit' => 'by', |
| 24 | + 'tweetanew-newdefault' => 'NEW PAGE: $1 - $2', |
| 25 | + 'tweetanew-new1' => 'Looks like $1 was created at $2', |
| 26 | + 'tweetanew-new2' => '$1 was recently created at $2', |
| 27 | + 'tweetanew-new3' => 'Check out $2 - it has a new page on $1', |
| 28 | + 'tweetanew-editdefault' => 'UPDATED PAGE: $1 - $2', |
| 29 | + 'tweetanew-edit1' => 'Looks like $1 was updated at $2', |
| 30 | + 'tweetanew-edit2' => '$1 was recently changed at $2', |
| 31 | + 'tweetanew-edit3' => 'Check out $2 - it has some new content on $1', |
32 | 32 | ); |
33 | 33 | |
34 | 34 | /** Message documentation (Message documentation) |
— | — | @@ -36,34 +36,34 @@ |
37 | 37 | $messages['qqq'] = array( |
38 | 38 | 'tweetanew-desc' => '{{desc}}', |
39 | 39 | 'tweetanew-accesskey' => 'Access key used for option to tweet from editpage, if otherwise enabled', |
40 | | - 'tweetanew-newaction' => 'Used in editpage as description for option to tweet, if auto-tweet is disabled for new articles', |
41 | | - 'tweetanew-newtooltip' => 'Tooltip describing option to tweet about new article from edit page, if otherwise enabled', |
| 40 | + 'tweetanew-newaction' => 'Used in editpage as description for option to tweet, if auto-tweet is disabled for new page', |
| 41 | + 'tweetanew-newtooltip' => 'Tooltip describing option to tweet about new page from edit page, if otherwise enabled', |
42 | 42 | 'tweetanew-editaction' => 'Used in editpage as description for option to tweet, if auto-tweet is disabled for edits', |
43 | 43 | 'tweetanew-edittooltip' => 'Tooltip describing option to tweet about edit from edit page, if otherwise enabled', |
44 | 44 | 'tweetanew-minoredit' => 'Indicator used when edit is marked as minor, if minor edits are not already skipped - skip following indicator can be removed using MinorSpace setting', |
45 | | - 'tweetanew-authorcredit' => 'Used to provide credit to author of edit or new article', |
46 | | - 'tweetanew-newdefault' => 'Default tweet message used for new articles, if random messages are disabled. Parameters: |
47 | | -* $1 is title of the new article |
48 | | -* $2 is the final URL of the new article - shortened if a service is enabled via this extension', |
49 | | - 'tweetanew-new1' => 'First random tweet message used for new articles, if random messages are enabled. Parameters: |
50 | | -* $1 is title of the new article |
51 | | -* $2 is the final URL of the new article - shortened if a service is enabled via this extension', |
52 | | - 'tweetanew-new2' => 'Second random tweet message used for new articles, if random messages are enabled. Parameters: |
53 | | -* $1 is title of the new article |
54 | | -* $2 is the final URL of the new article - shortened if a service is enabled via this extension', |
55 | | - 'tweetanew-new3' => 'Third random tweet message used for new articles, if random messages are enabled. Parameters: |
56 | | -* $1 is title of the new article |
57 | | -* $2 is the final URL of the new article - shortened if a service is enabled via this extension', |
58 | | - 'tweetanew-editdefault' => 'Default tweet message used for edited articles, if random messages are disabled. Parameters: |
59 | | -* $1 is title of the new article |
60 | | -* $2 is the final URL of the new article - shortened if a service is enabled via this extension', |
61 | | - 'tweetanew-edit1' => 'First random tweet message used for edited articles, if random messages are enabled. Parameters: |
62 | | -* $1 is title of the new article |
63 | | -* $2 is the final URL of the new article - shortened if a service is enabled via this extension', |
64 | | - 'tweetanew-edit2' => 'Second random tweet message used for edited articles, if random messages are enabled. Parameters: |
65 | | -* $1 is title of the new article |
66 | | -* $2 is the final URL of the new article - shortened if a service is enabled via this extension', |
67 | | - 'tweetanew-edit3' => 'Third random tweet message used for edited articles, if random messages are enabled. Parameters: |
68 | | -* $1 is title of the new article |
69 | | -* $2 is the final URL of the new article - shortened if a service is enabled via this extension', |
70 | | -); |
\ No newline at end of file |
| 45 | + 'tweetanew-authorcredit' => 'Used to provide credit to author of edit or new page', |
| 46 | + 'tweetanew-newdefault' => 'Default tweet message used for new page, if random messages are disabled. Parameters: |
| 47 | +* $1 is title of the new page |
| 48 | +* $2 is the final URL of the new page - shortened if a service is enabled via this extension', |
| 49 | + 'tweetanew-new1' => 'First random tweet message used for new pages, if random messages are enabled. Parameters: |
| 50 | +* $1 is title of the new page |
| 51 | +* $2 is the final URL of the new page - shortened if a service is enabled via this extension', |
| 52 | + 'tweetanew-new2' => 'Second random tweet message used for new pages, if random messages are enabled. Parameters: |
| 53 | +* $1 is title of the new page |
| 54 | +* $2 is the final URL of the new page - shortened if a service is enabled via this extension', |
| 55 | + 'tweetanew-new3' => 'Third random tweet message used for new pages, if random messages are enabled. Parameters: |
| 56 | +* $1 is title of the new page |
| 57 | +* $2 is the final URL of the new page - shortened if a service is enabled via this extension', |
| 58 | + 'tweetanew-editdefault' => 'Default tweet message used for edited pages, if random messages are disabled. Parameters: |
| 59 | +* $1 is title of the new page |
| 60 | +* $2 is the final URL of the new page - shortened if a service is enabled via this extension', |
| 61 | + 'tweetanew-edit1' => 'First random tweet message used for edited pages, if random messages are enabled. Parameters: |
| 62 | +* $1 is title of the new page |
| 63 | +* $2 is the final URL of the new page - shortened if a service is enabled via this extension', |
| 64 | + 'tweetanew-edit2' => 'Second random tweet message used for edited pages, if random messages are enabled. Parameters: |
| 65 | +* $1 is title of the new page |
| 66 | +* $2 is the final URL of the new page - shortened if a service is enabled via this extension', |
| 67 | + 'tweetanew-edit3' => 'Third random tweet message used for edited pages, if random messages are enabled. Parameters: |
| 68 | +* $1 is title of the new page |
| 69 | +* $2 is the final URL of the new page - shortened if a service is enabled via this extension', |
| 70 | +); |
Index: trunk/extensions/TweetANew/TweetANew.php |
— | — | @@ -159,11 +159,12 @@ |
160 | 160 | * |
161 | 161 | */ |
162 | 162 | |
163 | | - $wgExtensionCredits['other'][] = array( |
| 163 | +$wgExtensionCredits['other'][] = array( |
| 164 | + 'path' => __FILE__, |
164 | 165 | 'name' => 'TweetANew', |
165 | 166 | 'version' => '1.0.20111228-experimental', |
166 | 167 | 'author' => '[https://www.mediawiki.org/wiki/User:Varnent Gregory Varnum] merging extensions by [https://www.mediawiki.org/wiki/User:Joa_ds Joachim De Schrijver], Andrew Fitzgerald, Wendell Gaudencio, and Rohit Keshwani', |
167 | | - 'description' => 'Tweets when an article is created or edited. Depending on preferences set for the entire wiki, either automatically or from the edit page.', |
| 168 | + 'descriptionmsg' => 'tweetanew-desc', |
168 | 169 | 'url' => 'https://www.mediawiki.org/wiki/Extension:TweetANew', |
169 | 170 | ); |
170 | 171 | |