Wikia

Brickipedia

ReviewPage

27,702pages on
this wiki

Forum page

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)

Around Wikia's network

Random Wiki
http://lego.wikia.com/wiki/Forum:ReviewPage?t=20120221072435
lego.wikia.com
crawl=CC-MAIN-2014-42
58049
application/http; msgtype=response
sha1:LMN6KL3VQEC5YINIJDGV346ZF5TGOQJV
<urn:uuid:2167e8d6-747e-4715-961f-2cee11a745d9>
2014-10-31T09:06:15Z
23.235.39.194
sha1:BCQQ4SM5GVVQW654MJGBXZDAQLWRO3AY
<urn:uuid:26ba0d95-0b7e-42fa-b7f3-3cdd14a3c891>
http://lego.wikia.com/wiki/Forum:ReviewPage?t=20120221072435
response
<urn:uuid:2a6e64d8-9d87-4d55-85be-a094e00437a1>
robots: classic
hostname: ip-10-16-133-185.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2014-42
operator: CommonCrawl Admin
description: Wide crawl of the web with URLs provided by Blekko for October 2014
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf