Follow TV Tropes


Administrivia / How Indexing Works

Go To

Here on TV Tropes, we make a life out of categorizing tropes and stuff. For this purpose, we have a whole lot of indexes where we can add pages on so that they are categorized. Putting something on an index is also known as "Indexing".

  • Do I have to index every new page I make?: The only pages you don't need to index are Trivia, PlayingWith, Haiku, ImageLinks, Timeline, Quotes, and Laconic subpages (which are visibly autoindexed) and YMMV and Fridge subpages (which are autoindexed, but not visibly so). Other than that, new trope/work pages and subpages need to be indexed somewhere.
  • How do I add something to an index?: Just find the index page and add the page you want to index as a bullet in the bulleted list on the index page. The page you want to index has to exist already, by the way - otherwise, you'll have to re-edit the index page for the page to display on the index. Please do not add subtropes as subbullets. Indexes should be sorted alphabetically.
  • How do I find a suitable index page?: The Index-Index is a whole list of index pages. You can ask in this forum thread if you're stuck.
  • How do I turn a page into an index page?: This is done with the page-type tool, which you can see on the sidebar under "Page Info". Just check the "does indexing" checkbox, hit the save button, and you're done.
  • I added something to an index/turned a page into an index, but it's not working: First, always make a blank edit on the problematic index page. If that doesn't work, check that the link(s) you added are working links and that you've set the page type of the index correctly.
  • This new page I made is on an index, but the index isn't showing up: An index is updated when it is edited — not automatically. Try editing and saving the index where the new page is or toggling the page type.
  • How do I make it so that only certain parts of a bulleted list in an indexing page are part of the index?: Put the [[index]] markup before the first bullet in a list that should act as an index and [[/index]] after the last bullet that should act as an index. You can do that several times on the same index page.
  • What happens if there are multiple links within one bullet? Indexing uses the first link to a wiki page within each bullet. Later links in the same bullet are ignored, so you don't need to use [[/index]] markup to exclude them.
  • The index is indexing pages that shouldn't be indexed: Most commonly, it happens when a bullet in the index contains a paragraph break (the first bluelink after the paragraph break is registered as a new bullet) or if there are redlinks after.
  • How do I move an index?: Like any other page, but you need to change the page type to no longer index before.
  • A redirect is creating an index bar: The consequence of not changing the page type before redirecting; break the redirect and change the page type to something like "subpage", then restore the redirect.
  • Out of curiosity, how does the indexing mechanism work, technically?: When an index page is saved, the system looks though the page and extracts all the line items (all the lines that start with an asterisk). It goes through those lines and extracts the first link to a wiki page on that line. After this process goes through all the line items, we have a list of page titles in the order given on the index page. This is the index. We save it with the title of the index page and build that blue nav-bar from it and display it when the page is viewed.
  • What are the markup bits that look like <<|Administrivia|>> at the bottom of a page?: These are artifacts from the old indexing system. Feel free to remove them.

Alternative Title(s): How To Index A Page, Index