Wikia

Dungeons and Dragons Wiki

Changes: Forum:Time for featured articles?

Edit

Back to page

 
Line 12: Line 12:
   
 
::::I think the code for it looks something like <nowiki>"<Choose> <option> new article page <option> new article page <option> new article page <option> old article page"</nowiki> with the recurrence of the new article page based on how often we want a random new article page compared to how often we want a random old article page. And then for each of the sub pages we do <nowiki>"<choose> <option> article 1 <option> article 2 ... (etc)"</nowiki>. About the only thing I'm not sure about is if we want to / can do partial transclusion of the randomly picked article so that the introduction shows and people get a blurb about it. If we can't, we'll need to do a minor writeup for each of the featured articles or just give a straight link, and I think the latter is a poor option. - [[User:Tarkisflux|TarkisFlux]] 18:44, January 15, 2010 (UTC)
 
::::I think the code for it looks something like <nowiki>"<Choose> <option> new article page <option> new article page <option> new article page <option> old article page"</nowiki> with the recurrence of the new article page based on how often we want a random new article page compared to how often we want a random old article page. And then for each of the sub pages we do <nowiki>"<choose> <option> article 1 <option> article 2 ... (etc)"</nowiki>. About the only thing I'm not sure about is if we want to / can do partial transclusion of the randomly picked article so that the introduction shows and people get a blurb about it. If we can't, we'll need to do a minor writeup for each of the featured articles or just give a straight link, and I think the latter is a poor option. - [[User:Tarkisflux|TarkisFlux]] 18:44, January 15, 2010 (UTC)
  +
  +
:::::So yeah, it totally does work like that. Code looks like:
  +
<nowiki>
  +
<choose>
  +
<option>{{:New Article Page}}</option>
  +
<option>{{:New Article Page}}</option>
  +
<option>{{:New Article Page}}</option>
  +
<option>{{:Old Article Page}}</option>
  +
</nowiki>
  +
:::::... where the number of times that we call on the pages determines how often we get a result from those pages. The article pages look something like:
  +
<nowiki>
  +
<choose>
  +
<option>{{:Article Page}}</option>
  +
<option>{{:Other Article Page}}</option>
  +
<option>{{:Different Article Page}}</option>
  +
<option>{{:Yet Another Article Page}}</option>
  +
... and so on
  +
</nowiki>
  +
::::: where each page gets a single entry. I say "like" that because my [[User:Tarkisflux/sandbox/favoreds|tests]] don't actually work in constraining a transcluded page into a set box size, so we might need to template those up / write blurbs up instead. If anyone know of an easy way to truncate transculssions (short of editting the tags into the page) that might work too.
  +
  +
:::::As for a list of featured atticles, well, that's what the ratings comittee is supposed to be doing with the articles to be favored. Which doesn't seem to be working as intended. - [[User:Tarkisflux|TarkisFlux]] 21:08, January 21, 2010 (UTC)

Latest revision as of 21:08, January 21, 2010

Forums: Index > Administration > Time for featured articles?


I'm thinking of adding this this weekend. Discuss. Surgo 15:15, January 15, 2010 (UTC)

We had previously discussed sticking a <-choose-> system on the main page where each <-option-> was a page full of other options. So we'd stick the newest 10 up in one option and make it hit very regularly, and as they got moved off of the top 10 they'd fall into more crowded, less called options but still show up in main page rotation. That way the newest ones got a lot of attention, and the older ones were still in rotation. That still the plan? - TarkisFlux 17:17, January 15, 2010 (UTC)
I like it. -- SamAutosig Sam Kay   talk    contribs    email   17:56, January 15, 2010 (UTC)
Sounds interesting, though I'd be annoyed coding it myself. Also, we'd need to start with a lot of stuff -- if somebody could make a list? Surgo 18:08, January 15, 2010 (UTC)
I think the code for it looks something like "<Choose> <option> new article page <option> new article page <option> new article page <option> old article page" with the recurrence of the new article page based on how often we want a random new article page compared to how often we want a random old article page. And then for each of the sub pages we do "<choose> <option> article 1 <option> article 2 ... (etc)". About the only thing I'm not sure about is if we want to / can do partial transclusion of the randomly picked article so that the introduction shows and people get a blurb about it. If we can't, we'll need to do a minor writeup for each of the featured articles or just give a straight link, and I think the latter is a poor option. - TarkisFlux 18:44, January 15, 2010 (UTC)
So yeah, it totally does work like that. Code looks like:
 <choose>
 <option>{{:New Article Page}}</option>
 <option>{{:New Article Page}}</option>
 <option>{{:New Article Page}}</option>
 <option>{{:Old Article Page}}</option>
 
... where the number of times that we call on the pages determines how often we get a result from those pages. The article pages look something like:
 <choose>
 <option>{{:Article Page}}</option>
 <option>{{:Other Article Page}}</option>
 <option>{{:Different Article Page}}</option>
 <option>{{:Yet Another Article Page}}</option>
 ... and so on
 
where each page gets a single entry. I say "like" that because my tests don't actually work in constraining a transcluded page into a set box size, so we might need to template those up / write blurbs up instead. If anyone know of an easy way to truncate transculssions (short of editting the tags into the page) that might work too.
As for a list of featured atticles, well, that's what the ratings comittee is supposed to be doing with the articles to be favored. Which doesn't seem to be working as intended. - TarkisFlux 21:08, January 21, 2010 (UTC)

Around Wikia's network

Random Wiki