• Welcome to NIWA Community Forums.
 

CrossWiki teams

Started by HavocReaper48, December 20, 2010, 01:22:35 AM

Previous topic - Next topic

Greenpickle

No, when {{{1}}} == treasure, /journal is guaranteed to exist.  We include /journal (NPC) too if it exists.  I think it's just the combination of conditionals with transclusions that causes some bug to make them appear in Wanted Pages; I never bothered testing since the fact someone else knew about it when I asked made me think it'd get fixed at some point.

I'll look further into the exact causes of this when I get the time, then, and see if there are any open bug reports for it or anything similar.

(Note for those confused: this is about the subpages listed in Wanted Pages, while the conversation above was about the interwiki links.)

Jake

There should be a maintenance script that can fix this. Have you looked through those yet?

Greenpickle


Nintendoguy1

I already said that it was a problem with the mediawiki and not with incorrect coding in my EDIT 2


(see that's why Edofenrir is awesome)

Greenpickle

Wait, why would we think you caused a problem with an edit you made after it started?

Reboot

Quote from: Nintendoguy1 on January 15, 2011, 01:47:54 AMEDIT 2: Through several edits, I managed to move the coding around so that if it says {{notes|treasure}} and the stuff doesn't exist, the links won't appear. However even though the links don't appear, they still somehow manage to wind up on Special:Wantedpages...
Did you wait for Wantedpages to recache? Pikipedia's Wanted Pages only refreshes once a day at 09:40 GMT.

Greenpickle

#86
...Okay, apparently simply using #ifexist for a page that doesn't exist causes it to end up in Wanted pages (tested on 1.16.0: page, Wanted pages).

Edit: This bug looks like it.

Nintendoguy1

1. My "EDIT 2" was the second edit made to my original post

Quote from: Nintendoguy1 on January 15, 2011, 01:47:54 AM
EDIT 2: Through several edits, I managed to move the coding around so that if it says {{notes|treasure}} and the stuff doesn't exist, the links won't appear. However even though the links don't appear, they still somehow manage to wind up on Special:Wantedpages, so, I am going to make an educated guess and say that there is no way to have that template without the links. Either {{#ifexist}} was never meant to be used in transclusions (I really doubt that) or {{#ifeq}} and {{#ifexist}} are not able to be used together (more likely).

That would be my "EDIT 2"

2. Reboot: Yes, I did.
3. Greenpickle: I think it's been established that it's a bug >_>


(see that's why Edofenrir is awesome)

Greenpickle

I know; I was the one who said that.  I was just letting people know, now that I've found out, more precisely what the bug is, and where the report is.

Peanut64

I Want everyone to know Pikmin Fanon has one already. The Interwiki Relations Team. http://fanon.pikminwiki.com/PikminFanon:Interwiki_Relations_Team_Portal

tacopill








SnorlaxMonster

Oh, you were using #ifexist. I remember finding it and thinking it was really useful, attempting to put it in use on Bulbapedia, then being told not to use it because it messed up WantedPages. Based on how long that bug has been known for, I don't expect it to be fixed in the near future. I recommend making all that coding manual (so {{notes|monster|NPC}} or {{notes|monster}} etc.)

Greenpickle



Greenpickle

Quote from: SnorlaxMonster on January 17, 2011, 03:01:10 AM
I recommend making all that coding manual (so {{notes|monster|NPC}} or {{notes|monster}} etc.)

tacopill

Quote from: Greenpickle on January 18, 2011, 09:31:20 PM
Quote from: SnorlaxMonster on January 17, 2011, 03:01:10 AM
I recommend making all that coding manual (so {{notes|monster|NPC}} or {{notes|monster}} etc.)

I don't see what's wrong with the suggestion.







Greenpickle

It would require editing the template and a good number of the hundreds of pages that include it.

tacopill

Quote from: Greenpickle on January 18, 2011, 10:16:26 PM
It would require editing the template and a good number of the hundreds of pages that include it.

ah. Ok. Makes sense now.







SnorlaxMonster

It would clean up WantedPages, but if you don't mind having all of those false wanted links...

Greenpickle

Yeah, I know; I wasn't saying I wouldn't get around to doing it, just that it's obviously not a favourable solution.  We wouldn't have the flexibility we have now: enemy pages would have to specify every type of notes they have data for, instead of just checking the data (subpages) directly.