Follow TV Tropes

Following

Sandbox / Sitemap

Go To

Friendly note: This is a dynamic list and may never be successfully completed. You can help by expanding it and adding new links!

The list of PHP pages per function. The purpose of this page is to map the site for all page types, it would be helpful for things like finding pages that difficult to remember due to navigation, as well as the potential API tips. (TV Tropes has no API - yet. That doesn't mean writing a wrapper for one using this guide would be impossible.)

The sub-bullets refer to GET message parameters that are appended to URL, the first one comes after ? and the rest go after &, expect for "A/B" filters that go after /, # is added to the end and serves to jump to an element. NNN refers to numbers and TTT refers to text.


Main

Articles

  • pmwiki.php — Main article space
    • Namespace/PageName
    • action=source — View Source
  • wysiwyg_source_editor.php — Source Editor
    • groupname=TTT — Namespace
    • title=TTT — Page Title
    • load=source
  • relatedsearch.php — Related pages
    • term=Namespace/PageName
  • article_history.php — Page History
    • article=Namespace.PageName
    • more=t — Expand full
    • #editNNNNNNNN — Jump to specific edit
  • context.php — History Context
    • groupname=TTT — Namespace
    • title=TTT — Page Title
    • line=NNN — Line to highlight
  • remarks.php — Discussion page
    • trope=Namespace.PageName
    • #comment-NNNN — Jump to specific post
  • remark_show_history.php — Discussion post history
    • id=NNNNNN — Comment id
    • subject_trope=Namespace.PageName
  • forum_holler_mod.php — Holler
    • subject_trope=Namespace.PageName
    • post=NNNNNN-NNNNNN — Thread id - Comment id
  • remark_edit.php — Edit Discussion post
    • subjectTrope=Namespace.PageName
    • remarkID=NNNNNN — Comment id
    • childof=106337 — Parent comment id
  • archived_discussion.phpThe Beforetimes Discussion archive (up until June 2010)
    • s_t=Namespace.PageName
  • issue_helper.php — Send notifier
    • a=Namespace.PageName
    • t=TTT — to Troper
    • i=NNNNNNNN — Edit id
  • set_page_type.php — Edit Pagetype (only works when opened from an article)

Technical

  • search_result.php — Search engine
    • q=TTT — Search query
    • search_type (article)
    • page_type (all)
    • cx
    • cof
    • ie
    • siteurl
    • ref
    • ss
  • elastic_search_result.php — New Search
    • q=TTT — Search query
    • search_type (article / forum_post)
    • page_type (all)

Browse

Community

Forums

  • topics.phpTV Tropes Forum main page
  • factivity2.php — Latest Posts
    • forum=N — Filter by subforum
    • deadlines=1 — Filter by deadlines
  • conversations.php — Subforums
    • topic=NNNNNNNNNNNNNNNNNNNNNNNN — Topics
  • posts.php — Forum threads
    • discussion=NNNNNNNNNNNNNNNNNNNNNNNN — Specific thread
    • page=NNN — Open page
    • page=NNN#NNNNN — Jump to specific post
  • factivity.php — Latest Forum Posts (Old version)
  • addpost.php — Reply form
    • discussion=NNNNNNNNNNNNNNNNNNNNNNNN — Specific thread
  • editpost.php — Edit post
    • postid=NNNNNNNNNNNNNN — Specific database ID of the post
    • page=NNNNNNNNN — Specific page of the thread
    • post=NNNNNNNNN — The number of the post in the thread sequence.

Queries

Trope Launch Pad

Reviews

Live Blogginations

Tools

Activity Watch

Lists and statistics

Technical

Editing handytools

Account

Personal

Troper Activity

Badges

  • bshop.php — Badge shop
    • s=TTTTTTT — Badge category?
  • bcollection.php — Badge collection
    • t=TTTTTTTT — Troper name to show badges (if there is no troper name, your badges will be shown instead).
  • bwear.php — Wear badge
    • cid=NNN — The ID of the badge itself?
    • wearing=N — Whether the badge is being worn or not?
  • bwearingposition.php — Change badge position
    • cid=NNN — The ID of the badge itself?
    • pos=N — The position the badge is being worn in (from 1 to 3)

Settings

About

Server/AJAX

  • validate.php — Login handler
    • ajax=N — Whether to use AJAX (this is usually set to 1 for Ajax requests)
    • handle=TTTTTTTTT — Username
    • pass=TTTTTTTTT — Password
    • remember=on — "Remember me"
  • query-handler.php — Query handler
    • ajax=N — Whether to use AJAX (this is usually set to 1 for Ajax requests)
    • action=TTTTTTTTT — The name of the action to use.
    • query_id=NNNNNN — Query ID (same as usual).
  • change_profile_image.php — Change profile image
    • src=SRC — The source of the image itself.
  • uploadImg.php — Upload avatar (sends the target image in form data)
  • toggle_user_prefs.php — Toggle user preferences on profile page.
    • pref=TTTT— Name of the preference to change.
    • value=N — Value of the change (may be 0, meaning un-toggled, or 1, meaning toggled).
  • check_troper_lock.php — Checks if an article is locked. (Request parameters (group name, namespace) are sent as a JSON object.)
    • groupname=TTTTTTTTT
    • title=TTTTTTTTT
  • browse.api.php — API for the Browse feature (long list of trope names and data)
  • check_ad_free.php — Check if the user purchased the ad-free subscription.
  • showcase-edit.php — Edit showcase (mod only function)
  • contact-us.php — Handler for the Contact page
  • forum-post-preview.php — Forum post previewer (when the Preview button is clicked).
  • ykttw-ajax.php — TLP draft/comment action handler
    • action=TTTT — Action to take on the draft or comment
    • ykid=NNNNNNN — ID of the thing to take action on.
    • vote=TTTT — Optional vote parameter (up or down based on the click) if the action in question is a vote.
  • cutlist-handler.php — Cutlist handler (parameters need testing!)
  • subscriptions.php — Subscription handler
    • action=TTTTTT? (Most likely guess based on parameter name).
    • plan=TTTTTTT? (Most likely guess based on parameter name).
    • changing=TTTTTTT? (Most likely guess based on parameter name).
  • https://tvtropes.org/ajax/delete_account.php — Delete Account
    • We're not linking directly to it for reasons that should be obvious.
    • For those who still don't understand: there is NO CONFIRMATION DIALOG for deleting an account server-side and you can't undo account deletion. Seriously, DON'T copy-paste or test this out unless you actually plan to delete your account. Don't say we didn't warn you.
  • watchlist.php — Watchlist (watch or unwatch articles)
    • groupname=TTTTTTT — Groupname of the article to watch.
    • title=TTTTTTT — Title of the article to watch.
  • get_random_video.php — Get random video
    • pageview=NNNNN — The current page view.

P5/5P Functions

  • p5_toggle_done.php — Declare an issue done
    • id=NNNNNNN — Issue ID
  • p5_closer.php — Close an issue
    • id=NNNNNNN
    • d=???? (Needs testing.)
  • p5_voter.php — Vote on an issue
    • id=NNNNNN — Issue ID (based on name of parameter)
    • way=????? (Needs testing.)
    • p5er=TTTTTT? (Most likely string based on name of parameter.)
  • p5_zap.php — Zap an issue
    • id=NNNNNN — Issue ID (based on name of parameter).
  • p5_undovote.php — Undo a vote on an issue
    • id=NNNNNN — Issue ID (based on name of parameter)
    • way=????? (Needs testing.)
    • p5er=TTTTTT? (Most likely string based on name of parameter.)

Other


Top