Revert r42799, r42800 "(bug 1999) Add editable footer message, via [[MediaWiki:Footer...
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 30 Oct 2008 04:48:52 +0000 (04:48 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 30 Oct 2008 04:48:52 +0000 (04:48 +0000)
Full wiki parsing of messages is slow, thus not done on every page view on principle (eg sitenotice cache).

languages/messages/MessagesEn.php
maintenance/language/messages.inc
skins/Modern.php
skins/MonoBook.php

index d78f949..ffbab16 100644 (file)
@@ -701,7 +701,6 @@ XHTML id names.
 'jumpto'            => 'Jump to:',
 'jumptonavigation'  => 'navigation',
 'jumptosearch'      => 'search',
-'footermessage'     => '',
 
 # All link text and link target definitions of links into project namespace that get used by other message strings, with the exception of user group pages (see grouppage) and the disambiguation template definition (see disambiguations).
 'aboutsite'            => 'About {{SITENAME}}',
index c6ed286..40aed99 100644 (file)
@@ -213,7 +213,6 @@ $wgMessageStructure = array(
                'jumpto',
                'jumptonavigation',
                'jumptosearch',
-               'footermessage',
        ),
        'links' => array(
                'aboutsite',
index 068efb7..0120d37 100644 (file)
@@ -225,10 +225,6 @@ 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 0fc582f..db77791 100644 (file)
@@ -222,12 +222,8 @@ 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  }
 ?>
-                                                       </ul>
+                       </ul>
                </div>
 </div>
 <?php $this->html('bottomscripts'); /* JS call to runBodyOnloadHook */ ?>