Article Titles

  • arbitrary_title is any combination of characters, there is a many-to-one mapping from arbitrary_title to dbkey_title
  • dbkey_title is what you get when you downcase and convert to characters that are acceptable in a domain name (remove spaces, underscores, etc)
  • canonical_title is the name that a particular dbkey_title maps to

also see BlueLinking Case Variants

Test Suite

Write out what the test suite needs to be/do here.

Basic

  • there's a page called /Art_Title
  • /art_title retrieves /Art_Title
  • /ARTTITLE retrieves /Art_Title
  • /art%20title retrieves /Art_Title
  • [Art Title], [art title], [ART_TITLE], and [ArtTitle] all show as existing links
  • [art_nonsense] doesn't

changing canonical caps

  • button (formerly "move") reads "rename"
  • submit 'ArtTitle' as new name (returns page with new name -- no warning)
  • /art_title retrieves /ArtTitle
  • /ARTTITLE retrieves /ArtTitle
  • /Art_Title retrieves /ArtTitle

transclusion

  • {{:Art_Title}} transcludes /Art_Title
  • {{:art_title}} transcludes /Art_Title
  • {{phoney}} transcludes /Template:phoney
  • {{User:ethan}} transcludes /User:Ethan


static files

  • same round of basic tests but with static files (???)

Upgrade path

(remember to get rid of debugging code!!)

run script that eliminates redirects to pages with same namespace/dbkey2. ?? how careful do we want to be with this? we could also move them all to a junk namespace (might still be duplicates)

run script that concatenates all instances of non-redirect duplicates with a shared dbkey2 into a single page (?? set canonical to earliest variant?)


  1. create new table / index
  2. update data for page table and new table (see above)
  3. then update code once data is in place

Repositories


Misc Notes

  • figure out how existing search works?


Retrieved from "http://aboutus.com/index.php?title=Article_Titles&oldid=5699337"