r73325 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r73324‎ | r73325 | r73326 >
Date:15:14, 19 September 2010
Author:raymond
Status:ok
Tags:
Comment:
RDFIO extensions: Tweak extension credits
Fix URL in "not a valid entry point" section
Rename messages key for consistency with other extension
Add RDFIO extensions to Translatewiki
Modified paths:
  • /trunk/extensions/RDFIO/specials/SpecialARC2Admin.i18n.php (modified) (history)
  • /trunk/extensions/RDFIO/specials/SpecialARC2Admin.php (modified) (history)
  • /trunk/extensions/RDFIO/specials/SpecialRDFImport.alias.php (modified) (history)
  • /trunk/extensions/RDFIO/specials/SpecialRDFImport.i18n.php (modified) (history)
  • /trunk/extensions/RDFIO/specials/SpecialRDFImport.php (modified) (history)
  • /trunk/extensions/RDFIO/specials/SpecialSPARQLEndpoint.alias.php (modified) (history)
  • /trunk/extensions/RDFIO/specials/SpecialSPARQLEndpoint.i18n.php (modified) (history)
  • /trunk/extensions/RDFIO/specials/SpecialSPARQLEndpoint.php (modified) (history)
  • /trunk/extensions/Translate/groups/mediawiki-defines.txt (modified) (history)

Diff [purge]

Index: trunk/extensions/RDFIO/specials/SpecialSPARQLEndpoint.alias.php
@@ -5,3 +5,4 @@
66 $aliases['en'] = array(
77 'SPARQLEndpoint' => array( 'SPARQLEndpoint' ),
88 );
 9+
Index: trunk/extensions/RDFIO/specials/SpecialARC2Admin.i18n.php
@@ -2,7 +2,7 @@
33 $messages = array();
44
55 $messages['en'] = array(
6 - 'specialarc2admin' => 'ARC2 RDF Store Admin Page',
7 - 'specialarc2admin-desc' => 'Administration page for the ARC2 RDF Store for Semantic MediaWiki',
 6+ 'specialarc2admin' => 'ARC2 RDF Store admin page',
 7+ 'rdfio-arc2admin-desc' => 'Administration page for the ARC2 RDF Store for Semantic MediaWiki',
88 );
99
Index: trunk/extensions/RDFIO/specials/SpecialRDFImport.alias.php
@@ -5,3 +5,4 @@
66 $aliases['en'] = array(
77 'RDFImport' => array( 'RDFImport' ),
88 );
 9+
Index: trunk/extensions/RDFIO/specials/SpecialARC2Admin.php
@@ -3,18 +3,18 @@
44 if ( !defined( 'MEDIAWIKI' ) ) {
55 echo <<<EOT
66 To install my extension, put the following line in LocalSettings.php:
7 -require_once( "\$IP/extensions/SMWRDFConnector/SpecialARC2Admin.php" );
 7+require_once( "\$IP/extensions/RDFIO/specials/SpecialARC2Admin.php" );
88 EOT;
99 exit( 1 );
1010 }
1111
1212 $wgExtensionCredits['specialpage'][] = array(
13 - 'name' => 'SpecialARC2Admin',
14 - 'author' => 'Samuel Lampa',
15 - 'url' => 'http://www.mediawiki.org/wiki/Extension:SMWRDFConnector',
16 - 'description' => 'Administration page for the ARC2 RDF Store for Semantic MediaWiki',
17 - 'descriptionmsg' => 'arc2admin-desc',
18 - 'version' => '0.0.0',
 13+ 'path' => __FILE__,
 14+ 'name' => 'SpecialARC2Admin',
 15+ 'author' => 'Samuel Lampa',
 16+ 'url' => 'http://www.mediawiki.org/wiki/Extension:SMWRDFConnector',
 17+ 'descriptionmsg' => 'rdfio-arc2admin-desc',
 18+ 'version' => '0.0.0',
1919 );
2020
2121 $dir = dirname( __FILE__ ) . '/';
Index: trunk/extensions/RDFIO/specials/SpecialSPARQLEndpoint.i18n.php
@@ -4,5 +4,6 @@
55
66 $messages['en'] = array(
77 'sparqlendpoint' => 'SPARQL Endpoint',
8 - 'sparqlendpoint-desc' => 'A SPARQLEndpoint provided by the SMWRDFConnector',
 8+ 'rdfio-sparqlendpoint-desc' => 'A SPARQL Endpoint provided by the SMWRDFConnector',
99 );
 10+
