Follow TV Tropes

Following

Wiki Development Project: Namespace Cleanup and Configuration

Go To

Hi, folks! We're currently in the middle of an extended wiki development project that will add some nifty tools to the moderation kit (and some bells and whistles for tropers as well). While a full list of what's coming is outside the scope of this topic, there is one very specific thing that needs community involvement and feedback: the namespace configuration system.

In a Nutshell

We're changing namespaces from informal components that anyone can add (you can make an article in the "Glurkbrgl" namespace if you want, just by editing it) to a formal list of allowed values. This list can be added to and offers additional controls, such as the ability to set which style sheet is used by articles in the namespace, which page type is the default, the icon for the namespace tab bar, and how editing and article creation work.

    Details 

Namespace Configuration System

  • Namespaces will be itemized in a database table.
  • There will be a php page where anyone can view the list and the settings for each namespace, and mods can edit them.
  • The configuration system will have (roughly) the following attributes:
    • Name: (Main, YMMV, Disney, etc.) This will include the canonical capitalization of the namespace (see below).
    • Editing Status: This will be a selection from a list of possible restrictions, from "Open" (anyone can edit/create articles) to "Require TLP" (article creation must go through Trope Launch Pad) to "Closed" (nobody can edit or create articles), and a few more.
    • Page Type: The default page type to assign to articles in the namespace (a work, a creator, a trope, a subpage, etc.).
    • Style: Main, Darth Wiki, Sugar Wiki, etc.
    • Auto-Index: Whether the namespace behaves like normal or is automatically indexed, such as in Laconic Wiki.
    • Icon: Choose the icon that appears in the namespace tab bar in the header of wiki articles.
  • When anyone requests a wiki article (HTTP GET to pmwiki.php), the namespace part of the URL will be checked and forced to the proper capitalization. This will prevent things like "Ymmv", which break wiki functionality.
  • When anyone tries to create or edit an article, the namespace configuration will be checked to determine if that action is allowed. If creation is blocked, a suitable message will be displayed. If editing is blocked, then the article will display as locked.

What We Need

What we need from the community is agreement on which namespaces should be kept and which should be discarded. The wiki has accumulated a lot of cruft due to the free-for-all nature of namespace creation, and we want to start with as clean a slate as possible.

For reference:

How This Will Work

If we decide not to keep a namespace, any articles in it should either be cut or moved to a more suitable namespace. Any such namespaces that have remaining articles when the new system goes live will be set to "Closed", so that nobody can make new ones and the existing ones will be automatically locked.

For all remaining namespaces, we need to populate the initial settings: page type, editing status, and style. Note that many of these are already known and configured, so we'll carry those over — there's no need to renegotiate the status of Main or YMMV, for example. I'm mainly talking about the odder ones like, say, Castle.

After the system goes live, if anyone tries to add an article that isn't in an approved namespace, the attempt will be blocked. Requesting new namespaces would be done in the Locked Pages topic or some other topic we create specifically for that purpose.

Rules and Procedures

  • The working list of namespaces to load into the configuration system will be stored in Namespace Cleanup Project.
  • Any user may bring up a namespace that they think should be removed or given special handling.
  • If there is significant immediate consensus, we'll approve it and any required actions (cleanup, transplants) can begin.
  • If consensus is not clear, then we will use a crowner to collect votes.

We will also answer general questions about the system in this topic, but we will keep it focused specifically on the namespace project. Off-topic thumps will be used if needed.

    Frequently Asked Questions 
  • Q: Are we changing any media namespaces (Film, Western Animation, Manhua, etc.)?
    A: No, we are not. That's not in the scope of the project; the intent is to configure all media namespaces as they currently exist.

  • Q: What are we doing with examples subpages (like Castle.Tropes Ato D)?
    A: We want to clean those up. Check out this post to see some ideas, and this Google Drive doc for a list of all such articles.
    Note: We can't just merge them back together, as most were hard split for size to begin with.

  • Q: So what should we focus on?
    A: That's a great question! We're looking mainly at namespaces that have fewer than 40 articles in them, and that are not medium namespaces. In other words, let's start from the bottom of the list. In particular, let's get rid of one-off namespaces that aren't being used for actual trope content.

  • Q: Is there a list of all namespaces that are being used for trope example subpages?
    A: Thanks for asking. Yes, it's here. Note that some media namespaces were caught in the query.

