User talk:Ppiotr

From Yugipedia
Jump to: navigation, search

Bugs with the Namespace changes[edit]

Hello, you were asking about the bugs caused by the namespace changes. Dantman asked me to pass them on. So ah,

  • The old talk pages are no longer linked to from their corresponding article. Such as, [[Talk:Card Rulings:Return from the Different Dimension]] should be renamed to Card Rulings talk:Return from the Different Dimension to stay intact with its article.
  • It's impossible (it seems) to view or restore deleted revisions of the new namespaces that were deleted before the namespace change.
  • This isn't a big one, but any pages in the new namespace that were watched beforehand appear as red links on a watchlist. (following them still leads to editing to existing article).

Erm, that seems to be about it. -- Deltaneos 09:59, 10 March 2008 (UTC)

Thanks for the fixes. As for needing more namespaces, there's been talk of having Set Card Gallery, Set Card Ratios and Set Card List as namespaces and possibly a few others, but there hasn't been a definite decision yet. -- Deltaneos 13:25, 25 March 2008 (UTC)
Yeah, that one seems to be fixed. Here's an example. All the old deleted revisions that were previously unavailable are back now. But, I'm pretty sure it was deleted more than once, yet it appears only once in the deletion log -- Deltaneos 14:43, 5 April 2008 (UTC)

More New Namespaces[edit]

  • Hello. We have some extra Namespaces we'd like to add, to facilitate our cataloging system. They are:
Set Card Ratios, Set Card Galleries, Set Card Lists, Portal, Card Lores, Card Artworks and Card Names. The first three are occupied, while the other four do not have entries in the namespace. Can you help on this?--TwoTailedFox (My Talk Page) 23:05, 29 March 2008 (UTC)
  • Deal, We've been planning on using it to help improve our searching capabilities.--TwoTailedFox (My Talk Page) 23:22, 29 March 2008 (UTC)
  • Thanks. When can we expect the Namespaces to be added?--TwoTailedFox (My Talk Page) 00:30, 30 March 2008 (UTC)

SMW/Namespaces[edit]

We've got a SMW bug as a result of the custom namespaces. The custom namespace numbers collide with the SMW namespace numbers and so the custom namespaces are being treated as the Type:,etc... Namespaces.

We need $smwgNamespaceIndex to be set to a higher value. It defaults to 100 which collides with the custom namespaces. For best compatibility and least issues, I suggest setting $smwgNamespaceIndex = 500; or at least $smwgNamespaceIndex = 200; High numeric values don't cost anything, but they do make sure that the numbers will never collide with anything. ~NOTASTAFF Daniel Friesen-local (DanTMan, Nadir Seen Fire) (talk) Mar 30, 2008 @ 13:28 (UTC)

As for the other namespaces, we need them now-ish. Four of them can be added straight away, it's just the first three that need additional SQL commands to maintain the pages that occupy them.--TwoTailedFox (My Talk Page) 13:31, 30 March 2008 (UTC)

  • Thanks for adding them, can you check to see that the Article Count includes them? It doesn't seem to update for the just-added ones.--TwoTailedFox (My Talk Page) 15:57, 31 March 2008 (UTC)

Nope, I didn't add any Type:, or Property: pages. O_o Actually, I thought SMW removed the Relations: namespace. ~NOTASTAFF Daniel Friesen-local (DanTMan, Nadir Seen Fire) (talk) Apr 4, 2008 @ 01:34 (UTC)

SMW Type[edit]

Hey Nef, if I were to create the PHP files for a custom SMW Type or two, would Wikia set them up specifically on the Yu-Gi-Oh! Wiki?

The ATK and DEF values that the Yu-Gi-Oh! Card game uses don't work as a Numeric type because the values ?, ???, ???? (don't ask me why the wiki wants three lengths of ?'s), X000, and ∞ are valid ATK/DEF values. Currently to work around that I'm using the String type, however that means we completely lose nice sorting and > or < querying. And of course, values like infinite and ∞, or 0 and 0000 no longer become the same.

