Extension talk:DailyFeaturedPage

Jump to navigation Jump to search

About this board

How do I make it rotate articles without editing the php file

2
Wade.courtney (talkcontribs)

How can I make it change to a new article every day without having to edit the PHP file. For example:

I want to display a random article from a collection of articles with the same category, but I don't want to have to edit this php file just to add new article names. I want the new article to change at midnight every day.

Is there a way to do this without a lot of case statements?

Thanks, W

Ulf Dunkel (talkcontribs)

I have the same question. It would be great if e.g. admins could edit the content of a special page to be created and to be checked by the extension, like MediaWiki:DailyFeaturedPage - this would make changes more comfortable for contributors. Maybe the page content could even be just simple article links, without the PHP language keywords (like "case" and "break").

I'd like to e.g. realize a "Featured Person of the Day" rotation depending on the birthday of that person.

Reply to "How do I make it rotate articles without editing the php file"
There are no older topics