edited 8th Jun '17 1:54:49 PM by Fighteer

Fighteer Geronimo! from the Time Vortex Relationship Status: Dancing with Captain Jack Harkness
Geronimo!
Jun 7th 2017 at 10:00:33 AM

Hi, folks! We're currently in the middle of an extended wiki development project that will add some nifty tools to the moderation kit (and some bells and whistles for tropers as well). While a full list of what's coming is outside the scope of this topic, there is one very specific thing that needs community involvement and feedback: the namespace configuration system.

In a Nutshell

We're changing namespaces from informal components that anyone can add (you can make an article in the "Glurkbrgl" namespace if you want, just by editing it) to a formal list of allowed values. This list can be added to and offers additional controls, such as the ability to set which style sheet is used by articles in the namespace, which page type is the default, the icon for the namespace tab bar, and how editing and article creation work.

    Details 

Namespace Configuration System

  • Namespaces will be itemized in a database table.
  • There will be a php page where anyone can view the list and the settings for each namespace, and mods can edit them.
  • The configuration system will have (roughly) the following attributes:
    • Name: (Main, YMMV, Disney, etc.) This will include the canonical capitalization of the namespace (see below).
    • Editing Status: This will be a selection from a list of possible restrictions, from "Open" (anyone can edit/create articles) to "Require TLP" (article creation must go through Trope Launch Pad) to "Closed" (nobody can edit or create articles), and a few more.
    • Page Type: The default page type to assign to articles in the namespace (a work, a creator, a trope, a subpage, etc.).
    • Style: Main, Darth Wiki, Sugar Wiki, etc.
    • Auto-Index: Whether the namespace behaves like normal or is automatically indexed, such as in Laconic Wiki.
    • Icon: Choose the icon that appears in the namespace tab bar in the header of wiki articles.
  • When anyone requests a wiki article (HTTP GET to pmwiki.php), the namespace part of the URL will be checked and forced to the proper capitalization. This will prevent things like "Ymmv", which break wiki functionality.
  • When anyone tries to create or edit an article, the namespace configuration will be checked to determine if that action is allowed. If creation is blocked, a suitable message will be displayed. If editing is blocked, then the article will display as locked.

What We Need

What we need from the community is agreement on which namespaces should be kept and which should be discarded. The wiki has accumulated a lot of cruft due to the free-for-all nature of namespace creation, and we want to start with as clean a slate as possible.

For reference:

How This Will Work

If we decide not to keep a namespace, any articles in it should either be cut or moved to a more suitable namespace. Any such namespaces that have remaining articles when the new system goes live will be set to "Closed", so that nobody can make new ones and the existing ones will be automatically locked.

For all remaining namespaces, we need to populate the initial settings: page type, editing status, and style. Note that many of these are already known and configured, so we'll carry those over — there's no need to renegotiate the status of Main or YMMV, for example. I'm mainly talking about the odder ones like, say, Castle.

After the system goes live, if anyone tries to add an article that isn't in an approved namespace, the attempt will be blocked. Requesting new namespaces would be done in the Locked Pages topic or some other topic we create specifically for that purpose.

Rules and Procedures

  • The working list of namespaces to load into the configuration system will be stored in Namespace Cleanup Project.
  • Any user may bring up a namespace that they think should be removed or given special handling.
  • If there is significant immediate consensus, we'll approve it and any required actions (cleanup, transplants) can begin.
  • If consensus is not clear, then we will use a crowner to collect votes.

