Fandom

Brickipedia

ReviewPage

Forum page

30,552pages on
this wiki
Add New Page

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

This Forum has been archived

Visit the new Forums
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)

Also on Fandom

Random Wiki