mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] changelog2009-03-06 08:15 am

[dw-free] suitable ALT text for userpics

[commit: http://hg.dwscoalition.org/dw-free/rev/bf8396ff3697]

http://bugs.dwscoalition.org/show_bug.cgi?id=148

Add description to memcache array.

Patch by [personal profile] allen.

Files modified:
  • cgi-bin/LJ/MemCache.pm
--------------------------------------------------------------------------------
diff -r d7a8c576d5e4 -r bf8396ff3697 cgi-bin/LJ/MemCache.pm
--- a/cgi-bin/LJ/MemCache.pm	Fri Mar 06 08:04:37 2009 +0000
+++ b/cgi-bin/LJ/MemCache.pm	Fri Mar 06 08:15:49 2009 +0000
@@ -10,6 +10,8 @@ use vars qw($GET_DISABLED);
 use vars qw($GET_DISABLED);
 $GET_DISABLED = 0;
 
+# NOTE:  if you update the list of values stored in the cache here, you will
+# need to increment the version number, too.
 %LJ::MEMCACHE_ARRAYFMT = (
                           'user' =>
                           [qw[1 userid user caps clusterid dversion email password status statusvis statusvisdate
@@ -21,7 +23,7 @@ use vars qw($GET_DISABLED);
                           # version #101 because old userpic format in memcached was an arrayref of
                           # [width, height, ...] and widths could have been 1 before, although unlikely
                           'userpic' => [qw[101 width height userid fmt state picdate location flags]],
-                          'userpic2' => [qw[1 picid fmt width height state pictime md5base64 comment flags location url]],
+                          'userpic2' => [qw[2 picid fmt width height state pictime md5base64 comment description flags location url]],
                           'talk2row' => [qw[1 nodetype nodeid parenttalkid posterid datepost state]],
                           'usermsg' => [qw[1 journalid parent_msgid otherid timesent type]],
                           );
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org