So it would be nice to subclass the Numeric PHP type and create a special type for the Yu-Gi-Oh! Wiki for ATK and DEF values. ~NOTASTAFF Daniel Friesen-local (DanTMan, Nadir Seen Fire) (talk) Apr 5, 2008 @ 23:01 (UTC)

Mkay, I have something ready.

  • The numeric values are allowed (but I do restrict to positives, afaik card strengths in Yu-Gi-Oh! Should never be written negative)
  • The value ∞ is allowed, and aliased to it by default is Infinite,Infinity,inf,&infin;,&#8734;,&#x221e;,∞ however this is actually controlled by a MediaWiki message MediaWiki:Smw-ygo-infinite which is a comma separated list of values to be considered as infinite. Things are quoted and escaped, and are case insensitive.
  • The value ? is allowed, and aliased to it by default is Unknown,????,? however this is actually controlled by a MediaWiki message MediaWiki:Smw-ygo-unknown which is just like the above message.
  • The value X000 is also allowed.

At the moment, I do not have sorting setup yet though. ~NOTASTAFF Daniel Friesen-local (DanTMan, Nadir Seen Fire) (talk) Apr 6, 2008 @ 07:18 (UTC)

Status[edit]

I've actually got it basically complete for the actual YGO-Card Strength type (Though TwoTailedFox also wants a special type for card names; In the Yu-Gi-Oh! cards, the #1, #7, etc... Are actually in superscript, so normally they'd do something like Jinzo <sup>#7</sup> however that would break the ability to search for card names like Jinzo #7. And otherwise they'd need to leave it without the formatting that makes names properly fit what is displayed on the card, or worse, require double entry of info. So he wants a type which will superscript the /#\d+/).

My primary issue atm is I'm trying to get my version tracker on my webserver working (Jae poked me enough to use Git, though it's proving a bit of an annoyance to get working right in the way I want it). That way instead of needing to have me send you code all the time when the wiki needs new types or stuff, you can just execute a git pull and it'll update everything. ~NOTASTAFF Daniel Friesen-local (DanTMan, Nadir Seen Fire) (talk) Apr 15, 2008 @ 02:51 (UTC)