Index: trunk/extensions/RDFIO/specials/SpecialSPARQLEndpoint.php
@@ -3,18 +3,18 @@
44 if ( !defined( 'MEDIAWIKI' ) ) {
55 echo <<<EOT
66 To install my extension, put the following line in LocalSettings.php:
7 -require_once( "\$IP/extensions/SMWRDFConnector/SpecialSPARQLEndpoint.php" );
 7+require_once( "\$IP/extensions/RDFIO/specials/SpecialSPARQLEndpoint.php" );
88 EOT;
99 exit( 1 );
1010 }
1111
1212 $wgExtensionCredits['specialpage'][] = array(
13 - 'name' => 'SPARQLEndpoint',
14 - 'author' => 'Samuel Lampa',
15 - 'url' => 'http://www.mediawiki.org/wiki/Extension:SMWRDFConnector',
16 - 'description' => 'SPARQL Endpoint',
17 - 'descriptionmsg' => 'sparqlendpoint-desc',
18 - 'version' => '0.0.0',
 13+ 'path' => __FILE__,
 14+ 'name' => 'SPARQLEndpoint',
 15+ 'author' => 'Samuel Lampa',
 16+ 'url' => 'http://www.mediawiki.org/wiki/Extension:SMWRDFConnector',
 17+ 'descriptionmsg' => 'rdfio-sparqlendpoint-desc',
 18+ 'version' => '0.0.0',
1919 );
2020
2121 $dir = dirname( __FILE__ ) . '/';
Index: trunk/extensions/RDFIO/specials/SpecialRDFImport.i18n.php
@@ -3,6 +3,6 @@
44
55 $messages['en'] = array(
66 'rdfimport' => 'RDF Import',
7 - 'rdfimport-desc' => 'A Special page to import semantic data in RDF/XML format',
 7+ 'rdfio-rdfimport-desc' => 'A Special page to import semantic data in RDF/XML format',
88 );
99
Index: trunk/extensions/RDFIO/specials/SpecialRDFImport.php
@@ -3,18 +3,18 @@
44 if ( !defined( 'MEDIAWIKI' ) ) {
55 echo <<<EOT
66 To install my extension, put the following line in LocalSettings.php:
7 -require_once( "\$IP/extensions/SMWRDFConnector/SpecialRDFImport.php" );
 7+require_once( "\$IP/extensions/RDFIO/specials/SpecialRDFImport.php" );
88 EOT;
99 exit( 1 );
1010 }
1111
1212 $wgExtensionCredits['specialpage'][] = array(
13 - 'name' => 'RDFImport',
14 - 'author' => 'Samuel Lampa',
15 - 'url' => 'http://www.mediawiki.org/wiki/Extension:SMWRDFConnector',
16 - 'description' => 'RDF Import',
17 - 'descriptionmsg' => 'rdfimport-desc',
18 - 'version' => '0.0.0',
 13+ 'path' => __FILE__,
 14+ 'name' => 'RDFImport',
 15+ 'author' => 'Samuel Lampa',
 16+ 'url' => 'http://www.mediawiki.org/wiki/Extension:SMWRDFConnector',
 17+ 'descriptionmsg' => 'rdfio-rdfimport-desc',
 18+ 'version' => '0.0.0',
1919 );
2020
2121 $dir = dirname( __FILE__ ) . '/';
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt
@@ -906,6 +906,21 @@
907907 Random Users With Avatars
908908 descmsg = random-users-avatars-desc
909909
 910+RDFIO - ARC2Admin
 911+descmsg = rdfio-arc2admin-desc
 912+file = RDFIO/specials/SpecialARC2Admin.i18n.php
 913+aliasfile = RDFIO/specials/SpecialARC2Admin.alias.php
 914+
 915+RDFIO - RDF Import
 916+descmsg = rdfio-arc2admin-desc
 917+file = RDFIO/specials/SpecialRDFImport.i18n.php
 918+aliasfile = RDFIO/specials/SpecialRDFImport.alias.php
 919+
 920+RDFIO - SPARQL Endpoint
 921+descmsg = rdfio-sparqlendpoint-desc
 922+file = RDFIO/specials/SPARQLEndpoint.i18n.php
 923+aliasfile = RDFIO/specials/SPARQLEndpoint.alias.php
 924+
910925 Reader Feedback
911926 id = ext-readerfeedback-readerfeedback
912927 file = ReaderFeedback/language/ReaderFeedback.i18n.php

Status & tagging log