Extension:NamespaceRelations/de

The NamespaceRelations extension allows an administrator to define additional namespace tabs besides Subject and Talk tabs in the interface. Whether the user is browsing Subject, Talk, or additional tabs, they will see the tabs all together.

Konfiguration
This is solely done by defining. The supported format and parameters are as follows:


 * A key (ID) that is used in many places. It's the ID that is used in HTML rendering for actual element ID. Besides, it's used to find an appropriate message for the tab (via ).
 * A key (ID) that is used in many places. It's the ID that is used in HTML rendering for actual element ID. Besides, it's used to find an appropriate message for the tab (via ).


 * Namespace ID where the tab should be visible.
 * Namespace ID where the tab should be visible.


 * Namespace ID where the tab should link.
 * Namespace ID where the tab should link.


 * By default, if the tab is attached to NS_MAIN, the tab won't be visible on Main Page (imitating Wikinews Opinions tab behvaiour). However, this may be overridden by setting  to  . This parameter isn't obligatory and is intended only for.
 * By default, if the tab is attached to NS_MAIN, the tab won't be visible on Main Page (imitating Wikinews Opinions tab behvaiour). However, this may be overridden by setting  to  . This parameter isn't obligatory and is intended only for.


 * Query string which  is attached to if the target page doesn't exist. Works since MediaWiki 1.21alpha.
 * Query string which  is attached to if the target page doesn't exist. Works since MediaWiki 1.21alpha.


 * Sorting weight. Subject and Talk tabs receive 10 and 20 appropriately; if  is not set, every custom tab receives +10 points starting from 30 (30 for the first custom tab, 40 for the next, etc.). This parameter allows to place custom tabs in almost every position relative to Subject, Talk and other custom tabs.
 * Sorting weight. Subject and Talk tabs receive 10 and 20 appropriately; if  is not set, every custom tab receives +10 points starting from 30 (30 for the first custom tab, 40 for the next, etc.). This parameter allows to place custom tabs in almost every position relative to Subject, Talk and other custom tabs.


 * Hide Talk tab.
 * Hide Talk tab.


 * Custom target title.  is the base title (for example, "Page" will link to "Test/Page" in the target namespace.
 * Custom target title.  is the base title (for example, "Page" will link to "Test/Page" in the target namespace.

You can define multiple tabs per one  which link to different  s, but you cannot define multiple tabs for different  s which linking to the same   — it creates ambiguous situation where we have 2+ Subject/Talk tabs (creating both — actually 4 tabs —– seems excessive). On the other hand, the first case (1 namespace → 2+ targets) works just fine.



Wikinews
The messages are:  for caption,   for tooltip.

Wiktionary
The messages are:  and   for captions,   and   for tooltips, respectively.

TODO

 * attached namespaces should be treated the same way as talk pages when page moving takes place (that being said, when a page is moved and a special checkbox marked, the attached page is also renamed)



Siehe auch

 * Requests for comment/Custom inter-namespace tabs