We will also answer general questions about the system in this topic, but we will keep it focused specifically on the namespace project. Off-topic thumps will be used if needed.

    Frequently Asked Questions 
  • Q: Are we changing any media namespaces (Film, Western Animation, Manhua, etc.)?
    A: No, we are not. That's not in the scope of the project; the intent is to configure all media namespaces as they currently exist.

  • Q: What are we doing with examples subpages (like Castle.Tropes Ato D)?
    A: We want to clean those up. Check out this post to see some ideas, and this Google Drive doc for a list of all such articles.
    Note: We can't just merge them back together, as most were hard split for size to begin with.

  • Q: So what should we focus on?
    A: That's a great question! We're looking mainly at namespaces that have fewer than 40 articles in them, and that are not medium namespaces. In other words, let's start from the bottom of the list. In particular, let's get rid of one-off namespaces that aren't being used for actual trope content.

  • Q: Is there a list of all namespaces that are being used for trope example subpages?
    A: Thanks for asking. Yes, it's here. Note that some media namespaces were caught in the query.

edited 8th Jun '17 1:54:49 PM by Fighteer

TV Tropes Changelog -- keep track of updates to the site!
AnotherDuck No, the other one. from Stockholm Relationship Status: In season
No, the other one.
Jun 7th 2017 at 10:43:07 AM

That Castle example brings up one question: How should works with multiple trope pages be handled? As it is, they (at least many do; not sure how consistently) use the work name as the namespace, with a page name like "TropesAToZ". Is there a different solution in mind for that, or do we continue to create them like that?

Check out my fanfiction!
Fighteer Geronimo! from the Time Vortex Relationship Status: Dancing with Captain Jack Harkness
Geronimo!
Jun 7th 2017 at 11:04:28 AM

That's a very good question, and the answer comes down to a dichotomy between what works and what I think is the best practice.

Best-practice, the splits would be the namespace and the article name would be the title. So rather than Castle.Tropes A To D, it would be TropesAToD.Castle, to fit the pattern of existing subpage usage (YMMV.Castle, Trivia.Castle, etc.).

The primary benefits of this are:

  • The namespace header bar would work with these subpages.
  • They would fit the pattern of other subpages.
  • We wouldn't have to make a new namespace each time a work article is hard split for length.

The drawbacks are:

  • We'd have to maintain a namespace for each alphabetical split that's in use (or forcibly consolidate them).
  • It'd be a lot of work to move all the articles.
  • The Wiki Word for each subpage would render as the title of the article (Castle), rather than Tropes A to D as it does currently. This would require some mental shifts in how people use such links.

Changing the work split structure would have the additional advantage that it would make the eventual migration to the 2.0 design (should that come to fruition) much easier, as we wouldn't have to create special handling for all the subpages.

Bottom line: yes, it would be better, but are we willing to do the work? Also, I'd recommend that the effort to do this, if we decide to, should go in a separate Projects thread.

edited 7th Jun '17 12:16:10 PM by Fighteer

TV Tropes Changelog -- keep track of updates to the site!
Fighteer Geronimo! from the Time Vortex Relationship Status: Dancing with Captain Jack Harkness
Geronimo!
Jun 7th 2017 at 12:52:37 PM

I've set up the Namespace Cleanup Project page. It's causing the site to throw a "page too long" error, but I'm hoping it can be managed. If there are suggestions for how to do it better, I'm all ears.

TV Tropes Changelog -- keep track of updates to the site!
Piterpicher ✓Veteran Editor from TV Tropes Ultimate (Poland IRL) Relationship Status: All is for my lord
✓Veteran Editor
Jun 7th 2017 at 1:14:40 PM

Hello. I just wanted to warn everyone that the Pl Komiks and Pl Subiektywny Odbior are Polish versions of the Comic Book and YMMV namespaces, respectively. Please don't delete them. The Polish translations are still a work in progress, but I will post my ideas for the Polish namespaces soon. Thank you, Piterpicher.

