Template talk:FAA-airport
{{WikiProject banner shell}}
to this page and add the quality rating to that template instead of this project banner. See WP:PIQA for details.Aviation: Airports Template‑class | ||||||||||
|
The link to the Form 5010 PDF doesn't work anymore. Adrian Archer (talk) 15:18, 17 November 2015 (UTC)
Form 5010 PDF generation
It is requested that an edit be made to the template-protected template at Template:FAA-airport. (edit · history · last · links · sandbox · edit sandbox · sandbox history · sandbox last edit · sandbox diff · test cases · transclusion count · protection log) This template must be followed by a complete and specific description of the request, so that an editor unfamiliar with the subject matter could complete the requested edit immediately.
Edit requests to template-protected pages should only be used for edits that are either uncontroversial or supported by consensus. If the proposed edit might be controversial, discuss it on the protected page's talk page before using this template. Consider making changes first to the template's sandbox and test them thoroughly here before submitting an edit request. To request that a page be protected or unprotected, make a protection request. When the request has been completed or denied, please add the |
I found the link for Form 5010 PDF did not work (error 404 no file or directory found) for an airport (RNT). So I went to the airport master record web page and clicked on the PDF icon in the upper right-hand corner. That resulted in the PDF getting generated and then the webpage is redirected to the direct link to the Form 5010 PDF. My suspicion is that when a PDF becomes outdated that it is deleted from their system and only regenerated when the first person clicks on the PDF link for the form, at which the PDF document is created and kept around until it is no longer up-to-date. What that means is that instead of directly linking to the PDF file itself, which may or may not yet exist, the template should link to the url that generates the PDF if it is needed.
So, taking Renton Municipal Airport (RNT) for an example. Instead of linking to http://www.gcr1.com/5010ReportRouter/RNT.pdf, the link should be to https://www.gcr1.com/5010ReportRouter/default.aspx?airportID=RNT.
<span class="PDFlink">[http://www.gcr1.com/5010ReportRouter/{{{ID|{{{id}}}}}}.pdf Form 5010]</span>
should change to be:
<span class="PDFlink">[https://www.gcr1.com/5010ReportRouter/default.aspx?airportID={{{ID|{{{id}}}}}} Form 5010]</span>
While making the update, I also recommend removing the code that generates the text and link for "PDF": (PDF). Do we really need to include that? In my opinion it just clutters up the page.