[Mediawiki-l] modify the "navigation menu" -- where < sandbox> came from

Charlie fczrzf at umkc.edu
Wed Oct 20 22:46:24 UTC 2004


Help,

------My version:

    MediaWiki (http://wikipedia.sf.net/): 1.3.5
    PHP (http://www.php.net/): 4.3.9 (apache) 
    MySQL (http://www.mysql.com/): 4.0.21-log

------What I try to do:

I tried to modify the "navigation menu" on the left side. Eg. add "Sandbox" to that menu.

For wiki/includes/SkinPHPTal.php, Line 468, add the following

    468    $nav_urls['sandbox']  = array('href' => htmlspecialchars( $this->makeI18nUrl('sandbox')));

For /wiki/templates/xhtml_slim.pt

     70               <li id="n-sandbox" ><a href="${nav_urls/sandbox/href}"
     71                 i18n:translate="string:sandbox">Sandbox</a></li>


------What's the current problem:

I got the <sandbox> instead of Sandbox showing up in the menu. Checked the source code,
not able to figure out where &lt;sandbox&gt; came from.

Is this related to its namespace? Haven't study the namespace yet. How I may fix it from
source code or mysql?



Thanks for help,
 Charlie                          mailto:fczrzf at umkc.edu




More information about the MediaWiki-l mailing list