http://www.mediawiki.org/wiki/Special:Code/MediaWiki/65077
Revision: 65077 Author: siebrand Date: 2010-04-15 18:47:47 +0000 (Thu, 15 Apr 2010) Log Message: ----------- Rename 'Load' file to have the same name as the parent directory. Update README and Configure accordingly. Modified Paths: -------------- trunk/extensions/AjaxShowEditors/README trunk/extensions/Configure/settings/Settings-ext.txt Added Paths: ----------- trunk/extensions/AjaxShowEditors/AjaxShowEditors.php Removed Paths: ------------- trunk/extensions/AjaxShowEditors/Load.php Copied: trunk/extensions/AjaxShowEditors/AjaxShowEditors.php (from rev 65072, trunk/extensions/AjaxShowEditors/Load.php) =================================================================== --- trunk/extensions/AjaxShowEditors/AjaxShowEditors.php (rev 0) +++ trunk/extensions/AjaxShowEditors/AjaxShowEditors.php 2010-04-15 18:47:47 UTC (rev 65077) @@ -0,0 +1,22 @@ +<?php +if ( !defined( 'MEDIAWIKI' ) ) die( 1 ); + +/** Number of seconds before an user is considered as no more editing */ +$wgAjaxShowEditorsTimeout = 60; + +$wgExtensionCredits['other'][] = array( + 'path' => __FILE__, + 'name' => 'Ajax Show Editors', + 'url' => 'http://www.mediawiki.org/wiki/Extension:AjaxShowEditors', + 'author' => 'Ashar Voultoiz', + 'descriptionmsg' => 'ajax-se-desc', +); + +$dir = dirname( __FILE__ ) . '/'; +$wgExtensionMessagesFiles['AjaxShowEditors'] = $dir . 'AjaxShowEditors.i18n.php'; + +// Load the ajax responder and register it +require_once( $dir . 'Response.php' ); + +// Load the hooks +require_once( $dir . 'Hooks.php' ); Deleted: trunk/extensions/AjaxShowEditors/Load.php =================================================================== --- trunk/extensions/AjaxShowEditors/Load.php 2010-04-15 18:45:55 UTC (rev 65076) +++ trunk/extensions/AjaxShowEditors/Load.php 2010-04-15 18:47:47 UTC (rev 65077) @@ -1,22 +0,0 @@ -<?php -if ( !defined( 'MEDIAWIKI' ) ) die( 1 ); - -/** Number of seconds before an user is considered as no more editing */ -$wgAjaxShowEditorsTimeout = 60; - -$wgExtensionCredits['other'][] = array( - 'path' => __FILE__, - 'name' => 'Ajax Show Editors', - 'url' => 'http://www.mediawiki.org/wiki/Extension:AjaxShowEditors', - 'author' => 'Ashar Voultoiz', - 'descriptionmsg' => 'ajax-se-desc', -); - -$dir = dirname( __FILE__ ) . '/'; -$wgExtensionMessagesFiles['AjaxShowEditors'] = $dir . 'AjaxShowEditors.i18n.php'; - -// Load the ajax responder and register it -require_once( $dir . 'Response.php' ); - -// Load the hooks -require_once( $dir . 'Hooks.php' ); Modified: trunk/extensions/AjaxShowEditors/README =================================================================== --- trunk/extensions/AjaxShowEditors/README 2010-04-15 18:45:55 UTC (rev 65076) +++ trunk/extensions/AjaxShowEditors/README 2010-04-15 18:47:47 UTC (rev 65077) @@ -13,6 +13,6 @@ Then you can enable the extension in your LocalSettings.php: - require_once('extensions/AjaxShowEditors/Load.php'); + require_once('extensions/AjaxShowEditors/AjaxShowEditors.php'); Then go edit a page. Modified: trunk/extensions/Configure/settings/Settings-ext.txt =================================================================== --- trunk/extensions/Configure/settings/Settings-ext.txt 2010-04-15 18:45:55 UTC (rev 65076) +++ trunk/extensions/Configure/settings/Settings-ext.txt 2010-04-15 18:47:47 UTC (rev 65077) @@ -48,7 +48,6 @@ url = http://www.mediawiki.org/wiki/Extension:AjaxQueryPages AjaxShowEditors -file = Load.php settings[] = wgAjaxShowEditorsTimeout: int schema = true url = http://www.mediawiki.org/wiki/Extension:AjaxShowEditors _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs