Page MenuHomePhabricator

reFill strips query strings on archive URLs
Open, Needs TriagePublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):
create a sandbox page on English wikipedia as follows:

<ref>[https://archive.today/20120909162942/http://www.sgilibrary.org/view.php?page=923&m=3&q=all the beings Sokai Gakka International: All the beings]</ref>

Run reFill on the page.

What happens?:

the reference is replaced with the following:

<ref>{{Cite web|url=http://www.sgilibrary.org/view.php|archiveurl=http://archive.today/20120909162942/http://www.sgilibrary.org/view.php?page=923&m=3&q=all|deadurl=y|title=SGI Library Online - The Writings of Nichiren Daishonin}}</ref>

What should have happened instead?:

deadurl=y has erroneously been added.

the original url named in the archive snapshot has been stripped of an important query string so that we get |url=http://www.sgilibrary.org/view.php instead of |url=http://www.sgilibrary.org/view.php?page=923&m=3&q=all.

The tool should not be stripping query strings from urls.

Ideally the reference should be created as follows;

{{cite web | title = SGI Library Online - The Writings of Nichiren Daishonin | url = http://www.sgilibrary.org/view.php?page=923&m=3&q=all | date = 2012-09-09 | archiveurl = http://archive.today/FQIj | archivedate = 2012-09-09}}

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.: