DynamicTabs

From LearnSocialStudies
  • hideAnonymous - this section holds tabs that should be hidden from anonymous users. Possible options are
  1. nstab-main -tab for main namespace
  2. nstab-mediawiki -tab for mediawiki namespace
  3. nstab-project -tab for project namespace
  4. nstab-user -tab for user namespace
  5. nstab-image -tab for file namespace
  6. nstab-template -tab for template namespace
  7. nstab-category -tab for category namespace
  8. nstab-custom_namespace_here -tab for any custom namespace you have created
  9. talk -tab for talkpages
  10. viewsource -edit tab for anonumous users
  11. edit - edit tab for registered users history - history tabs
  • hideUsers - this section holds tabs that should be hidden from ordinary users. Possible options are:
  1. nstab-main -tab for main namespace
  2. nstab-mediawiki -tab for mediawiki namespace
  3. nstab-project -tab for project namespace
  4. nstab-user -tab for user namespace
  5. nstab-image -tab for file namespace
  6. nstab-template -tab for template namespace
  7. nstab-category -tab for category namespace
  8. nstab-custom_namespace_here -tab for any custom namespace you have created
  9. talk -tab for talkpages
  10. viewsource -edit tab for anonymous users
  11. edit - edit tab for registered users
  12. history - history tabs
  13. move - move tab
  14. watch - watch tab
  15. addsection - new section/+
  • hideSysop - this section hold tabs that should be hidden from sysops. Possible options are:
  1. nstab-main -tab for main namespace
  2. nstab-mediawiki -tab for mediawiki namespace
  3. nstab-project -tab for project namespace
  4. nstab-user -tab for user namespace
  5. nstab-image -tab for file namespace
  6. nstab-template -tab for template namespace
  7. nstab-category -tab for category namespace
  8. nstab-custom_namespace_here -tab for any custom namespace you have created
  9. talk -tab for talkpages
  10. edit - edit tab
  11. history - history tabs
  12. move - move tab
  13. protect - protection tab
  14. delete - delete tab
  15. watch - watch tab
  16. addsection - new section/+
  • nsTabs - this section allows you to add links to the same page in a specified namespace, similar to how the talk tab works.

If you have a custom namespace called e.g. "Help" where users can ask questions related to the topic of an article, rather than discuss how to write the article itself (which is what the talk page is for), you can do this:

  1. Help - adds a link to the corresponding page in help-namespace to every page. Note: The name of the namespace must be specified with uppercase on the first letter.
  • intLinks - this sections hold internal static links to pages on the wiki, for example:
  1. Main
  2. A page
  3. Main_page|Main
  4. A page
  • extLinks - this section holds external static links to pages off-wiki; for example:
  1. [1] - will display http://mediawiki.org as link text
  2. wikipedia - will display wikipedia as link text
  3. http://google.com - will display http://google.com as link text
  4. http://xkcd.com xkcd - will display xkcd as link text