Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Language specific navigation header #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

morgen2009
Copy link

Now it is impossible to have separate headers for different languages. This commit solves this problem.

If the third parameter of tpl_include_page is true and the page is not found, it searches in the current and parent namespaces. If we could have two pages "de:wiki:navigation_header" and "en:wiki:navigation_header" (but not conventional ":wiki:navigation_header"), the corresponding page will be selected according to the current namespace ('de:', 'en:').

Now it is impossible to have separate headers for different languages. This commit solves this problem.

If the third parameter of *tpl_include_page* is true and the page is not found, it searches in the current and parent namespaces. If we could have two pages "de:wiki:navigation_header" and "en:wiki:navigation_header" (but not conventional ":wiki:navigation_header"), the corresponding page will be selected according to the current namespace ('de:', 'en:').
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant