Generating dynamic content with MediaWiki/2015/W04

Yesterday, 19 January 2015 was Edgar Allan Poe's 206th birthday.

I was a day late (as usual) but I didn't need the dollar to Download The Complete Works of Edgar Allan Poe on His Birthday from OpenCulture.com.

Test for Local Article edit

Using this code:

{{#ifexist: article name | We have [[article name]] at Wikiversity! | Isn't it sad we don't have '''[[article name]]''' at Wikiversity. }}
  • We have Edgar Allan Poe at Wikiversity!
  • Isn't it sad we don't have open culture at Wikiversity.
  • ...add an #ifexist test of your own here...

If it's a blue link, thank the crew. If it's a red link create it and watch what happens!

see mw:Help:Extension:ParserFunctions

Time-sensitive Information edit

So let's generate our file structure with {{queue}}

23 April 2024

Notice that the link on our main resource pace creates a sub-page for the whole Week and that link is now a blue link because we are active.

EAP Birthdays Through the Ages edit

The original: {{#time: d F Y | 19 jan 1809 }} Renders:

19 January 1809

Our day, Today edit

 [[{{FULLPAGENAME}}/{{#expr:{{CURRENTDOW}} -1}}|yesterday]] | [[{{FULLPAGENAME}}/{{CURRENTDOW}}|today]] | [[{{FULLPAGENAME}}/{{#expr:{{CURRENTDOW}} +1}}|tomorrow]] 

renders:

yesterday | today | tomorrow 

Our three-day counter for this week's project.

This Week edit

2015 Week 4:

notes edit

It's not as easy as I make it look! Let's talk!