edited 7th Jun '17 1:15:06 PM by Piterpicher

♂ | Currently trying to make Video Games of the 2010s too long so it can be splittable, also drive-by posting and editing.
Rotpar FUCKING COUCH BARD! from California Relationship Status: Get out of here, STALKER
FUCKING COUCH BARD!
Jun 7th 2017 at 1:20:24 PM

Later on I'll take a look at some of the under-used namespaces we have, like Video Games, try to figure out what's useful and what's not.

Would there be any better way, plus or minus the 2.0 revamp, to organize sub-pages for tropes rather than creating a new namespace per trope? Because at a glance that's the issue with the page I provided; the namespace exists for the two sub-pages of this trivia page.

"But don't give up hope. Everyone is cured sooner or later. In the end we shall shoot you." - O'Brien, 1984
Fighteer Geronimo! from the Time Vortex Relationship Status: Dancing with Captain Jack Harkness
Geronimo!
Jun 7th 2017 at 1:24:19 PM

[up][up]Don't worry. Nothing's being deleted without a justification.

But let's start with something kind of crazy, from the "there's only one of these" part of the list: StorylineAndAesopReactionsAndInterpretations.My Little Pony Friendship Is Magic. Really, folks? Assuming that we need a subpage just for this stuff, it can go as YMMV.My Little Pony Friendship Is Magic Storyline And Aesop Reactions or something like that.

edited 7th Jun '17 1:36:11 PM by Fighteer

TV Tropes Changelog -- keep track of updates to the site!
AnotherDuck No, the other one. from Stockholm Relationship Status: In season
No, the other one.
Jun 7th 2017 at 1:25:56 PM

I skimmed over the list, and some of them had up to seven or eight trope pages sorted alphabetically. Many of them had redirects (usually a real page like TropesAToZ with a redirect like TropesA-Z), character pages in the "work" namespace, and other organisations, such as by season. In total, I'd estimate at most some 10%-20% of all namespaces are used like that, but it's hard to get an exact number. Maybe less.

Check out my fanfiction!
Fighteer Geronimo! from the Time Vortex Relationship Status: Dancing with Captain Jack Harkness
Geronimo!
Jun 7th 2017 at 1:36:50 PM

Rotpar: Unfortunately, I see no functional way, pending the 2.0 design, to eliminate subpages that use the trope as the namespace.

Another Duck: I feel like we may end up doing some sort of title search for all pages whose names start with "Tropes" and putting that as a separate cleanup effort.

edited 7th Jun '17 1:37:43 PM by Fighteer

TV Tropes Changelog -- keep track of updates to the site!
Jun 7th 2017 at 1:48:14 PM

Presumably the Split Trope Pages will be handled the same way as the Split Works Pages question. like how... DeaderThanDisco has been split into 17 different pages. ... And the Translations will follow the same...

And then there's Disambig.Dead Air, which is a Disambiguation, but it's the only one that's in the Disambig namespace, presumably 'cause it's got a trope called that as well.

edited 7th Jun '17 2:08:57 PM by Malady

Help with possible disambig and redirect issues!
Jun 7th 2017 at 1:48:30 PM

Now that's a much-welcome, much-needed project.

Note that a lot of one-entry namespaces are just redirects to a work, usually because the initial page was created under a wrong namespace. For example, LiveActionTV.Felix The Cat Live (redirect to Series/); or Podcasts.New Generation Project Podcast (redirect to Podcast/).

I assume that, for those barely useful redirects, we can clean them up freely without having to check here? That'll simplify things for everybody.

Fighteer Geronimo! from the Time Vortex Relationship Status: Dancing with Captain Jack Harkness
Geronimo!
Jun 7th 2017 at 2:00:51 PM

Yes, by all means chop away at those bad-namespace redirects!

[up][up] Disambig.Dead Air may have to be transplanted back to the trope page. As it stands, it's pointless, because nobody will ever link directly to the namespace. The reason disambigs live in Main in the first place is to capture naked wicks.

