1

http://en.wikipedia.org/wiki/Nip/tuck

http://en.wikipedia.org/wiki/POW/MIA_flag

Simply put, how are pages like these processed by the server or the wiki? Is there a directory named POW or do wikis use some kind of forwarding or masking to insert a literal slash in the URL?

1
  • 5
    First off, Wikipedia is not an actual directory of files, it's a PHP program that takes the URL, slices it up and displays the corresponding article based on database queries. Secondly, not all wikis are the same. Wikipedia's behavior is sometimes treated as incorrect in other wiki programs. – digitxp Jan 21 '14 at 1:45
3

From MediaWiki Subpages

In namespaces where the feature is switched off, any forward slashes (/) within a page name are simply part of the page name and do nothing special

Which mean, most of the times, they are just names. As digitxp said, Wikipedia works just like any other dynamic websites, consuming URLs and serve content from database queries. Technically, for large sites like Wikipedia most of the times the page you see is served from a Squid cache which store a static copy to be reused as long as it's current.

This behavior is only correct for Wikipedia. Other wikis could use different wiki engine with different caching strategy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.