Template talk:Track: Difference between revisions
Jump to navigation
Jump to search
User000name (talk | contribs) (http://discovermagazine.com/2014/julyaug/20-the-ups-and-downs-of-teleportation - "Will Human Teleportation Ever Be Possible? | DiscoverMagazine.com") |
No edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
There needs to be an "if:copyrighted then [do not display download and play links]". It currently displays the links as red links since this website isn't about piracy; the problem with that is those mp3 links appear at [[Special:WantedFiles]]: "File:Portal no cake for you.mp3 (4 links)\nFile:Portal still alive.mp3 (4 links)". They are not wanted files. | There needs to be an "if:copyrighted then [do not display download and play links]". It currently displays the links as red links since this website isn't about piracy; the problem with that is those mp3 links appear at [[Special:WantedFiles]]: "File:Portal no cake for you.mp3 (4 links)\nFile:Portal still alive.mp3 (4 links)". They are not wanted files. | ||
I | I fixed this; I am fairly sure it all works as intended. Something like this: | ||
* pseudo code: <s>if in album and album value of the "copyrighted" parameter is "yes" then hide links</s> doesn't really work that way? | |||
* wikicode: https://theportalwiki.com/w/index.php?title=Template:Track&diff=prev&oldid=155431 --[[User:User000name|User000name]] ([[User talk:User000name|talk]]) 17:42, 3 December 2017 (UTC) | |||
::Pretty cool, thanks — [[User:WindPower|Wind]] 20:15, 3 December 2017 (UTC) |
Latest revision as of 20:15, 3 December 2017
There needs to be an "if:copyrighted then [do not display download and play links]". It currently displays the links as red links since this website isn't about piracy; the problem with that is those mp3 links appear at Special:WantedFiles: "File:Portal no cake for you.mp3 (4 links)\nFile:Portal still alive.mp3 (4 links)". They are not wanted files.
I fixed this; I am fairly sure it all works as intended. Something like this:
- pseudo code:
if in album and album value of the "copyrighted" parameter is "yes" then hide linksdoesn't really work that way? - wikicode: https://theportalwiki.com/w/index.php?title=Template:Track&diff=prev&oldid=155431 --User000name (talk) 17:42, 3 December 2017 (UTC)
- Pretty cool, thanks — Wind 20:15, 3 December 2017 (UTC)