When using a sidebar, no page can be called "sidebar" without being a sidebar. This is causing on trouble on dokuwiki.org as we have plugins and templates called "sidebar".
I think the best would be to introduce a "sidebar_exludeNS" option (or similar) with which to set where to ignore pages called "sidebar" as a sidebar.
Another solution for dokuwiki.org would be to change $conf['sidebar'] to something else than "sidebar", e.g. just "side" or "aside" or "dokuwiki-sidebar" or whatever.
Affected namespaces on dokuwiki.org: config, faq, plugin, template.
And everyone wondered why I wanted to have a *simple* and *stupid* sidebar only. And no, a sidebar_excludeNS option is not the best option, in fact I couldn't think of anything worse. Even removing the cleverness again would be better.