r109134 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r109133‎ | r109134 | r109135 >
Date:10:34, 17 January 2012
Author:kaldari
Status:ok
Tags:
Comment:
adding a message to i18n, changing server-side cache to 20 minutes
Modified paths:
  • /trunk/extensions/CongressLookup/CongressLookup.i18n.php (modified) (history)
  • /trunk/extensions/CongressLookup/CongressLookup.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CongressLookup/CongressLookup.i18n.php
@@ -19,6 +19,7 @@
2020 'congresslookup-phone' => 'Phone: $1',
2121 'congresslookup-fax' => 'Fax: $1',
2222 'congresslookup-contact-form' => 'Contact form',
 23+ 'congresslookup-your-reps' => 'Your Representatives:',
2324 );
2425
2526 /** Message documentation (Message documentation)
@@ -32,4 +33,5 @@
3334 'congresslookup-phone' => 'Phone number listing. $1 is the phone number.',
3435 'congresslookup-fax' => 'Fax number listing. $1 is the fax number.',
3536 'congresslookup-contact-form' => "Label for a link to the representative's contact form",
 37+ 'congresslookup-your-reps' => 'Label for data. Should be short.',
3638 );
Index: trunk/extensions/CongressLookup/CongressLookup.php
@@ -42,7 +42,7 @@
4343 );
4444
4545 // Configurable variables for caching the special page
46 -$wgCongressLookupSharedMaxAge = 900; // 15 minutes server-side
 46+$wgCongressLookupSharedMaxAge = 1200; // 20 minutes server-side
4747 $wgCongressLookupMaxAge = 600; // 10 minutes client-side
4848
4949 $dir = dirname( __FILE__ ) . '/';

Status & tagging log