edited 7th Jun '17 2:03:13 PM by Fighteer

TV Tropes Changelog -- keep track of updates to the site!
ANTMuddle RDG from Canada, Eh?
RDG
Jun 7th 2017 at 2:03:39 PM

I'd keep this type of formula: Live-Action TV.

This type of formula is another matter: Write A Cloudcuckoolander.

edited 7th Jun '17 2:04:24 PM by ANTMuddle

New Year's Eve parties are a truth serum.
Fighteer Geronimo! from the Time Vortex Relationship Status: Dancing with Captain Jack Harkness
Geronimo!
Jun 7th 2017 at 2:05:41 PM

Live-Action TV is not currently a valid namespace, although the idea of using it for medium splits of trope pages has some merit. The problem is when you also do work subpages for the trope. LiveActionTV.Badass Adorable is a trope subpage split by medium, while BadassAdorable.My Little Pony Friendship Is Magic is a work subpage split by trope? Confusion all around.

Edit: You edited your post, making what I wanted to say moot. [nja]

The So You Want To namespace is fine to leave as is. No reason to mess with it as it lives in Just for Fun and helps us keep those things separate. If we want to be really pedantic, we could fold all of those in to the JFF namespace, reattaching the So You Want To part into the title: SoYouWantTo.Write A Story => JustForFun.So You Want To Write A Story. But I don't really see the point.

edited 7th Jun '17 2:11:38 PM by Fighteer

TV Tropes Changelog -- keep track of updates to the site!
Fighteer Geronimo! from the Time Vortex Relationship Status: Dancing with Captain Jack Harkness
Geronimo!
Jun 7th 2017 at 2:34:44 PM

I have, thanks to the admins, downloaded two lists queried from the database.

The first is all articles not in Main whose title starts with "Tropes". Google Drive link. There are some obvious false positives but it's enough to start with.

The second is all namespaces whose name matches the name of a trope. Google Drive link. We can eliminate any that are for works and then identify them all as 'a subpage'.

Edit: By the statistics, roughly 53% of all namespaces are trope subpages.

edited 7th Jun '17 4:21:27 PM by Fighteer

TV Tropes Changelog -- keep track of updates to the site!
Jun 8th 2017 at 1:10:50 AM

Does this mean we can finally change Videogame to Video Game? :D

The Protomen enhanced my life.
IndirectActiveTransport You Give Me Fever from Chicago Relationship Status: Coming soon to theaters
You Give Me Fever
Jun 8th 2017 at 2:47:22 AM

"recap" and "tropers" are two we can probably afford to get away with. Work pages can already get their own namespace, so there's no reason to have a separate one for recaps and even though I have a page myself, it's mainly there for the purpose of curating pages I launched, and I haven't even been doing that well. Watch List and To Do List can easily achieve the same function, especially since other tropers can't even edit your page anymore, which takes all the fun out of it.

I understand why headscratchers and fridge have two different namespaces, (it made more sense when headscratchers was "It Just Bugs Me") but if push comes to shove those two could be merged, with !!! for "headscratchers" and another for !!! "fridge logic" on the same page, the way some trope pages have !!!"examples where this" and !!!"examples where that".

Anime and western animation should just be merged into animation, the way every other regional variant of animation already is, although I suppose web animation can get a pass it could be folded into fan works and web original with no real loss.

Manga, comicbook, comicstrip, manhwa, manhua. That's even worse, they should all be merged under comics and be done with. Again, webcomics might get a pass here but they could be folded into web original and fanworks with no real loss.

Bollywood having a usefulnotes page and an index is fine. Why it has a namespace is beyond me. The film namespace seems sufficient.

That's why he wants you to have the money. Not so you can buy 14 Cadillacs but so you can help build up the wastes
Candi Sorcerer in training from Closer to rimward than hubward Relationship Status: They can't hide forever. We've got satellites.
Sorcerer in training
Jun 8th 2017 at 3:18:22 AM

