User:Damian Yerrick/hideafter

From Wikipedia, the free encyclopedia
Dennis Nedry
Unh-unh-uh, you didn't say the magic word...
Ray Arnold
Please! God dammit! I hate this hacker crap.

-- Jurassic Park

The current year is 2024, and I want to hide something after New Year's Day because otherwise it might be deleted.

Test cases like these were used in the construction of the expiry argument for {{Do not move to Commons}} (DNMTC).

  • Turns false after 2010: False
  • Turns false after 2011: False
  • Turns false after 2012: False
  • Turns false after 2013: False
  • Turns false after 2014: False
  • Turns false after 2015: False
  • Turns false once US copyright in When We Were Very Young, the first of four Pooh books, expires: True

Adam Cuerden has his own reasons unrelated to copyright for not putting free files on Wikimedia Commons. So he proposed an addition to DNMTC allowing a transclusion to replace the copyright-related text with text related to a different reason. The followiong are test cases for this addition.

Without reason:

With reason: