Template talk:VideoGallery/sandbox: Difference between revisions

From Dolphin Emulator Wiki
Jump to navigation Jump to search
mNo edit summary
Line 13: Line 13:


:I'd like to take a look at what all you did if that's alright. I've been waiting until you were satisfied with it first to poke around figuring out how it works exactly. The listed cons themselves don't seem like a problem to me though, I'm just curious. - [[User:Xerxes|Xerxes]] ([[User talk:Xerxes|talk]]) 02:19, 31 January 2018 (CET)
:I'd like to take a look at what all you did if that's alright. I've been waiting until you were satisfied with it first to poke around figuring out how it works exactly. The listed cons themselves don't seem like a problem to me though, I'm just curious. - [[User:Xerxes|Xerxes]] ([[User talk:Xerxes|talk]]) 02:19, 31 January 2018 (CET)
::Yeah, I'm mostly satisfied with the current sandbox considering my limited abilities. It could be better optimized and issues could be sorted out in no added complexity hopefully. I'm glad there aren't any bigger issues. [[User:Lucario|Lucario]] ([[User talk:Lucario|talk]]) 02:47, 31 January 2018 (CET)


* #vardefineecho: Would be preferable to not have it, but shouldn't be a big problem.
* #vardefineecho: Would be preferable to not have it, but shouldn't be a big problem.
Line 19: Line 20:
* Square Brackets: Could be a problem as lots of YouTube vids use square brackets in their titles, but double / unmatched ones should be fairly rare.
* Square Brackets: Could be a problem as lots of YouTube vids use square brackets in their titles, but double / unmatched ones should be fairly rare.
: [[User:Kolano|Kolano]] ([[User talk:Kolano|talk]]) 02:26, 31 January 2018 (CET)
: [[User:Kolano|Kolano]] ([[User talk:Kolano|talk]]) 02:26, 31 January 2018 (CET)
::It's a bit unfortunate that the #vardefineecho: is an requirement for the parameterless version. I've completely forgotten that it was needed when I moved code from my talk page to sandbox. The differences between my talk page and this sandbox template is that my talk page isn't even a template, so the equal sign problem is invalid there. So I've copied how [[template:Problems]] worked out with contents that have equal sign. I was hoping nobody would mind it. Though it'll require mass edit to add #vardefineecho: to every VideoGallery template. I think the regex mass edit will gonna be easy, just don't do it on ViodeoGallery that has videos, only the empty ones.
::Also, VideoGallery never had the list in random order, just the featured videos. [[User:Lucario|Lucario]] ([[User talk:Lucario|talk]]) 02:47, 31 January 2018 (CET)

Revision as of 03:47, 31 January 2018

Randomization Seeds

So one other template we might want to consider for use as a randomization seed would be :{{CurrentGitRevision}}. It definitely seems to update regularly, though there are likely still concerns with caching. Things like NUMBEROFARTICLES and NUMBEROFPAGES will stop updating (or slow down significantly) once we complete generating title pages.

{{CurrentGitRevision}} should already trigger page refreshes anyways since all pages call it from version compatibility, so using it as a seed shouldn't change behavior from how it is currently at all. - Xerxes (talk) 08:32, 29 January 2018 (CET)
It will likely need a regex to purge out the hyphen and period though. Kolano (talk) 08:36, 29 January 2018 (CET)
Doesn't seem to be a problem with hyphen and period apparently I think. Lucario (talk) 08:58, 29 January 2018 (CET)
PAGES:R picks up even redirect and other pages while ARTICLES:R only focuses on number of article pages. The PAGES:R will change more frequently so it was used. Also, this template already use template:CurrentRevision and I believe it's not much of a difference from the "Git" one when it comes to randomization generation, because each time CurrentRevision has +1 then the Git will have +1 as well. It'd be awesome when there's something we can capture from within this wiki that changes constantly. CurrentVersion, PAGES:R, and #time:U are the best ones I can think of... Lucario (talk) 08:58, 29 January 2018 (CET)

Do these issues matter?

Are there any one or more issues listed in Template:VideoGallery/sandbox#Cons/Issues a big deal to some of us? Lucario (talk) 01:50, 31 January 2018 (CET)

I'd like to take a look at what all you did if that's alright. I've been waiting until you were satisfied with it first to poke around figuring out how it works exactly. The listed cons themselves don't seem like a problem to me though, I'm just curious. - Xerxes (talk) 02:19, 31 January 2018 (CET)
Yeah, I'm mostly satisfied with the current sandbox considering my limited abilities. It could be better optimized and issues could be sorted out in no added complexity hopefully. I'm glad there aren't any bigger issues. Lucario (talk) 02:47, 31 January 2018 (CET)
  • #vardefineecho: Would be preferable to not have it, but shouldn't be a big problem.
  • Listed in reverse order: Probably doesn't matter, though aren't they in random order? I think I'm confused by this.
  • Videos without caption will have empty caption: This no longer seems like a con, I think it's leftover from when oddball captions were generated.
  • Square Brackets: Could be a problem as lots of YouTube vids use square brackets in their titles, but double / unmatched ones should be fairly rare.
Kolano (talk) 02:26, 31 January 2018 (CET)
It's a bit unfortunate that the #vardefineecho: is an requirement for the parameterless version. I've completely forgotten that it was needed when I moved code from my talk page to sandbox. The differences between my talk page and this sandbox template is that my talk page isn't even a template, so the equal sign problem is invalid there. So I've copied how template:Problems worked out with contents that have equal sign. I was hoping nobody would mind it. Though it'll require mass edit to add #vardefineecho: to every VideoGallery template. I think the regex mass edit will gonna be easy, just don't do it on ViodeoGallery that has videos, only the empty ones.
Also, VideoGallery never had the list in random order, just the featured videos. Lucario (talk) 02:47, 31 January 2018 (CET)