r93441 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r93440‎ | r93441 | r93442 >
Date:23:52, 28 July 2011
Author:samuellampa
Status:deferred
Tags:
Comment:
Fixing Bug 17553, by making name of Special Page consistent.
Modified paths:
  • /trunk/extensions/RDFIO/specials/SpecialARC2Admin.php (modified) (history)
  • /trunk/extensions/RDFIO/specials/SpecialARC2Admin_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/RDFIO/specials/SpecialARC2Admin_body.php
@@ -4,7 +4,7 @@
55 * @author samuel.lampa@gmail.com
66 * @package SMWRDFConnector
77 */
8 -class SpecialARC2Admin extends SpecialPage {
 8+class ARC2Admin extends SpecialPage {
99
1010 protected $m_issysop;
1111
Index: trunk/extensions/RDFIO/specials/SpecialARC2Admin.php
@@ -3,14 +3,14 @@
44 if ( !defined( 'MEDIAWIKI' ) ) {
55 echo <<<EOT
66 To install my extension, put the following line in LocalSettings.php:
7 -require_once( "\$IP/extensions/RDFIO/specials/SpecialARC2Admin.php" );
 7+require_once( "\$IP/extensions/RDFIO/specials/ARC2Admin.php" );
88 EOT;
99 exit( 1 );
1010 }
1111
1212 $wgExtensionCredits['specialpage'][] = array(
1313 'path' => __FILE__,
14 - 'name' => 'SpecialARC2Admin',
 14+ 'name' => 'ARC2Admin',
1515 'author' => 'Samuel Lampa',
1616 'url' => 'http://www.mediawiki.org/wiki/Extension:SMWRDFConnector',
1717 'descriptionmsg' => 'rdfio-arc2admin-desc',
@@ -19,7 +19,7 @@
2020
2121 $dir = dirname( __FILE__ ) . '/';
2222
23 -$wgAutoloadClasses['SpecialARC2Admin'] = $dir . 'SpecialARC2Admin_body.php'; # Tell MediaWiki to load the extension body.
24 -$wgExtensionMessagesFiles['SpecialARC2Admin'] = $dir . '../RDFIO.i18n.php';
25 -$wgExtensionAliasFiles['SpecialARC2Admin'] = $dir . '../RDFIO.alias.php';
26 -$wgSpecialPages['SpecialARC2Admin'] = 'SpecialARC2Admin'; # Let MediaWiki know about your new special page.
 23+$wgAutoloadClasses['ARC2Admin'] = $dir . 'SpecialARC2Admin_body.php'; # Tell MediaWiki to load the extension body.
 24+$wgExtensionMessagesFiles['ARC2Admin'] = $dir . '../RDFIO.i18n.php';
 25+$wgExtensionAliasFiles['ARC2Admin'] = $dir . '../RDFIO.alias.php';
 26+$wgSpecialPages['ARC2Admin'] = 'ARC2Admin'; # Let MediaWiki know about your new special page.

Follow-up revisions

RevisionCommit summaryAuthorDate
r93442Small correction of help text in r93441 (The file paths had not changed, doh...)samuellampa23:57, 28 July 2011

Status & tagging log