Add to messages.inc, ignore the <li> if it does not exist, and add to Modern too.
authorX! <soxred93@users.mediawiki.org>
Thu, 30 Oct 2008 03:32:36 +0000 (03:32 +0000)
committerX! <soxred93@users.mediawiki.org>
Thu, 30 Oct 2008 03:32:36 +0000 (03:32 +0000)
maintenance/language/messages.inc
skins/Modern.php
skins/MonoBook.php

index 40aed99..c6ed286 100644 (file)
@@ -213,6 +213,7 @@ $wgMessageStructure = array(
                'jumpto',
                'jumptonavigation',
                'jumptosearch',
+               'footermessage',
        ),
        'links' => array(
                'aboutsite',
index 0120d37..068efb7 100644 (file)
@@ -225,6 +225,10 @@ class ModernTemplate extends QuickTemplate {
 ?>                             <li id="<?php echo$aLink?>"><?php $this->html($aLink) ?></li>
 <?php          }
                }
+               if( !wfEmptyMsg( 'footermessage' ) {
+?>                     <li id="footermessage"><?php $this->msgWiki('footermessage') ?></li>
+
+<?php  }
 ?>
                        </ul>
                <?php echo $this->html("poweredbyico"); ?>
index 201a994..0fc582f 100644 (file)
@@ -222,9 +222,12 @@ class MonoBookTemplate extends QuickTemplate {
 ?>                             <li id="<?php echo$aLink?>"><?php $this->html($aLink) ?></li>
 <?php          }
                }
+               if( !wfEmptyMsg( 'footermessage' ) {
+?>                     <li id="footermessage"><?php $this->msgWiki('footermessage') ?></li>
+
+<?php  }
 ?>
-                               <li id="footermessage"><?php $this->msgWiki('footermessage') ?></li>
-                       </ul>
+                                                       </ul>
                </div>
 </div>
 <?php $this->html('bottomscripts'); /* JS call to runBodyOnloadHook */ ?>