r50451 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50450‎ | r50451 | r50452 >
Date:18:56, 10 May 2009
Author:siebrand
Status:deferred
Tags:
Comment:
* Add descriptionmsg in extension credits based on 'description' in SMW_GlobalFunctions.php
* Format extension credits to be more readable
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_GlobalFunctions.php (modified) (history)
  • /trunk/extensions/SemanticMediaWiki/languages/SMW_Messages.php (modified) (history)
  • /trunk/extensions/Translate/groups/mediawiki-defines.txt (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_GlobalFunctions.php
@@ -270,7 +270,15 @@
271271 }
272272
273273 ///// credits (see "Special:Version") /////
274 - $wgExtensionCredits['parserhook'][]= array('path' => __FILE__, 'name'=>'Semantic MediaWiki', 'version'=>SMW_VERSION, 'author'=>"Klaus Lassleben, [http://korrekt.org Markus Krötzsch], [http://simia.net Denny Vrandecic], S Page, and others. Maintained by [http://www.aifb.uni-karlsruhe.de/Forschungsgruppen/WBS/english AIFB Karlsruhe].", 'url'=>'http://semantic-mediawiki.org', 'description' => 'Making your wiki more accessible – for machines \'\'and\'\' humans. [http://semantic-mediawiki.org/wiki/Help:User_manual View online documentation.]');
 274+ $wgExtensionCredits['parserhook'][]= array(
 275+ 'path' => __FILE__,
 276+ 'name' => 'Semantic MediaWiki',
 277+ 'version' => SMW_VERSION,
 278+ 'author'=> "Klaus Lassleben, [http://korrekt.org Markus Krötzsch], [http://simia.net Denny Vrandecic], S Page, and others. Maintained by [http://www.aifb.uni-karlsruhe.de/Forschungsgruppen/WBS/english AIFB Karlsruhe].",
 279+ 'url' => 'http://semantic-mediawiki.org',
 280+ 'description' => 'Making your wiki more accessible – for machines \'\'and\'\' humans. [http://semantic-mediawiki.org/wiki/Help:User_manual View online documentation]',
 281+ 'descriptionmsg' => 'smw-desc'
 282+ );
275283
276284 wfProfileOut('smwfSetupExtension (SMW)');
277285 return true;
Index: trunk/extensions/SemanticMediaWiki/languages/SMW_Messages.php
@@ -14,6 +14,7 @@
1515 * @author Markus Krötzsch
1616 */
1717 $messages['en'] = array(
 18+ 'smw-desc' => 'Making your wiki more accessible - for machines \'\'and\'\' humans ([http://semantic-mediawiki.org/wiki/Help:User_manual online documentation)]',
1819 'smw_edithelp' => 'Editing help on properties',
1920 'smw_viewasrdf' => 'RDF feed',
2021 'smw_finallistconjunct' => ', and', //used in "A, B, and C"
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt
@@ -690,6 +690,7 @@
691691
692692 Semantic MediaWiki
693693 file = SemanticMediaWiki/languages/SMW_Messages.php
 694+descmsg = smw-desc
694695 ignored = smw_ask_doculink, smw_service_online_maps, smw_uri_blacklist
695696 optional = smw_rss_link, smw_decseparator, smw_kiloseparator
696697 optional = smw_rss_description, smw_browse_more, specialpages-group-smw_group

Status & tagging log