TV Tropes Org

Forums

Tech Wishlist & Bug Reports: Data capacity warning system
search forum titles
google site search
Total posts: [10]
1

Data capacity warning system:

Got an interesting idea for the purpose of preventing page breaks due to overloading.

Objective: Provide a visual data capacity early warning system so judicious page splits can be implemented before a page breakage occurs.

How it works: A piece of coding that checks the the data a page contains versus the total data capacity of the page, then gives visual feedback on the page consisting of a metallic circle with a color and percentage inside (to accommodate color blindness). Blue for 0-20%, Green for 21-40%, Yellow for 41-60%, orange for 61-80%, and red for 81-100%.

Problems: How to implement it so that one wouldn't have to manually put it in every page?
 
 2 Fighteer, Wed, 4th Apr '12 10:27:11 AM from Starbase Alpha
Thataway
There is already a page size indicator — the numbers at the bottom left, which is the article's character count. I see no need to gin up a fancy graphical one.
 3 lebrel, Wed, 4th Apr '12 10:36:31 AM from Basement, Ivory Tower
Tsundere pet.
Alternatively, how about an edit warning when a page gets into "too big" territory? Something like "This page is approaching the maximum permitted filesize, please consider splitting it appropriately", with a link to some page-split guidelines?
Calling someone a pedant is an automatic Insult Backfire. Real pedants will be flattered.
 4 Earl of Sandvich, Wed, 4th Apr '12 10:38:53 AM from unemployed and frustrated
Don't screw with Capitalism!
[up][up] Ah! I've wondered what those numbers were all this time...
It's cold outside, there's no kind of atmosphere I'm all alone, more or less. Let me fly far away from here!
^ Also a pretty good idea. Question being where do we draw the line. Do we draw it at 75%, 80%, or 85%.
 
 6 lebrel, Wed, 4th Apr '12 10:43:47 AM from Basement, Ivory Tower
Tsundere pet.
[up] The Big Page Lock thread is flagging pages once they get to 400Kb, I think, so somewhere around there, probably.
Calling someone a pedant is an automatic Insult Backfire. Real pedants will be flattered.
At the very least, the character count should also say something like "Once the article reaches 400K, it should be split by medium." I know I keep forgetting the number in question.
 8 Silent Reverence, Wed, 4th Apr '12 1:10:57 PM from 3 tiles right 1 tile up
adopting kitteh
Fighteer, curiosity pecks me: what does the counter at the bottom of the pages exactly represent? Back when splitting the largest page in the wiki, I could confirm that it's not the source size, and it does not seem to fit the generated HTML size either (even when I tried to remove pretty much everything that wasn't the actual content container).

edited 4th Apr '12 1:14:18 PM by SilentReverence

 9 Fighteer, Wed, 4th Apr '12 1:12:19 PM from Starbase Alpha
Thataway
I forget now what Eddie said the number represents. I thought it was the rendered HTML.
 10 shimaspawn, Wed, 4th Apr '12 1:24:31 PM from Here and Now
It's character count.
Reality is that which, when you stop believing in it, doesn't go away.
The system doesn't know you right now, so no post button for you.
You need to Get Known to get one of those.
Total posts: 10
1


TV Tropes by TV Tropes Foundation, LLC is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
Permissions beyond the scope of this license may be available from thestaff@tvtropes.org.
Privacy Policy