r43453 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r43452‎ | r43453 | r43454 >
Date:11:10, 13 November 2008
Author:jojo
Status:old
Tags:
Comment:
use wikiMsg() instead of msg() in some places
Modified paths:
  • /trunk/extensions/Collection/Collection.templates.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Collection/Collection.templates.php
@@ -58,7 +58,7 @@
5959
6060 <div style="margin-bottom: 10px; padding: 10px" class="toccolours">
6161 <h2><span class="mw-headline"><?php $this->msg('coll-book_title') ?></span></h2>
62 - <p><?php $this->msg('coll-book_text') ?></p>
 62+ <?php $this->msgWiki('coll-book_text') ?>
6363 <div id="ppList">
6464 <?php foreach ($this->data['podpartners'] as $partner => $partnerData) { ?>
6565 <form action="<?php echo htmlspecialchars(SkinTemplate::makeSpecialUrlSubpage('Collection', 'post_zip/')) ?>" method="get">
@@ -72,7 +72,7 @@
7373
7474 <div style="margin-bottom: 10px; padding: 10px" class="toccolours">
7575 <h2><span class="mw-headline"><?php $this->msg('coll-download_title') ?></span></h2>
76 - <p><?php $this->msg('coll-download_text') ?></p>
 76+ <?php $this->msgWiki('coll-download_text') ?>
7777 <form id="downloadForm" action="<?php echo htmlspecialchars(SkinTemplate::makeSpecialUrlSubpage('Collection', 'render/')) ?>" method="post">
7878 <?php if (count($this->data['formats']) == 1) {
7979 $writer = array_rand($this->data['formats']);
@@ -96,7 +96,7 @@
9797 <div style="margin-bottom: 10px; padding: 10px" class="toccolours">
9898 <h2><span class="mw-headline"><?php $this->msg('coll-save_collection_title') ?></span></h2>
9999 <?php if ($GLOBALS['wgUser']->isLoggedIn()) { ?>
100 - <p><?php $this->msg('coll-save_collection_text') ?></p>
 100+ <?php $this->msgWiki('coll-save_collection_text') ?>
101101 <form id="saveForm" action="<?php echo htmlspecialchars(SkinTemplate::makeSpecialUrlSubpage('Collection', 'save_collection/')) ?>" method="post">
102102 <input id="personalCollType" type="radio" name="colltype" value="personal" checked="checked"></input>
103103 <label for="personalCollType"><?php $this->msg('coll-personal_collection_label') ?></label>
@@ -228,7 +228,7 @@
229229 function execute() {
230230 ?>
231231
232 -<p><?php $this->msg('coll-load_overwrite_text'); ?></p>
 232+<?php $this->msgWiki('coll-load_overwrite_text'); ?>
233233
234234 <form action="<?php echo htmlspecialchars(SkinTemplate::makeSpecialUrlSubpage('Collection', 'load_collection/')) ?>" method="post">
235235 <input name="overwrite" type="submit" value="<?php $this->msg('coll-overwrite') ?>"></input>

Status & tagging log