r82194 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82193‎ | r82194 | r82195 >
Date:21:40, 15 February 2011
Author:platonides
Status:deferred
Tags:
Comment:
Add link to Special:NovaAddress from Special:NovaInstance
Modified paths:
  • /trunk/extensions/OpenStackManager/OpenStackManager.i18n.php (modified) (history)
  • /trunk/extensions/OpenStackManager/special/SpecialNovaInstance.php (modified) (history)

Diff [purge]

Index: trunk/extensions/OpenStackManager/special/SpecialNovaInstance.php
@@ -487,6 +487,7 @@
488488 $out .= Html::element( 'h2', array(), $project );
489489 $out .= $sk->link( $this->getTitle(), wfMsgHtml( 'openstackmanager-createinstance' ), array(),
490490 array( 'action' => 'create', 'project' => $project ) );
 491+ $out .= ' ' . $sk->link( Special::getTitleFor( 'NovaAddress' ), wfMsgHtml( 'openstackmanager-allocateips' ) );
491492 if ( isset( $projectArr["$project"] ) ) {
492493 $projectOut = $header;
493494 $projectOut .= $projectArr["$project"];
Index: trunk/extensions/OpenStackManager/OpenStackManager.i18n.php
@@ -87,6 +87,7 @@
8888 'openstackmanager-instancetypelabel' => '{{PLURAL:$1|$1 CPU|$1 CPUs}}, $2 MB RAM, $3 GB storage',
8989 'openstackmanager-launchtime' => 'Launch time',
9090 'openstackmanager-createinstance' => 'Create a new instance',
 91+ 'openstackmanager-allocateips' => 'Allocate IP addresses',
9192 'openstackmanager-invaliddomain' => 'Requested domain is invalid.',
9293 'openstackmanager-createdinstance' => 'Created instance $1 with image $2 and hostname $3.',
9394 'openstackmanager-createfailedldap' => 'Failed to create instance as the host could not be added to LDAP.',
@@ -265,6 +266,8 @@
266267 'openstackmanager-createproject' => 'Page title',
267268 'openstackmanager-projectlist' => 'Page title',
268269 'openstackmanager-deleteproject' => 'Page title',
 270+ 'openstackmanager-createinstance' => 'Header shown in Special:NovaInstance for its create action'
 271+ 'openstackmanager-allocateips' => 'Header shown in Special:NovaInstance for linking to Special:NovaAddress'
269272 );
270273
271274 /** Belarusian (Taraškievica orthography) (‪Беларуская (тарашкевіца)‬)

Follow-up revisions

RevisionCommit summaryAuthorDate
r82245fix syntaxerror in r82194raymond14:05, 16 February 2011

Status & tagging log