https://bugzilla.wikimedia.org/show_bug.cgi?id=6092

Brian McNeil <brian.mcn...@wikinewsie.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |brian.mcn...@wikinewsie.org

--- Comment #27 from Brian McNeil <brian.mcn...@wikinewsie.org> 2010-05-27 
01:14:08 UTC ---
This, if I read correctly, is something Wikinews would very much like to have.

Many, many of our portal pages would - ideally - have portal-specific leads,
but if the contributor(s) maintaining these pages leave, we would want the
portal pages to vanish once they were about a week old.

We would thus have:

[[Portal:Eurasia]]
[[Portal:Eurasia/Lead 1]]
[[Portal:Eurasia/Lead 2]]
... and so on.

In [[Portal:Eurasia]], the following is a simplification of the code required:

{{PortalTemplate|topic=Eurasia
|leads=5
|currentleads={{PortalTemplate CountActive|portal={{FULLPAGENAME}}}}

In [[Template:PortalTemplate]], the *lower of leads or currentleads dictates
how many leads displayed at the top of the page.

In [[Template:PortalTemplate CountActive]], some sort of code to
returnvalue=
 {{REVISIONTIMESTAMP:{{portal}}/Lead 1}} is value within 7 days, add one
 {{REVISIONTIMESTAMP:{{portal}}/Lead 2}} is value within 7 days, add one
 {{REVISIONTIMESTAMP:{{portal}}/Lead 3}} is value within 7 days, add one

I think en.wikinews has everything else needed, and I know we've been happy to
be experimented on before. I'm going to ask a couple of our more techie people
to look, comment, and hopefully vote.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to