*Short Summary:* Yu-Gi-Oh! Wiki needs Namespaces, but it can't be done
the normal way through the staff Special page because of the wiki's size
and the quantity of pages.
------------------------------------------------------------------------
I've been starting to out the Yu-Gi-Oh! Wiki lately. While they are
quite well off in editors and admins, they are largely undeveloped with
any of the normal /complex/ templates and other tricks.
Which brings me to a bit of an issue I'm trying to solve:
On the Yu-Gi-Oh! Wiki they basically have 7 specific pages for a card:
* /Card name/ - The card page with the information on the card.
* Card Gallery:/Card name/ - A gallery of the different images of
the card (Cards can be from multiple packs, starter sets, promos,
be 1st Edition, or holofoil, have English/Japanese versions, and
even have other versions with different lore (the card text or
effect))
* Card Rulings:/Card name/ - Lists various Rulings used in various
game tournaments and other official rulings about the card.
* Card Errata:/Card name/ - A list/table/explanation of the various
changes to things on the card such as it's lore, which were
changed with different releases of the card.
* Card Tips:/Card name/ - Tips on how the card can be effectively
used, or combined with other cards.
* Anime and Manga Appearances:/Card name/ - Times where the card was
used in one of the Anime or Manga.
* Card Trivia:/Card name/ - Various other small bits of information
on the card which don't fit elsewhere.
But now the issue is on the templates.
Unfortunately, instead of putting the Gallery, Rulings, Errata, Tips,
etc... index into one template. They each have their own, but that's not
the big problem.
The issue lies in this:
While on the /Card name/ page you can nicely link to the gallery within
one of the Card Table templates using "Card Gallery:{{PAGENAME}}", that
doesn't work that well on the "Card Gallery:/Card name/" page. So
instead, while the Card's page links using {{PAGENAME}}, the others link
with a template parameter. And that starts to not work out to well. If
you move a Card page to a new title, all the links fix themselves and
point to the correct page, because the thing in common with all the
pages is always the /Card name/ bit in the name, if that's different
they're not part of each other. But, when you move a page like a "Card
Errata:/Card name/" page, the links don't change, and now it's linking
back to incorrect pages, which don't link back properly.
So the real problem is, that the things like "Card Gallery:" should
actually be namespaces. But there's an issue with asking the staff to do
this.
Go to http://yugioh.wikia.com/wiki/Special:Prefixindex/Card_Trivia: this
is just one of them. There are 6 namespaces which would need to be
created. In simple terms, as you see on that page list there, a
Special:Prefixindex list, filled up, with only one of those sets, only
gets half the list. So, count that number there, multiply it by 2, then
multiply that by 6... And that's a few thousand pages which would need
to be moved, then a request would need to be made to the staff, then
things would need to be moved back. Sure it's possible to move things by
bot, but what about the users. The Yu-Gi-Oh! Wiki is a highly active
wiki, we start moving, and editors start getting confused and recreating
stuff. Either that or we come up with some way to basically shut down
the wiki for a few days. But then, one of Wikia's large wiki is dead for
a few days...
So this is something that would need to be done by the Techs. Through
the normal PHP edit, and a set of SQL queries.
Basically the 6 new namespaces would need to be added, then a set of 6
SQL queries like this, would need to be run:
|UPDATE pages SET page_namespace = 104, page_name =
SUBSTRING(page_namespace, 12) WHERE page_namespace = 0 AND
'Card_Trivia:' = LEFT(page_name, 12)|
Which of course, basically would go over all the pages in the Main
namespace starting with 'Card_Trivia:', change the namespace to the new
one (104 in the example), and then strip out the 'Card_Trivia:' from the
start of the title so we don't have it now at
|Card_Trivia:||Card_Trivia:/Card name/|.
Is this something that could still be requested of the techs?
--
~Daniel Friesen(Dantman) of The Gaiapedia, Wikia Graphical Entertainment
Project, and Wiki-Tools.com
_______________________________________________
Wikia-l mailing list
[email protected]
http://lists.wikia.com/mailman/listinfo/wikia-l