This site is supported by donations to The OEIS Foundation.

Template talk:OEIS

From OeisWiki
Jump to: navigation, search

OEIS External link with or without an arrow?

Would you rather have the OEIS search external link without an arrow (the oeis template for OEIS file or folder external link does not display an arrow) or do you prefer to keep the arrow so as to distinguish the OEIS search link from the OEIS file or folder external link? — Daniel Forgues 01:32, 29 January 2011 (UTC)

Without. My (incorrect) attempt to do so is in the page history. Charles R Greathouse IV 07:04, 29 January 2011 (UTC)
I did a few tries without success:
Original version with arrow:
 
  <includeonly>[http://oeis.org/search?q={{urlencode:{{{1}}}}} {{{2|{{{1}}}}}}]</includeonly>
 
First attempt without arrow (did not work since the template uses [[OEIS:......|......]]):
 
  <includeonly>{{oeis|search?q={{urlencode:{{{1}}}}}|{{{2|{{{1}}}}}}}}</includeonly>
 
Second attempt without arrow (did not work):
 
  <includeonly>[[OEIS:search?q={{urlencode:{{{1}}}}}|{{{2|{{{1}}}}}}]]</includeonly>
 
(http://oeis.org/search?q=A000045 becomes http://oeis.org/search%3Fq%3DA000045 (? and = are URL encoded and it doesn't work when they are, 
[[OEIS:......|......]] does URL encoding, so it can't be used, search?q= becoming search%3Fq%3D))

Daniel Forgues 05:32, 30 January 2011 (UTC)

HTTPS (secure) instead of HTTP (not secure)?

I changed the template to use HTTPS (secure) instead of HTTP, good idea or not? The templates {{oeis}} and {{A}} use the path interwiki link with OEIS: prefix which is configured to prepend http:/oeis.org/ (not secure) to path. Should it prepend https:/oeis.org/ (HTTP secure) instead? — Daniel Forgues 23:48, 5 March 2011 (UTC)

I'd rather use the prefix so that the links stay internal. But perhaps the prefix should be reconfigured to use https. Charles R Greathouse IV 23:25, 6 March 2011 (UTC)
Dunno, if that's for ordinary readers (not editors) HTTP is simpler than HTTPS. -Frank Ellermann 06:27, 12 March 2011 (UTC)
Mostly unrelated, the new auto-linking feature for A-numbers somehow broke this template if the first parameter was an A-number. As a workaround the first character is now converted to lower case, the auto-linking does not affect a012345, unlike A012345. –Frank Ellermann 00:31, 27 September 2011 (UTC)