Skip to content

Commit

Permalink
setting date for age bonuses from outside (via https://de.wikipedia.o…
Browse files Browse the repository at this point in the history
  • Loading branch information
FlominatorTM committed Feb 20, 2017
1 parent fa241e5 commit c4fbb9f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wawewewi.php
Expand Up @@ -479,9 +479,9 @@ function show_removed_templates($article, $src_old, $src_new)

function link_to_wikiblame($articleenc, $needle, $years, $alias, $binary_search)
{
$day = 6;
$mon = 11;
$currentYear = 2016;
$day = $_REQUEST['start-day'];
$mon = $_REQUEST['start-month'];
$currentYear = $_REQUEST['start-year'];
$targetYear = $currentYear - $years;
echo '<a href="//wikipedia.ramselehof.de/wikiblame.php?project=wikipedia&article='.$articleenc.'&needle='.urlencode($needle).'&lang=de&force_wikitags=on';

Expand Down

0 comments on commit c4fbb9f

Please sign in to comment.