Start a Wiki
Sign In
Don't have an account?
Register
Sign In
Overwatch Wiki
Explore
Main Page
Discuss
All Pages
Interactive Maps
Gameplay
Heroes
Roles
Maps
Game modes
Playlists
Patch notes
Cosmetics
Events
Skins
Emotes
Highlight intros
Sprays
Voice lines
More...
Lore
Characters
Groups
Events
Cinematics
Hero origin stories
Short stories
In-universe media
More...
Community
Join Us!
Community portal
Admin noticeboard
Wiki rules
Style guide
More
Competitive
Teams
Tournaments
Portals
Official Website
Latest Announcements
Official Twitter
Reddit Page
Gamepedia
Gamepedia support
Report a bad ad
Help Wiki
Contact us
Related Wikis
Warcraft
StarCraft
Diablo
Hearthstone
Heroes of the Storm
Sign In
Don't have an account?
Register
Sign In
Explore
Fan Central
Current
Overwatch Wiki
2,353
pages
Explore
Main Page
Discuss
All Pages
Interactive Maps
Gameplay
Heroes
Roles
Maps
Game modes
Playlists
Patch notes
Cosmetics
Events
Skins
Emotes
Highlight intros
Sprays
Voice lines
More...
Lore
Characters
Groups
Events
Cinematics
Hero origin stories
Short stories
In-universe media
More...
Community
Join Us!
Community portal
Admin noticeboard
Wiki rules
Style guide
More
Competitive
Teams
Tournaments
Portals
Official Website
Latest Announcements
Official Twitter
Reddit Page
Gamepedia
Gamepedia support
Report a bad ad
Help Wiki
Contact us
Related Wikis
Warcraft
StarCraft
Diablo
Hearthstone
Heroes of the Storm
Talk:
Quotations
Back to page
Add topic
Edit source
History
Purge
Edit Page
Category talk:Quotations
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Format of quotes page == We have a new extension, "sm2", that displays a small play button instead of the large browser default one. I'd also like to get away from fixed width tables, they are not very accessible on mobile and (maybe its just me) harder to format and modify correctly. I've made a mock up based on LΓΊcio/Quotes of what I think can be an easier way to display quotes: [[User:MomoRuns/Quotes mockup]]. The first entry in the history shows a minimal change, just removing fixed width of the tables and using the audio template (which uses sm2). [[User:MomoRuns|MomoRuns]] ([[User talk:MomoRuns|talk]]) 16:01, 14 May 2020 (UTC) :Doing a bit of testing, the Lucio/Quotes page as it is now takes ~8.5 seconds of real time usage (0.9 seconds CPU time). A simple find/replace to change to sm2 and the page is now taking ~0.5 seconds of real time usage and 0.4 seconds CPU time. I believe that this time only applies to edit/preview and if the page is uncached, but it still is a surprising significant increase in performance. [[User:MomoRuns|MomoRuns]] ([[User talk:MomoRuns|talk]]) 16:39, 14 May 2020 (UTC) ::I do like the idea, but I personally feel like it's best to keep the Quotation pages in the same format as it is right now. Say, what if someone wanted to download some of those soundfiles? With the 'sm2' template, you can only listen to them and not download them with that format. Otherwise, I think we should keep the Quotation pages current format. [[User:Gameboy2936|Gameboy2936]] ([[User talk:Gameboy2936|talk]]) 02:05, 15 May 2020 (UTC) :::At the time of your comment I had made a drastic layout change on the mockup page. I've reverted to a minimal change now, just removing the fixed width of tables (which we can easily leave unchanged) and using sm2. I understand it makes downloading the files harder, (I have no information on how common that is for a user to do. The admins may be able to tell us, but I imagine its not often) :::Anyway, the difference in load times of pages is substantial. The server takes 8-15 seconds to respond when a user navigates to a quotes page. By replacing the raw <nowiki>[[File:]]</nowiki> with sm2 the page time usage goes to ~0.5 seconds for even the largest quote pages. I believe that is a worthwhile tradeoff for not being able to download directly from the page.[[User:MomoRuns|MomoRuns]] ([[User talk:MomoRuns|talk]]) 03:23, 15 May 2020 (UTC) ::::Ok, I understand. The page looks almost the same as what it is now, so I can accept that. I do understand as well, there are some pages that have so many voice clips that it takes a very long time to load (such as [[Mercy/Quotes|Mercy's quote page]], so I think this would make it much easier to access. ::::Also, if there are users that want to download those soundfiles, they can be accessed via it's category (for example, Category:LΓΊcio sound files). So that's a good alternative in that case. [[User:Gameboy2936|Gameboy2936]] ([[User talk:Gameboy2936|talk]]) 04:26, 15 May 2020 (UTC) :::::I've gone ahead and changed [[Mercy/Quotes|Mercy's quote page]], if everything looks good I'm happy to update the rest of the pages in the same way. I used the wiki editors built in "Search and replace" with "Search for:" <code>\[\[File:(.*?)\]\]</code> and "Replace with:" <code><nowiki>{{Audio|$1}}</nowiki></code> . The "Treat search string as a regular expression" checkbox is required to be checked on the dialog box as well. [[User:MomoRuns|MomoRuns]] ([[User talk:MomoRuns|talk]]) 14:03, 15 May 2020 (UTC) ::::::Looking good so far, took much quicker to load this time, instead of using the usual file interface for Google. [[User:Gameboy2936|Gameboy2936]] ([[User talk:Gameboy2936|talk]]) 01:45, 16 May 2020 (UTC)
Summary:
Please note that all contributions to the Overwatch Wiki are considered to be released under the CC BY-NC-SA
Cancel
Editing help
(opens in new window)
Follow on IG
TikTok
Join Fan Lab