Web Original hasn't been a valid namespace for a few years because it is way too vague.

Animation and comics are an issue because there are distinct subtypes that mean different things to different countries and audiences. Anime and Hollywood animation are incredibly different categories, as are manga and western comics.

We definitely need to figure out what to do with all the smaller subtypes of both. Only thing that's crossed my mind is East and West, but that's 1) tacky and gross and 2) often not accurate.

Coming back to where you started is not the same as never leaving. -Terry Pratchett
DustSnitch Relationship Status: Non-Canon
Jun 8th 2017 at 3:29:17 AM

Web Original has already been covered by Web Video, Podcast, Web Comics, and other namespaces, so I agree that it seems unnecessary.

If we're really looking for namespaces to cut, check out the Just for Fun homepages listed hereLink works . Most of them are in one-off namespaces like Yoda, ROT13, and Elmer Fudd. Nearly everything below the Just For Fun marker there is from a namespace that can be cut.

The damned do not suffer torments, but live forever without the hope or light of Nicolas Cage.
Fighteer Geronimo! from the Time Vortex Relationship Status: Dancing with Captain Jack Harkness
Geronimo!
Jun 8th 2017 at 4:56:09 AM

We aren't cutting or redoing any primary medium namespaces or popular subpages. Let's not get crazy here: we're far less concerned with Tropers and Recap than we are with stuff toward the bottom of the list.

The alt-language home pages are fine; they're not hurting anything and they're fun.

edited 8th Jun '17 6:16:19 AM by Fighteer

TV Tropes Changelog -- keep track of updates to the site!
Jun 8th 2017 at 7:14:45 AM

About WebOriginal/, although it is true that we tried to discontinue it and LOTS of work pages using it should be better in another namespaces, it is still in legit use for some works that are very difficult to pin down (as specified on Wick Namespace Migration).

For example, where else would you put the Os Tan page?

edited 8th Jun '17 7:15:56 AM by StFan

Fighteer Geronimo! from the Time Vortex Relationship Status: Dancing with Captain Jack Harkness
Geronimo!
Jun 8th 2017 at 8:48:28 AM

Yep. We won't arbitrarily cut those namespaces, although we may make it more difficult to create new articles in them. Nothing's set in stone, anyway.

TV Tropes Changelog -- keep track of updates to the site!
Jun 8th 2017 at 9:16:28 AM

May be a dumb question, but... it seems a lot of the issues relate to pages that were split for length. But each page is basically all text, with maybe one image at the top. Text doesn't take long to load. Maybe the solution is to just stop splitting pages, and merge all the ones that were already split back into one? (So the aforementioned 'Castle A-D, Castle E-H, etc.' pages would be concatenated into just one Series/Castle page, for instance).

Madrugada Zzzzzzzzzz Relationship Status: In season
Zzzzzzzzzz
Jun 8th 2017 at 9:22:53 AM

There's a limit to how large a file can be without breaking the server. It's not a small number, but pages that are split for length generally have neared or exceeded it. Merging them back into one isn't an option.

...if you don’t love you’re dead, and if you do, they’ll kill you for it.
Fighteer Geronimo! from the Time Vortex Relationship Status: Dancing with Captain Jack Harkness
Geronimo!
Jun 8th 2017 at 9:24:56 AM

There is a limit to how long articles can be for browsers to render them efficiently, and there are also internal limits on how the database handles links and history tables. Further, there are readability concerns when an article gets too large.

There are technical ways to handle this, but they rely on future development ideas that we aren't close to implementing. In the meantime, hard-splitting large articles is a fact of life.

Edit: [nja]'d by Madrugada.

edited 8th Jun '17 9:25:15 AM by Fighteer

TV Tropes Changelog -- keep track of updates to the site!

Total posts: 262
Top

How well does it match the trope?

Example of:

/

Media sources:

/

Report