Difference between revisions of "MediaWiki talk:Sidebar"

From Robowiki
Jump to navigation Jump to search
($wgContentNamespaces)
(suggest new sidebar)
Line 8: Line 8:
  
 
This is a bit out of topic, but you did set the rewrite to work with /wiki/Title, didn't you? You need to change <code>$wgArticlePath = "/wiki/$1";</code> too in order to make the internal link change to new URL. And MediaWiki 1.15.1 is out, it is security fix so you should update. The revision of MediaWiki distribution doesn't need an update to database, just replace the file, that's all. &raquo; <span style="font-size:0.9em;color:darkgreen;">[[User:Nat|Nat]] | [[User_talk:Nat|Talk]]</span> &raquo; 03:35, 19 July 2009 (UTC)
 
This is a bit out of topic, but you did set the rewrite to work with /wiki/Title, didn't you? You need to change <code>$wgArticlePath = "/wiki/$1";</code> too in order to make the internal link change to new URL. And MediaWiki 1.15.1 is out, it is security fix so you should update. The revision of MediaWiki distribution doesn't need an update to database, just replace the file, that's all. &raquo; <span style="font-size:0.9em;color:darkgreen;">[[User:Nat|Nat]] | [[User_talk:Nat|Talk]]</span> &raquo; 03:35, 19 July 2009 (UTC)
 +
 +
----
 +
 +
I don't know if this is better...
 +
<pre>
 +
* navigation
 +
** mainpage|mainpage
 +
** recentchanges-url|recentchanges
 +
** randompage-url|randompage
 +
** Special:Randompage/User|Random User page
 +
** Special:Allpages|All pages
 +
** Special:Categories|All categories
 +
* robocode
 +
** Robocode|Robocode
 +
** Category:Bots|Bots
 +
** Category:Bot Authors|Bot Authors
 +
** Category:Targeting|Targeting
 +
** Category:Movement|Movement
 +
** Robocode/FAQ|FAQ
 +
** Help:Help|Help
 +
</pre>
 +
&raquo; <span style="font-size:0.9em;color:darkgreen;">[[User:Nat|Nat]] | [[User_talk:Nat|Talk]]</span> &raquo; 03:44, 19 July 2009 (UTC)

Revision as of 04:44, 19 July 2009

What's really happen, Voidious? » Nat | Talk » 03:11, 19 July 2009 (UTC)

I wanted to at least add the "Random User page" link, maybe some other Random links (seemed like too much), and I removed some links that didn't seem as important. Any comments / suggestions? --Voidious 03:15, 19 July 2009 (UTC)

I really wish I could make "Random page" go to any namespace, but I haven't found a way yet. =( I don't like how "Random User page" made the sidebar wider... --Voidious 03:18, 19 July 2009 (UTC)

There is, http://www.mediawiki.org/wiki/Manual:$wgContentNamespaces. You need to set it to any namespaces you want, such as $wgContentNamespaces = array(NS_MAIN, NS_TALK, NS_USER, NS_USER_TALK, NS_HELP);

This is a bit out of topic, but you did set the rewrite to work with /wiki/Title, didn't you? You need to change $wgArticlePath = "/wiki/$1"; too in order to make the internal link change to new URL. And MediaWiki 1.15.1 is out, it is security fix so you should update. The revision of MediaWiki distribution doesn't need an update to database, just replace the file, that's all. » Nat | Talk » 03:35, 19 July 2009 (UTC)


I don't know if this is better...

* navigation
** mainpage|mainpage
** recentchanges-url|recentchanges
** randompage-url|randompage
** Special:Randompage/User|Random User page
** Special:Allpages|All pages
** Special:Categories|All categories
* robocode
** Robocode|Robocode
** Category:Bots|Bots
** Category:Bot Authors|Bot Authors
** Category:Targeting|Targeting
** Category:Movement|Movement
** Robocode/FAQ|FAQ
** Help:Help|Help

» Nat | Talk » 03:44, 19 July 2009 (UTC)