Index: trunk/extensions/AjaxShowEditors/Load.php |
— | — | @@ -1,22 +0,0 @@ |
2 | | -<?php |
3 | | -if ( !defined( 'MEDIAWIKI' ) ) die( 1 ); |
4 | | - |
5 | | -/** Number of seconds before an user is considered as no more editing */ |
6 | | -$wgAjaxShowEditorsTimeout = 60; |
7 | | - |
8 | | -$wgExtensionCredits['other'][] = array( |
9 | | - 'path' => __FILE__, |
10 | | - 'name' => 'Ajax Show Editors', |
11 | | - 'url' => 'http://www.mediawiki.org/wiki/Extension:AjaxShowEditors', |
12 | | - 'author' => 'Ashar Voultoiz', |
13 | | - 'descriptionmsg' => 'ajax-se-desc', |
14 | | -); |
15 | | - |
16 | | -$dir = dirname( __FILE__ ) . '/'; |
17 | | -$wgExtensionMessagesFiles['AjaxShowEditors'] = $dir . 'AjaxShowEditors.i18n.php'; |
18 | | - |
19 | | -// Load the ajax responder and register it |
20 | | -require_once( $dir . 'Response.php' ); |
21 | | - |
22 | | -// Load the hooks |
23 | | -require_once( $dir . 'Hooks.php' ); |
Index: trunk/extensions/AjaxShowEditors/AjaxShowEditors.php |
— | — | @@ -0,0 +1,22 @@ |
| 2 | +<?php |
| 3 | +if ( !defined( 'MEDIAWIKI' ) ) die( 1 ); |
| 4 | + |
| 5 | +/** Number of seconds before an user is considered as no more editing */ |
| 6 | +$wgAjaxShowEditorsTimeout = 60; |
| 7 | + |
| 8 | +$wgExtensionCredits['other'][] = array( |
| 9 | + 'path' => __FILE__, |
| 10 | + 'name' => 'Ajax Show Editors', |
| 11 | + 'url' => 'http://www.mediawiki.org/wiki/Extension:AjaxShowEditors', |
| 12 | + 'author' => 'Ashar Voultoiz', |
| 13 | + 'descriptionmsg' => 'ajax-se-desc', |
| 14 | +); |
| 15 | + |
| 16 | +$dir = dirname( __FILE__ ) . '/'; |
| 17 | +$wgExtensionMessagesFiles['AjaxShowEditors'] = $dir . 'AjaxShowEditors.i18n.php'; |
| 18 | + |
| 19 | +// Load the ajax responder and register it |
| 20 | +require_once( $dir . 'Response.php' ); |
| 21 | + |
| 22 | +// Load the hooks |
| 23 | +require_once( $dir . 'Hooks.php' ); |
Property changes on: trunk/extensions/AjaxShowEditors/AjaxShowEditors.php |
___________________________________________________________________ |
Name: svn:eol-style |
1 | 24 | + native |
Name: svn:keywords |
2 | 25 | + LastChangedDate LastChangedRevision |
Index: trunk/extensions/AjaxShowEditors/README |
— | — | @@ -13,6 +13,6 @@ |
14 | 14 | |
15 | 15 | Then you can enable the extension in your LocalSettings.php: |
16 | 16 | |
17 | | - require_once('extensions/AjaxShowEditors/Load.php'); |
| 17 | + require_once('extensions/AjaxShowEditors/AjaxShowEditors.php'); |
18 | 18 | |
19 | 19 | Then go edit a page. |
Index: trunk/extensions/Configure/settings/Settings-ext.txt |
— | — | @@ -48,7 +48,6 @@ |
49 | 49 | url = http://www.mediawiki.org/wiki/Extension:AjaxQueryPages |
50 | 50 | |
51 | 51 | AjaxShowEditors |
52 | | -file = Load.php |
53 | 52 | settings[] = wgAjaxShowEditorsTimeout: int |
54 | 53 | schema = true |
55 | 54 | url = http://www.mediawiki.org/wiki/Extension:AjaxShowEditors |