r65076 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r65075‎ | r65076 | r65077 >
Date:18:45, 15 April 2010
Author:siebrand
Status:deferred
Tags:
Comment:
Rename 'Load' file to have the same name as the parent directory. Update Configure accordingly.
Modified paths:
  • /trunk/extensions/AjaxQueryPages/AjaxQueryPages.php (added) (history)
  • /trunk/extensions/AjaxQueryPages/Load.php (deleted) (history)
  • /trunk/extensions/Configure/settings/Settings-ext.txt (modified) (history)

Diff [purge]

Index: trunk/extensions/Configure/settings/Settings-ext.txt
@@ -45,7 +45,6 @@
4646 array[] = wgEnableAjaxLogin: assoc
4747
4848 AjaxQueryPages
49 -file = Load.php
5049 url = http://www.mediawiki.org/wiki/Extension:AjaxQueryPages
5150
5251 AjaxShowEditors
Index: trunk/extensions/AjaxQueryPages/Load.php
@@ -1,21 +0,0 @@
2 -<?php
3 -if ( !defined( 'MEDIAWIKI' ) )
4 - die( 1 );
5 -
6 -$wgExtensionCredits['other'][] = array(
7 - 'path' => __FILE__,
8 - 'name' => 'Ajax Query Pages',
9 - 'url' => 'http://www.mediawiki.org/wiki/Extension:AjaxQueryPages',
10 - 'author' => 'Ashar Voultoiz',
11 - 'descriptionmsg' => 'ajaxquerypages-desc',
12 -);
13 -
14 -$dir = dirname( __FILE__ ) . '/';
15 -
16 -$wgExtensionMessagesFiles['AjaxQueryPages'] = $dir . 'AjaxQueryPages.i18n.php';
17 -
18 -// Load hooks
19 -require_once( $dir . 'Hooks.php' );
20 -
21 -// Set up AJAX entry point:
22 -require_once( $dir . 'Response.php' );
Index: trunk/extensions/AjaxQueryPages/AjaxQueryPages.php
@@ -0,0 +1,21 @@
 2+<?php
 3+if ( !defined( 'MEDIAWIKI' ) )
 4+ die( 1 );
 5+
 6+$wgExtensionCredits['other'][] = array(
 7+ 'path' => __FILE__,
 8+ 'name' => 'Ajax Query Pages',
 9+ 'url' => 'http://www.mediawiki.org/wiki/Extension:AjaxQueryPages',
 10+ 'author' => 'Ashar Voultoiz',
 11+ 'descriptionmsg' => 'ajaxquerypages-desc',
 12+);
 13+
 14+$dir = dirname( __FILE__ ) . '/';
 15+
 16+$wgExtensionMessagesFiles['AjaxQueryPages'] = $dir . 'AjaxQueryPages.i18n.php';
 17+
 18+// Load hooks
 19+require_once( $dir . 'Hooks.php' );
 20+
 21+// Set up AJAX entry point:
 22+require_once( $dir . 'Response.php' );
Property changes on: trunk/extensions/AjaxQueryPages/AjaxQueryPages.php
___________________________________________________________________
Name: svn:eol-style
123 + native

Status & tagging log