Brickipedia

READ MORE

Brickipedia
No edit summary
No edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Forumheader/new|archive=}}
+
{{Forumheader/new|archive=true|reason=Just implemented by NXT}}
 
<!-- Forums are automatically archived 7 days after the last edit. To force a forum to be archived or not, use "|archive=true" or "|archive=false". Use "|reason=<reason>" to give a reason. -->
 
<!-- Forums are automatically archived 7 days after the last edit. To force a forum to be archived or not, use "|archive=true" or "|archive=false". Use "|reason=<reason>" to give a reason. -->
   
Line 32: Line 32:
 
Then again, == is python and I think it might just be = in pseudo. Anyway, ignoring all that, seems good. - [[User talk:CJC95|CJC]] 10:21, February 13, 2012 (UTC)
 
Then again, == is python and I think it might just be = in pseudo. Anyway, ignoring all that, seems good. - [[User talk:CJC95|CJC]] 10:21, February 13, 2012 (UTC)
 
:Don't get me on to "=" and "==" (I just spend about an hour trying to work out why some code wasn't working and all it was was one stupid equals sign missing. >:( ){{User:UltrasonicNXT/Signature}}
 
:Don't get me on to "=" and "==" (I just spend about an hour trying to work out why some code wasn't working and all it was was one stupid equals sign missing. >:( ){{User:UltrasonicNXT/Signature}}
  +
  +
The only problem I can see is with the CM bit. There is currently no way of checking if a page has categories (I would really like this though), and although I could design a workaround with semantic, it would be best not to. {{User:UltrasonicNXT/Signature}}
  +
:Theme field? {{User:Captain_Jag/sig1}} 23:56, February 13, 2012 (UTC)
  +
::Yeah, I guess so... {{User:UltrasonicNXT/Signature}}
  +
:NXT: I know exactly how you feel with the = vs ==, I hate it when that happens :) Umm idea sounds good, but it isn't replacing the review pages is it? couldn't you just use ifexist- if the review page exists, show it, if it doesn't, say it isn't a valid topic? Sorry if I've completely missed the point, reading this very quickly. {{User:Nighthawk leader/sig}} 00:50, February 16, 2012 (UTC)
  +
::It's for displaying {{tl|ReviewPage}} on any valid review page, if it has not been created. {{User:Captain_Jag/sig1}} 07:24, February 21, 2012 (UTC)

Latest revision as of 16:53, 19 September 2012

Forums - ReviewPage
This page is an archive. Please do not edit the contents of this page.


Comment: Just implemented by NXT



Basically, this was an idea I had to use MediaWiki:Noarticletext to display {{ReviewPage}}.

If the namespace is a review,

If the mainspace page exists,
If it is a set,
Then use it.
If it is a minifigure,
If it is in Theme:Collectable Minifigures,
Then use it.
If not:
Then use a new template saying "This page is not a valid one to be reviewed."

If the namespace is not review, then don't use it.

If you don't understand the above, then I'll try to explain it further. Jag 23:40, February 12, 2012 (UTC)

Pseudocode ftw FB100Ztalkcontribs 00:03, February 13, 2012 (UTC)
? Jag 00:47, February 13, 2012 (UTC)
I hardly know Psuedocode, but my guess is it would be like:
If namespace == review:
   if page == true:
      if set == true:
          {{tl|ReviewPage}}
      if set == minifigure:
          {{tl|ReviewPage}}
else:
    Review not valid.

Then again, == is python and I think it might just be = in pseudo. Anyway, ignoring all that, seems good. - CJC 10:21, February 13, 2012 (UTC)

Don't get me on to "=" and "==" (I just spend about an hour trying to work out why some code wasn't working and all it was was one stupid equals sign missing. >:( )- nxt

The only problem I can see is with the CM bit. There is currently no way of checking if a page has categories (I would really like this though), and although I could design a workaround with semantic, it would be best not to. - nxt

Theme field? Jag 23:56, February 13, 2012 (UTC)
Yeah, I guess so... - nxt
NXT: I know exactly how you feel with the = vs ==, I hate it when that happens :) Umm idea sounds good, but it isn't replacing the review pages is it? couldn't you just use ifexist- if the review page exists, show it, if it doesn't, say it isn't a valid topic? Sorry if I've completely missed the point, reading this very quickly. NightblazeSaber 00:50, February 16, 2012 (UTC)
It's for displaying {{ReviewPage}} on any valid review page, if it has not been created. Jag 07:24, February 21, 2012 (UTC)