I gave up on git, I had issues setting it up in the type of environment I wanted. Tried SVN, had issues, and just ended up setting up svn with a setup not as extravagant as planned.
In a day or two I'll try to commit the extension for the Yu-Gi-Oh! types after double checking only the stable code goes in.
After that, you should be able to bring the extension over to Wikia just using:
svn checkout svn://svn.nadir-point.com/mediawiki-extensions/trunk/SMW-YGO extensions/wiki-tools/SMW-YGO
or
svn checkout svn://svn.nadir-point.com/mediawiki-extensions/trunk/SMW-YGO extensions/SMW-YGO
I intend to make all my extensions work whether you put them inside a wiki-tools subdirectory or not. The point of that is allowing people to checkout individual extensions if they want, or being able to checkout all of the Wiki-Tools extensions into a wiki-tools subdirectory at once, without breaking the ability to checkout extensions from Wikimedia's Subversion.
I've also got a web viewer running, you can take a look at everything beforehand at:
http://svn.nadir-point.com/viewvc/mediawiki-extensions
^_^ BTW: I'm actually running ViewVC as standalone, and reverse-proxying it with NGINX. Heh, there isn't a lick of apache running anywhere on my system (though it looks like something had it as a dependency and automatically installed it, though it's not ever going to run). So I'm using svnserve (svn://) for public access, svnserve tunneled through SSH for private access and committing (svn+ssh://), and ViewVC for web viewing. I have ViewVC configured to allow people to download tarballs of the repos, however the new template I switched to doesn't appear to support the link, so I'll have to fix that sometime later. As a convenience I'm also thinking of setting it up so that ViewVC will give you a nice checkout link for your current directory as a convenience. ~NOTASTAFF Daniel Friesen-local (DanTMan, Nadir Seen Fire) (talk) Apr 18, 2008 @ 07:52 (UTC)
^_^ I have a V1.0 of SMW-YGO complete. You can see live demos listed at http://dev.wiki-tools.com/wiki/Special:SearchByProperty/Extension/SMW-2DYGO
The branch is at http://svn.nadir-point.com/viewvc/mediawiki-extensions/branches/stable/SMW-YGO/
It's ready to be installed here. It just adds types for Card Strength and Card Name. ~NOTASTAFF Daniel Friesen (DanTMan, Nadir Seen Fire) (talk) Jul 2, 2008 @ 00:26 (UTC)

Another type extension[edit]

Actually I'm also going to be working on another extension. Basically SMW types for Wikia ACG in general. I realized I was going to have issues with Gender pages a fair time back. The issue is we don't want every project to go an need to define articles for all the small things on their own. So we're going to be putting it in a general location. I'm probably going to create a Type:Gender specifically for this (That way I can alias some types of gender), and also probably a Type:ACG Page to match the native Type:Page which can be used for generalized types. ~NOTASTAFF Daniel Friesen-local (DanTMan, Nadir Seen Fire) (talk) Apr 15, 2008 @ 05:42 (UTC)

Namespace Move[edit]

Hi, I was wondering if you could rename a Namespace, and move the pages contained therein? We'd need the Anime and Manga Appearances namespace and namespace talkpage moved to Card Appearances, since our comminity has outgrown cataloging just Anime and Manga appearances. Once the move is done, we'd just need to update 2 templates to have it "go live" so to speak. If you can keep it as a Content Namespace, that'd be appreciated. Also, can you check that Card Lores, Card Artworks, and Card Names are listed as content namespaces? Sometimes we don't see the article count update when we make new pages for those ones.--TwoTailedFox (My Talk Page) 21:36, 20 July 2008 (UTC)

Just one more issue[edit]

There appears to have been a change in how SMW works for us... beforehand, entries used to be plain text (and indeed, still are for "old" Properties). New properties, or updates ones, represent the Semantic Data as an internal wikilink. This is fine, in fact, this is much preferred, except for one small snag.

We use two properties with Text, which is designed to allow long strings of text to be searched and displayed via semantics. For some reason these are now being treated as links, and SMW now refuses to display them, because they're too long to be articles. Can you investigate this for me?--TwoTailedFox (My Talk Page) 22:41, 22 July 2008 (UTC)

We've been told, the problem may be due to a very long job queue. If you still want the examples, I don't think there are bad old or good new examples, but you can see the bad new and good old here, Elemental Hero The Heat. The bad new being Lore and Ruby Text, the good old being pretty much every other property used on the page. Thanks. -- Deltaneos (talk) 11:47, 23 July 2008 (UTC)
Have a look at Property:Lore. It has Type:Text, but it's showing links like Type:Page would. Properties on the whole are not displaying their infoboxes correctly, which may be the problem.--TwoTailedFox (My Talk Page) 13:40, 23 July 2008 (UTC)

I'll bump up SMW to the latest version and rerun job queue. Lets see if it helps. -- Nef <staff /> (talk) 08:50, 25 July 2008 (UTC)

SMW is 1.2 @techteamtest. Should be live tomorrow. Allow one more day (or night, actually) for crons to rerun whatever needs to be rerun and lets see what happens. -- Nef <staff /> (talk) 11:35, 28 July 2008 (UTC)
SMW update/upgrade script is running. It will need a few hours to process all pages. In that time SMW may be kind of unconsistent on yugioh. No need to stop editing/adding SMW stuff. Just don't worry if some of your changes don't "catch up" immediately. -- Nef <staff /> (talk) 12:11, 31 July 2008 (UTC)
Finished. And? Is it ok now? -- Nef <staff /> (talk) 18:44, 31 July 2008 (UTC)
Thanks. The mentioned problems have been fixed. But now it doesn't seem to be working in the custom namespaces. -- Deltaneos (talk) 19:47, 31 July 2008 (UTC)
Don't use custom namespaces then! (-; Ok, seems like you insist... (-; Will check - could you post an url or two here, please? -- Nef <staff /> (talk) 21:32, 31 July 2008 (UTC)
Okay, custom namespaces are Card Gallery, Card Rulings, Card Errata, Card Tips, Card Appearances, Card Trivia, Card Names, Card Lores, Card Artworks, Set Card Ratios, Set Card Galleries and Set Card Lists. Currently we only use SMW in the first 9.
Example page: Card Errata:Blue-Eyes White Dragon. {{Navigation}} is set to add [[Sub Pages::{{NAMESPACE}}| ]] and [[Sub Page Card Names::{{PAGENAME}}| ]] -- Deltaneos (talk) 13:16, 1 August 2008 (UTC)
Yup, SMW wont work on custom namespaces. I know why but I don't know how to switch it - yet. Will be fixed. -- Nef <staff /> (talk) 22:44, 7 August 2008 (UTC)
Not so easy. (-: This ought to be an array. (And per-wiki tweakable one.) -- Nef <staff /> (talk) 22:56, 7 August 2008 (UTC)
You guys had it working before the 1.2 Upgrade :p.--TwoTailedFox (My Talk Page) 23:04, 7 August 2008 (UTC)

Unicode image names[edit]

Sorry to keep bothering you. There's an issue with images with unicode characters in their names. They won't display in thumbnails or when using <gallery>.

Here's an example of a gallery not working because of the Omega/Ω in this image.

We've had problems umlauts (Ä Ë Ï Ö Ü), Greek letters and ☆.

It's not a major issue, we've can just rename the images, when this problem comes up, but if there's a not-so-time consuming way of fixing it, that'd be okay too. -- Deltaneos (talk) 13:13, 24 August 2008 (UTC)

Yup, b0rken. )-: I'll try to fix it this week, don't do mass edit for a moment. Thx for info. -- Nef <staff /> (talk) 14:24, 24 August 2008 (UTC)
How does User:Ppiotr/3237 look for you? -- Nef <staff /> (talk) 13:39, 28 August 2008 (UTC)
Perfect. -- Deltaneos (talk) 13:48, 28 August 2008 (UTC)

SMW in custom namespace[edit]

In an unrelated note - wgNamespacesToBeSearchedDefault is working correctly now. Do you guys want me to add your custom ns there? Or some of them? -- Nef <staff /> (talk) 11:24, 29 August 2008 (UTC)

Yes, please. All of them except Portal. So the following need it:
  • Card Gallery
  • Card Rulings
  • Card Errata
  • Card Tips
  • Card Apperances
  • Card Trivia
  • Card Names
  • Card Lores
  • Card Artworks
  • Set Card Ratios
  • Set Card Lists
  • Set Card Galleries
-- Deltaneos (talk) 11:41, 29 August 2008 (UTC)
Looks pretty cool: http://yugioh.wikia.com/wiki/Special:Search (-: -- Nef <staff /> (talk) 16:27, 29 August 2008 (UTC)
  • Can you add Portal to that, too? I have some plans for that Namespace....--TwoTailedFox (My Talk Page) 00:12, 2 September 2008 (UTC)
Done. -- Nef <staff /> (talk) 12:52, 2 September 2008 (UTC)
Hmmm, are you sure? SMW still isn't working in the custom namespaces. -- Deltaneos (talk) 23:21, 26 September 2008 (UTC)
Done was Portal as a part of wgNStoBeSearchedByDefault. I've bumped SMW to 1.3. Let's wait a few days for things to settle and I'll dig into SMW in custom NS. -- Nef <staff /> (talk) 13:57, 7 October 2008 (UTC)

Re: SMW[edit]

The only outstanding issue is that it's not enabled in the custom namespaces... that still hasn't been fixed.

Since the upgrade, there is one other tiny problem, with Type:Date. If you look at old revisions or diffs of pages using type date (example). Some of them have kept the year, but reset everything else to 00:00:00. If you look at the newest revision everything's fine. It looks like it's just cache, which should fix itself. Again, it's only a minor issue, not worth stressing over. -- Deltaneos (talk) 14:06, 6 January 2009 (UTC)

Fixed. Will be live by Thursday. May need SMW cache rebuilding but quick null edit will do for tests. -- Nef <staff /> (talk) 15:53, 11 May 2009 (UTC)