Index: trunk/extensions/UsageStatistics/SpecialUserStats_body.php |
— | — | @@ -3,14 +3,14 @@ |
4 | 4 | { |
5 | 5 | function SpecialUserStats() { |
6 | 6 | SpecialPage::SpecialPage("SpecialUserStats"); |
7 | | - |
| 7 | + |
8 | 8 | # the standard method for LoadingExtensionMessages was apparently broken in several versions of MW |
9 | 9 | # so, to make this work with multiple versions of MediaWiki, let's load the messages nicely |
10 | 10 | if (function_exists('wfLoadExtensionMessages')) |
11 | 11 | wfLoadExtensionMessages( 'UserStats' ); |
12 | 12 | else |
13 | 13 | self::loadMessages(); |
14 | | - |
| 14 | + |
15 | 15 | return true; |
16 | 16 | } |
17 | 17 | |
— | — | @@ -137,16 +137,16 @@ |
138 | 138 | $gnuplot_pdata .= "$date $p\n"; |
139 | 139 | } |
140 | 140 | $gnuplot .= "e\n$gnuplot_pdata\ne</gnuplot>"; |
141 | | - |
| 141 | + |
142 | 142 | //$wgOut->addHTML($gnuplot); |
143 | 143 | $wgOut->addWikiText("<center>$gnuplot</center>"); |
144 | 144 | |
145 | | - |
| 145 | + |
146 | 146 | if (!in_array($wgUserStatsGlobalRight, $wgUser->getRights())) |
147 | 147 | return; |
148 | | - |
| 148 | + |
149 | 149 | # plot overall usage statistics |
150 | | - $wgOut->addWikiText(wfMsg('usagestatisticsfor', wfMsg('usagestatisticsallusers'))); |
| 150 | + $wgOut->addWikiText(wfMsg( 'usagestatisticsforallusers' )); |
151 | 151 | $gnuplot ="<gnuplot> |
152 | 152 | set xdata time |
153 | 153 | set xtics rotate by 90 |
— | — | @@ -188,7 +188,7 @@ |
189 | 189 | $gnuplot_pdata .= "$date $pages\n"; |
190 | 190 | } |
191 | 191 | $gnuplot .= "e\n$gnuplot_pdata\ne</gnuplot>"; |
192 | | - |
| 192 | + |
193 | 193 | //$wgOut->addHTML($gnuplot); |
194 | 194 | $wgOut->addWikiText("<center>$gnuplot</center>"); |
195 | 195 | |
— | — | @@ -231,25 +231,25 @@ |
232 | 232 | else { |
233 | 233 | $nature = wfMsg ('usagestatisticsincremental-text'); |
234 | 234 | } |
235 | | - |
| 235 | + |
236 | 236 | $wgOut->addHtml('<div class="NavFrame" style="padding:0px;border-style:none;">'); |
237 | 237 | $wgOut->addHtml('<div class="NavHead" style="background: #ffffff; text-align: left; font-size:100%;">'); |
238 | 238 | $wgOut->addWikiText(wfMsg ('usagestatistics-editindividual', $nature)); |
239 | | - $wgOut->addHtml('</div><div class="NavContent" style="display:none; font-size:normal; text-align:left">'); |
| 239 | + $wgOut->addHtml('</div><div class="NavContent" style="display:none; font-size:normal; text-align:left">'); |
240 | 240 | $wgOut->AddWikiText("<pre>$csv$csv_edits</pre></div></div><br>"); |
241 | | - |
| 241 | + |
242 | 242 | $wgOut->addHtml('<div class="NavFrame" style="padding:0px;border-style:none;">'); |
243 | 243 | $wgOut->addHtml('<div class="NavHead" style="background: #ffffff; text-align: left; font-size:100%;">'); |
244 | 244 | $wgOut->addWikiText(wfMsg ('usagestatistics-editpages', $nature)); |
245 | | - $wgOut->addHtml('</div><div class="NavContent" style="display:none; font-size:normal; text-align:left">'); |
| 245 | + $wgOut->addHtml('</div><div class="NavContent" style="display:none; font-size:normal; text-align:left">'); |
246 | 246 | $wgOut->AddWikiText("<pre>$csv$csv_pages</pre></div></div>"); |
247 | | - |
| 247 | + |
248 | 248 | return; |
249 | 249 | } |
250 | 250 | |
251 | 251 | function DisplayForm($start,$end) { |
252 | 252 | global $wgOut; |
253 | | - |
| 253 | + |
254 | 254 | $wgOut->addHTML(" |
255 | 255 | <script type='text/javascript'>document.write(getCalendarStyles());</SCRIPT> |
256 | 256 | <form id=\"userstats\" method=\"post\"> |
— | — | @@ -318,8 +318,8 @@ |
319 | 319 | for($i = 1; $i <= 7; $i++) |
320 | 320 | $daynames .= "'" . $wgContLang->getWeekdayAbbreviation($i) . "',"; |
321 | 321 | $daynames = substr($daynames, 0, -1); |
322 | | - |
323 | | - |
| 322 | + |
| 323 | + |
324 | 324 | $wgOut->addScript(<<<END |
325 | 325 | <script type="text/javascript"> |
326 | 326 | // =================================================================== |
— | — | @@ -335,7 +335,7 @@ |
336 | 336 | // use. That means, you can include it in your product, or your web |
337 | 337 | // site, or any other form where the code is actually being used. You |
338 | 338 | // may not put the plain javascript up on your site for download or |
339 | | -// include it in your javascript libraries for download. |
| 339 | +// include it in your javascript libraries for download. |
340 | 340 | // If you wish to share this code with others, please just point them |
341 | 341 | // to the URL instead. |
342 | 342 | // Please DO NOT link directly to my .js files from your site. Copy |
— | — | @@ -345,7 +345,7 @@ |
346 | 346 | |
347 | 347 | /* SOURCE FILE: AnchorPosition.js */ |
348 | 348 | |
349 | | -/* |
| 349 | +/* |
350 | 350 | AnchorPosition.js |
351 | 351 | Author: Matt Kruse |
352 | 352 | Last modified: 10/11/02 |
— | — | @@ -354,7 +354,7 @@ |
355 | 355 | so other elements can be positioned relative to it. |
356 | 356 | |
357 | 357 | COMPATABILITY: Netscape 4.x,6.x,Mozilla, IE 5.x,6.x on Windows. Some small |
358 | | -positioning errors - usually with Window positioning - occur on the |
| 358 | +positioning errors - usually with Window positioning - occur on the |
359 | 359 | Macintosh platform. |
360 | 360 | |
361 | 361 | FUNCTIONS: |
— | — | @@ -368,16 +368,16 @@ |
369 | 369 | |
370 | 370 | NOTES: |
371 | 371 | |
372 | | -1) For popping up separate browser windows, use getAnchorWindowPosition. |
| 372 | +1) For popping up separate browser windows, use getAnchorWindowPosition. |
373 | 373 | Otherwise, use getAnchorPosition |
374 | 374 | |
375 | | -2) Your anchor tag MUST contain both NAME and ID attributes which are the |
| 375 | +2) Your anchor tag MUST contain both NAME and ID attributes which are the |
376 | 376 | same. For example: |
377 | 377 | <A NAME="test" ID="test"> </A> |
378 | 378 | |
379 | | -3) There must be at least a space between <A> </A> for IE5.5 to see the |
| 379 | +3) There must be at least a space between <A> </A> for IE5.5 to see the |
380 | 380 | anchor tag correctly. Do not do <A></A> with no space. |
381 | | -*/ |
| 381 | +*/ |
382 | 382 | |
383 | 383 | // getAnchorPosition(anchorname) |
384 | 384 | // This function returns an object having .x and .y properties which are the coordinates |
— | — | @@ -463,7 +463,7 @@ |
464 | 464 | } |
465 | 465 | function AnchorPosition_getWindowOffsetLeft (el) { |
466 | 466 | return AnchorPosition_getPageOffsetLeft(el)-document.body.scrollLeft; |
467 | | - } |
| 467 | + } |
468 | 468 | function AnchorPosition_getPageOffsetTop (el) { |
469 | 469 | var ot=el.offsetTop; |
470 | 470 | while((el=el.offsetParent) != null) { ot += el.offsetTop; } |
— | — | @@ -480,14 +480,14 @@ |
481 | 481 | // May 17, 2003: Fixed bug in parseDate() for dates <1970 |
482 | 482 | // March 11, 2003: Added parseDate() function |
483 | 483 | // March 11, 2003: Added "NNN" formatting option. Doesn't match up |
484 | | -// perfectly with SimpleDateFormat formats, but |
| 484 | +// perfectly with SimpleDateFormat formats, but |
485 | 485 | // backwards-compatability was required. |
486 | 486 | |
487 | 487 | // ------------------------------------------------------------------ |
488 | | -// These functions use the same 'format' strings as the |
| 488 | +// These functions use the same 'format' strings as the |
489 | 489 | // java.text.SimpleDateFormat class, with minor exceptions. |
490 | 490 | // The format string consists of the following abbreviations: |
491 | | -// |
| 491 | +// |
492 | 492 | // Field | Full Form | Short Form |
493 | 493 | // -------------+--------------------+----------------------- |
494 | 494 | // Year | yyyy (4 digits) | yy (2 digits), y (2 or 4 digits) |
— | — | @@ -610,7 +610,7 @@ |
611 | 611 | } |
612 | 612 | return result; |
613 | 613 | } |
614 | | - |
| 614 | + |
615 | 615 | // ------------------------------------------------------------------ |
616 | 616 | // Utility functions for parsing in getDateFromFormat() |
617 | 617 | // ------------------------------------------------------------------ |
— | — | @@ -629,12 +629,12 @@ |
630 | 630 | } |
631 | 631 | return null; |
632 | 632 | } |
633 | | - |
| 633 | + |
634 | 634 | // ------------------------------------------------------------------ |
635 | 635 | // getDateFromFormat( date_string , format_string ) |
636 | 636 | // |
637 | 637 | // This function takes a date string and a format string. It matches |
638 | | -// If the date string matches the format string, it returns the |
| 638 | +// If the date string matches the format string, it returns the |
639 | 639 | // getTime() of the date. If it does not match, it returns 0. |
640 | 640 | // ------------------------------------------------------------------ |
641 | 641 | function getDateFromFormat(val,format) { |
— | — | @@ -654,7 +654,7 @@ |
655 | 655 | var mm=now.getMinutes(); |
656 | 656 | var ss=now.getSeconds(); |
657 | 657 | var ampm=""; |
658 | | - |
| 658 | + |
659 | 659 | while (i_format < format.length) { |
660 | 660 | // Get next token from format string |
661 | 661 | c=format.charAt(i_format); |
— | — | @@ -793,7 +793,7 @@ |
794 | 794 | |
795 | 795 | /* SOURCE FILE: PopupWindow.js */ |
796 | 796 | |
797 | | -/* |
| 797 | +/* |
798 | 798 | PopupWindow.js |
799 | 799 | Author: Matt Kruse |
800 | 800 | Last modified: 02/16/04 |
— | — | @@ -803,20 +803,20 @@ |
804 | 804 | window. |
805 | 805 | |
806 | 806 | COMPATABILITY: Works with Netscape 4.x, 6.x, IE 5.x on Windows. Some small |
807 | | -positioning errors - usually with Window positioning - occur on the |
808 | | -Macintosh platform. Due to bugs in Netscape 4.x, populating the popup |
| 807 | +positioning errors - usually with Window positioning - occur on the |
| 808 | +Macintosh platform. Due to bugs in Netscape 4.x, populating the popup |
809 | 809 | window with <STYLE> tags may cause errors. |
810 | 810 | |
811 | 811 | USAGE: |
812 | 812 | // Create an object for a WINDOW popup |
813 | | -var win = new PopupWindow(); |
| 813 | +var win = new PopupWindow(); |
814 | 814 | |
815 | 815 | // Create an object for a DIV window using the DIV named 'mydiv' |
816 | | -var win = new PopupWindow('mydiv'); |
| 816 | +var win = new PopupWindow('mydiv'); |
817 | 817 | |
818 | | -// Set the window to automatically hide itself when the user clicks |
| 818 | +// Set the window to automatically hide itself when the user clicks |
819 | 819 | // anywhere else on the page except the popup |
820 | | -win.autoHide(); |
| 820 | +win.autoHide(); |
821 | 821 | |
822 | 822 | // Show the window relative to the anchor name passed in |
823 | 823 | win.showPopup(anchorname); |
— | — | @@ -827,7 +827,7 @@ |
828 | 828 | // Set the size of the popup window (only applies to WINDOW popups |
829 | 829 | win.setSize(width,height); |
830 | 830 | |
831 | | -// Populate the contents of the popup window that will be shown. If you |
| 831 | +// Populate the contents of the popup window that will be shown. If you |
832 | 832 | // change the contents while it is displayed, you will need to refresh() |
833 | 833 | win.populate(string); |
834 | 834 | |
— | — | @@ -847,18 +847,18 @@ |
848 | 848 | NOTES: |
849 | 849 | 1) Requires the functions in AnchorPosition.js |
850 | 850 | |
851 | | -2) Your anchor tag MUST contain both NAME and ID attributes which are the |
| 851 | +2) Your anchor tag MUST contain both NAME and ID attributes which are the |
852 | 852 | same. For example: |
853 | 853 | <A NAME="test" ID="test"> </A> |
854 | 854 | |
855 | | -3) There must be at least a space between <A> </A> for IE5.5 to see the |
| 855 | +3) There must be at least a space between <A> </A> for IE5.5 to see the |
856 | 856 | anchor tag correctly. Do not do <A></A> with no space. |
857 | 857 | |
858 | 858 | 4) When a PopupWindow object is created, a handler for 'onmouseup' is |
859 | 859 | attached to any event handler you may have already defined. Do NOT define |
860 | 860 | an event handler for 'onmouseup' after you define a PopupWindow object or |
861 | 861 | the autoHide() will not work correctly. |
862 | | -*/ |
| 862 | +*/ |
863 | 863 | |
864 | 864 | // Set the position of the popup window based on the anchor |
865 | 865 | function PopupWindow_getXYPosition(anchorname) { |
— | — | @@ -897,11 +897,11 @@ |
898 | 898 | if (this.use_gebi) { |
899 | 899 | document.getElementById(this.divName).innerHTML = this.contents; |
900 | 900 | } |
901 | | - else if (this.use_css) { |
| 901 | + else if (this.use_css) { |
902 | 902 | document.all[this.divName].innerHTML = this.contents; |
903 | 903 | } |
904 | | - else if (this.use_layers) { |
905 | | - var d = document.layers[this.divName]; |
| 904 | + else if (this.use_layers) { |
| 905 | + var d = document.layers[this.divName]; |
906 | 906 | d.document.open(); |
907 | 907 | d.document.writeln(this.contents); |
908 | 908 | d.document.close(); |
— | — | @@ -1076,7 +1076,7 @@ |
1077 | 1077 | this.populated = false; |
1078 | 1078 | this.visible = false; |
1079 | 1079 | this.autoHideEnabled = false; |
1080 | | - |
| 1080 | + |
1081 | 1081 | this.contents = ""; |
1082 | 1082 | this.url=""; |
1083 | 1083 | this.windowProperties="toolbar=no,location=no,status=no,menubar=no,scrollbars=auto,resizable,alwaysRaised,dependent,titlebar=no"; |
— | — | @@ -1125,13 +1125,13 @@ |
1126 | 1126 | // CSS prefix. |
1127 | 1127 | // August 19, 2003: Renamed the function to get styles, and made it |
1128 | 1128 | // work correctly without an object reference |
1129 | | -// August 18, 2003: Changed showYearNavigation and |
| 1129 | +// August 18, 2003: Changed showYearNavigation and |
1130 | 1130 | // showYearNavigationInput to optionally take an argument of |
1131 | 1131 | // true or false |
1132 | 1132 | // July 31, 2003: Added text input option for year navigation. |
1133 | | -// Added a per-calendar CSS prefix option to optionally use |
| 1133 | +// Added a per-calendar CSS prefix option to optionally use |
1134 | 1134 | // different styles for different calendars. |
1135 | | -// July 29, 2003: Fixed bug causing the Today link to be clickable |
| 1135 | +// July 29, 2003: Fixed bug causing the Today link to be clickable |
1136 | 1136 | // even though today falls in a disabled date range. |
1137 | 1137 | // Changed formatting to use pure CSS, allowing greater control |
1138 | 1138 | // over look-and-feel options. |
— | — | @@ -1139,35 +1139,35 @@ |
1140 | 1140 | // under certain cases when some days of week are disabled |
1141 | 1141 | // March 14, 2003: Added ability to disable individual dates or date |
1142 | 1142 | // ranges, display as light gray and strike-through |
1143 | | -// March 14, 2003: Removed dependency on graypixel.gif and instead |
| 1143 | +// March 14, 2003: Removed dependency on graypixel.gif and instead |
1144 | 1144 | /// use table border coloring |
1145 | 1145 | // March 12, 2003: Modified showCalendar() function to allow optional |
1146 | 1146 | // start-date parameter |
1147 | 1147 | // March 11, 2003: Modified select() function to allow optional |
1148 | 1148 | // start-date parameter |
1149 | | -/* |
| 1149 | +/* |
1150 | 1150 | DESCRIPTION: This object implements a popup calendar to allow the user to |
1151 | 1151 | select a date, month, quarter, or year. |
1152 | 1152 | |
1153 | 1153 | COMPATABILITY: Works with Netscape 4.x, 6.x, IE 5.x on Windows. Some small |
1154 | | -positioning errors - usually with Window positioning - occur on the |
| 1154 | +positioning errors - usually with Window positioning - occur on the |
1155 | 1155 | Macintosh platform. |
1156 | | -The calendar can be modified to work for any location in the world by |
| 1156 | +The calendar can be modified to work for any location in the world by |
1157 | 1157 | changing which weekday is displayed as the first column, changing the month |
1158 | 1158 | names, and changing the column headers for each day. |
1159 | 1159 | |
1160 | 1160 | USAGE: |
1161 | 1161 | // Create a new CalendarPopup object of type WINDOW |
1162 | | -var cal = new CalendarPopup(); |
| 1162 | +var cal = new CalendarPopup(); |
1163 | 1163 | |
1164 | 1164 | // Create a new CalendarPopup object of type DIV using the DIV named 'mydiv' |
1165 | | -var cal = new CalendarPopup('mydiv'); |
| 1165 | +var cal = new CalendarPopup('mydiv'); |
1166 | 1166 | |
1167 | | -// Easy method to link the popup calendar with an input box. |
| 1167 | +// Easy method to link the popup calendar with an input box. |
1168 | 1168 | cal.select(inputObject, anchorname, dateFormat); |
1169 | 1169 | // Same method, but passing a default date other than the field's current value |
1170 | 1170 | cal.select(inputObject, anchorname, dateFormat, '01/02/2000'); |
1171 | | -// This is an example call to the popup calendar from a link to populate an |
| 1171 | +// This is an example call to the popup calendar from a link to populate an |
1172 | 1172 | // input box. Note that to use this, date.js must also be included!! |
1173 | 1173 | <A HREF="#" onClick="cal.select(document.forms[0].date,'anchorname','MM/dd/yyyy'); return false;">Select</A> |
1174 | 1174 | |
— | — | @@ -1204,7 +1204,7 @@ |
1205 | 1205 | // Show month and year dropdowns, for quicker selection of month of dates |
1206 | 1206 | cal.showNavigationDropdowns(); |
1207 | 1207 | |
1208 | | -// Set the text to be used above each day column. The days start with |
| 1208 | +// Set the text to be used above each day column. The days start with |
1209 | 1209 | // sunday regardless of the value of WeekStartDay |
1210 | 1210 | cal.setDayHeaders("S","M","T",...); |
1211 | 1211 | |
— | — | @@ -1231,7 +1231,7 @@ |
1232 | 1232 | // Pass two dates to disable all dates inbetween and including the two |
1233 | 1233 | cal.addDisabledDates("January 01, 2003", "Dec 31, 2003"); |
1234 | 1234 | |
1235 | | -// When the 'year' select is displayed, set the number of years back from the |
| 1235 | +// When the 'year' select is displayed, set the number of years back from the |
1236 | 1236 | // current year to start listing years. Default is 2. |
1237 | 1237 | // This is also used for year drop-down, to decide how many years +/- to display |
1238 | 1238 | cal.setYearSelectStartOffset(2); |
— | — | @@ -1264,21 +1264,21 @@ |
1265 | 1265 | NOTES: |
1266 | 1266 | 1) Requires the functions in AnchorPosition.js and PopupWindow.js |
1267 | 1267 | |
1268 | | -2) Your anchor tag MUST contain both NAME and ID attributes which are the |
| 1268 | +2) Your anchor tag MUST contain both NAME and ID attributes which are the |
1269 | 1269 | same. For example: |
1270 | 1270 | <A NAME="test" ID="test"> </A> |
1271 | 1271 | |
1272 | | -3) There must be at least a space between <A> </A> for IE5.5 to see the |
| 1272 | +3) There must be at least a space between <A> </A> for IE5.5 to see the |
1273 | 1273 | anchor tag correctly. Do not do <A></A> with no space. |
1274 | 1274 | |
1275 | 1275 | 4) When a CalendarPopup object is created, a handler for 'onmouseup' is |
1276 | 1276 | attached to any event handler you may have already defined. Do NOT define |
1277 | | - an event handler for 'onmouseup' after you define a CalendarPopup object |
| 1277 | + an event handler for 'onmouseup' after you define a CalendarPopup object |
1278 | 1278 | or the autoHide() will not work correctly. |
1279 | | - |
| 1279 | + |
1280 | 1280 | 5) The calendar popup display uses style sheets to make it look nice. |
1281 | 1281 | |
1282 | | -*/ |
| 1282 | +*/ |
1283 | 1283 | |
1284 | 1284 | // CONSTRUCTOR for the CalendarPopup Object |
1285 | 1285 | function CalendarPopup() { |
— | — | @@ -1345,7 +1345,7 @@ |
1346 | 1346 | return c; |
1347 | 1347 | } |
1348 | 1348 | function CP_copyMonthNamesToWindow() { |
1349 | | - // Copy these values over to the date.js |
| 1349 | + // Copy these values over to the date.js |
1350 | 1350 | if (typeof(window.MONTH_NAMES)!="undefined" && window.MONTH_NAMES!=null) { |
1351 | 1351 | window.MONTH_NAMES = new Array(); |
1352 | 1352 | for (var i=0; i<this.monthNames.length; i++) { |
— | — | @@ -1357,23 +1357,23 @@ |
1358 | 1358 | } |
1359 | 1359 | } |
1360 | 1360 | // Temporary default functions to be called when items clicked, so no error is thrown |
1361 | | -function CP_tmpReturnFunction(y,m,d) { |
| 1361 | +function CP_tmpReturnFunction(y,m,d) { |
1362 | 1362 | if (window.CP_targetInput!=null) { |
1363 | 1363 | var dt = new Date(y,m-1,d,0,0,0); |
1364 | 1364 | if (window.CP_calendarObject!=null) { window.CP_calendarObject.copyMonthNamesToWindow(); } |
1365 | 1365 | window.CP_targetInput.value = formatDate(dt,window.CP_dateFormat); |
1366 | 1366 | } |
1367 | 1367 | else { |
1368 | | - alert('Use setReturnFunction() to define which function will get the clicked results!'); |
| 1368 | + alert('Use setReturnFunction() to define which function will get the clicked results!'); |
1369 | 1369 | } |
1370 | 1370 | } |
1371 | | -function CP_tmpReturnMonthFunction(y,m) { |
| 1371 | +function CP_tmpReturnMonthFunction(y,m) { |
1372 | 1372 | alert('Use setReturnMonthFunction() to define which function will get the clicked results!You clicked: year='+y+' , month='+m); |
1373 | 1373 | } |
1374 | | -function CP_tmpReturnQuarterFunction(y,q) { |
| 1374 | +function CP_tmpReturnQuarterFunction(y,q) { |
1375 | 1375 | alert('Use setReturnQuarterFunction() to define which function will get the clicked results!You clicked: year='+y+' , quarter='+q); |
1376 | 1376 | } |
1377 | | -function CP_tmpReturnYearFunction(y) { |
| 1377 | +function CP_tmpReturnYearFunction(y) { |
1378 | 1378 | alert('Use setReturnYearFunction() to define which function will get the clicked results!You clicked: year='+y); |
1379 | 1379 | } |
1380 | 1380 | |
— | — | @@ -1421,7 +1421,7 @@ |
1422 | 1422 | this.disabledWeekDays = new Object(); |
1423 | 1423 | for (var i=0; i<arguments.length; i++) { this.disabledWeekDays[arguments[i]] = true; } |
1424 | 1424 | } |
1425 | | - |
| 1425 | + |
1426 | 1426 | // Disable individual dates or ranges |
1427 | 1427 | // Builds an internal logical test which is run via eval() for efficiency |
1428 | 1428 | function CP_addDisabledDates(start, end) { |
— | — | @@ -1434,15 +1434,15 @@ |
1435 | 1435 | else if (end ==null) { this.disabledDatesExpression+="(ds>="+start+")"; } |
1436 | 1436 | else { this.disabledDatesExpression+="(ds>="+start+"&&ds<="+end+")"; } |
1437 | 1437 | } |
1438 | | - |
| 1438 | + |
1439 | 1439 | // Set the text to use for the "Today" link |
1440 | 1440 | function CP_setTodayText(text) { |
1441 | 1441 | this.todayText = text; |
1442 | 1442 | } |
1443 | 1443 | |
1444 | 1444 | // Set the prefix to be added to all CSS classes when writing output |
1445 | | -function CP_setCssPrefix(val) { |
1446 | | - this.cssPrefix = val; |
| 1445 | +function CP_setCssPrefix(val) { |
| 1446 | + this.cssPrefix = val; |
1447 | 1447 | } |
1448 | 1448 | |
1449 | 1449 | // Show the navigation as an dropdowns that can be manually changed |
— | — | @@ -1460,7 +1460,7 @@ |
1461 | 1461 | // Refresh the contents of the calendar display |
1462 | 1462 | function CP_refreshCalendar(index) { |
1463 | 1463 | var calObject = window.popupWindowObjects[index]; |
1464 | | - if (arguments.length>1) { |
| 1464 | + if (arguments.length>1) { |
1465 | 1465 | calObject.populate(calObject.getCalendar(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])); |
1466 | 1466 | } |
1467 | 1467 | else { |
— | — | @@ -1494,8 +1494,8 @@ |
1495 | 1495 | alert("calendar.select: This function can only be used with displayType 'date' or 'week-end'"); |
1496 | 1496 | return; |
1497 | 1497 | } |
1498 | | - if (inputobj.type!="text" && inputobj.type!="hidden" && inputobj.type!="textarea") { |
1499 | | - alert("calendar.select: Input object passed is not a valid form input object"); |
| 1498 | + if (inputobj.type!="text" && inputobj.type!="hidden" && inputobj.type!="textarea") { |
| 1499 | + alert("calendar.select: Input object passed is not a valid form input object"); |
1500 | 1500 | window.CP_targetInput=null; |
1501 | 1501 | return; |
1502 | 1502 | } |
— | — | @@ -1517,7 +1517,7 @@ |
1518 | 1518 | window.CP_dateFormat = format; |
1519 | 1519 | this.showCalendar(linkname); |
1520 | 1520 | } |
1521 | | - |
| 1521 | + |
1522 | 1522 | // Get style block needed to display the calendar correctly |
1523 | 1523 | function getCalendarStyles() { |
1524 | 1524 | var result = ""; |
— | — | @@ -1577,7 +1577,7 @@ |
1578 | 1578 | var display_date = 1; |
1579 | 1579 | var weekday= current_month.getDay(); |
1580 | 1580 | var offset = 0; |
1581 | | - |
| 1581 | + |
1582 | 1582 | offset = (weekday >= this.weekStartDay) ? weekday-this.weekStartDay : 7-this.weekStartDay+weekday ; |
1583 | 1583 | if (offset > 0) { |
1584 | 1584 | display_month--; |
— | — | @@ -1714,7 +1714,7 @@ |
1715 | 1715 | // ------------------------------------ |
1716 | 1716 | if (this.displayType=="month" || this.displayType=="quarter" || this.displayType=="year") { |
1717 | 1717 | if (arguments.length > 0) { var year = arguments[0]; } |
1718 | | - else { |
| 1718 | + else { |
1719 | 1719 | if (this.displayType=="year") { var year = now.getFullYear()-this.yearSelectStartOffset; } |
1720 | 1720 | else { var year = now.getFullYear(); } |
1721 | 1721 | } |
— | — | @@ -1727,8 +1727,8 @@ |
1728 | 1728 | result += '</TR></TABLE>'; |
1729 | 1729 | } |
1730 | 1730 | } |
1731 | | - |
1732 | | - // Code for MONTH display |
| 1731 | + |
| 1732 | + // Code for MONTH display |
1733 | 1733 | // ---------------------- |
1734 | 1734 | if (this.displayType=="month") { |
1735 | 1735 | // If POPUP, write entire HTML document |
— | — | @@ -1743,7 +1743,7 @@ |
1744 | 1744 | } |
1745 | 1745 | result += '</TABLE></CENTER></TD></TR></TABLE>'; |
1746 | 1746 | } |
1747 | | - |
| 1747 | + |
1748 | 1748 | // Code for QUARTER display |
1749 | 1749 | // ------------------------ |
1750 | 1750 | if (this.displayType=="quarter") { |
— | — | @@ -1789,4 +1789,3 @@ |
1790 | 1790 | ); |
1791 | 1791 | } |
1792 | 1792 | } |
1793 | | -?> |
Index: trunk/extensions/UsageStatistics/SpecialUserStats.i18n.php |
— | — | @@ -12,7 +12,7 @@ |
13 | 13 | 'usagestatistics' => 'Usage statistics', |
14 | 14 | 'usagestatistics-desc' => 'Show individual user and overall wiki usage statistics', |
15 | 15 | 'usagestatisticsfor' => '<h2>Usage statistics for [[User:$1|$1]]</h2>', |
16 | | - 'usagestatisticsallusers' => 'All users', |
| 16 | + 'usagestatisticsforallusers' => '<h2>Usage statistics for all users</h2>', |
17 | 17 | 'usagestatisticsinterval' => 'Interval', |
18 | 18 | 'usagestatisticstype' => 'Type', |
19 | 19 | 'usagestatisticsstart' => 'Start date', |
— | — | @@ -66,7 +66,6 @@ |
67 | 67 | * @author Naudefj |
68 | 68 | */ |
69 | 69 | $messages['af'] = array( |
70 | | - 'usagestatisticsallusers' => 'Alle gebruikers', |
71 | 70 | 'usagestatisticsinterval' => 'Interval', |
72 | 71 | 'usagestatisticstype' => 'Tipe', |
73 | 72 | 'usagestatisticsstart' => 'Begindatum', |
— | — | @@ -85,7 +84,6 @@ |
86 | 85 | 'usagestatistics' => 'إحصاءات الاستخدام', |
87 | 86 | 'usagestatistics-desc' => 'يعرض إحصاءات الاستخدام لمستخدم منفرد وللويكي ككل', |
88 | 87 | 'usagestatisticsfor' => '<h2>إحصاءات الاستخدام ل[[User:$1|$1]]</h2>', |
89 | | - 'usagestatisticsallusers' => 'كل المستخدمين', |
90 | 88 | 'usagestatisticsinterval' => 'مدة', |
91 | 89 | 'usagestatisticstype' => 'نوع', |
92 | 90 | 'usagestatisticsstart' => 'تاريخ البدء', |
— | — | @@ -113,7 +111,6 @@ |
114 | 112 | 'specialuserstats' => "Estadístiques d'usu", |
115 | 113 | 'usagestatistics' => "Estadístiques d'usu", |
116 | 114 | 'usagestatisticsfor' => "<h2>Estadístiques d'usu de [[User:$1|$1]]</h2>", |
117 | | - 'usagestatisticsallusers' => 'Tolos usuarios', |
118 | 115 | 'usagestatisticsinterval' => 'Intervalu', |
119 | 116 | 'usagestatisticstype' => 'Triba', |
120 | 117 | 'usagestatisticsstart' => 'Fecha inicial', |
— | — | @@ -131,7 +128,6 @@ |
132 | 129 | 'specialuserstats' => 'Faverenkopaceem', |
133 | 130 | 'usagestatistics' => 'Faverenkopaceem', |
134 | 131 | 'usagestatisticsfor' => '<h2>Faverenkopaceem ke [[User:$1|$1]]</h2>', |
135 | | - 'usagestatisticsallusers' => 'Favesikeem', |
136 | 132 | 'usagestatisticsinterval' => 'Waluk', |
137 | 133 | 'usagestatisticstype' => 'Ord', |
138 | 134 | 'usagestatisticsstart' => 'Tozevla', |
— | — | @@ -154,7 +150,6 @@ |
155 | 151 | */ |
156 | 152 | $messages['bg'] = array( |
157 | 153 | 'usagestatistics-desc' => 'Показване на статистика за отделни потребители или за цялото уики', |
158 | | - 'usagestatisticsallusers' => 'Всички потребители', |
159 | 154 | 'usagestatisticsinterval' => 'Интервал', |
160 | 155 | 'usagestatisticstype' => 'Вид', |
161 | 156 | 'usagestatisticsstart' => 'Начална дата', |
— | — | @@ -177,7 +172,6 @@ |
178 | 173 | 'usagestatistics' => 'ব্যবহার পরিসংখ্যান', |
179 | 174 | 'usagestatistics-desc' => 'একজন নির্দিষ্ট ব্যবহারকারী এবং সামগ্রিক উইকি ব্যবহার পরিসংখ্যান দেখানো হোক', |
180 | 175 | 'usagestatisticsfor' => '<h2>ব্যবহারকারী [[User:$1|$1]]-এর জন্য ব্যবহার পরিসংখ্যান</h2>', |
181 | | - 'usagestatisticsallusers' => 'সব ব্যবহারকারী', |
182 | 176 | 'usagestatisticsinterval' => 'ব্যবধান', |
183 | 177 | 'usagestatisticstype' => 'ধরন', |
184 | 178 | 'usagestatisticsstart' => 'শুরুর তারিখ', |
— | — | @@ -206,7 +200,6 @@ |
207 | 201 | 'usagestatistics' => 'Stadegoù implijout', |
208 | 202 | 'usagestatistics-desc' => 'Diskouez a ra stadegoù personel an implijerien hag an implij war ar wiki en e bezh', |
209 | 203 | 'usagestatisticsfor' => '<h2>Stadegoù implijout evit [[User:$1|$1]]</h2>', |
210 | | - 'usagestatisticsallusers' => 'An holl implijerien', |
211 | 204 | 'usagestatisticsinterval' => 'Esaouenn', |
212 | 205 | 'usagestatisticstype' => 'Seurt', |
213 | 206 | 'usagestatisticsstart' => 'Deiziad kregiñ', |
— | — | @@ -235,7 +228,6 @@ |
236 | 229 | 'usagestatistics' => "Estadístiques d'ús", |
237 | 230 | 'usagestatistics-desc' => "Mostrar estadístiques d'ús d'usuaris individuals i globals del wiki", |
238 | 231 | 'usagestatisticsfor' => "<h2>Estadístiques d'ús de [[User:$1|$1]]</h2>", |
239 | | - 'usagestatisticsallusers' => 'Tots els usuaris', |
240 | 232 | 'usagestatisticsinterval' => 'Interval', |
241 | 233 | 'usagestatisticstype' => 'Tipus', |
242 | 234 | 'usagestatisticsstart' => "Data d'inici", |
— | — | @@ -273,7 +265,6 @@ |
274 | 266 | 'usagestatistics' => 'Nutzungs-Statistik', |
275 | 267 | 'usagestatistics-desc' => 'Zeigt individuelle Benutzer- und allgemeine Wiki-Nutzungsstatistiken an', |
276 | 268 | 'usagestatisticsfor' => '<h2>Nutzungs-Statistik für [[User:$1|$1]]</h2>', |
277 | | - 'usagestatisticsallusers' => 'Alle Nutzer', |
278 | 269 | 'usagestatisticsinterval' => 'Zeitraum', |
279 | 270 | 'usagestatisticstype' => 'Berechnungsart', |
280 | 271 | 'usagestatisticsstart' => 'Start-Datum', |
— | — | @@ -297,7 +288,6 @@ |
298 | 289 | 'usagestatistics' => 'Wužywańska statistika', |
299 | 290 | 'usagestatistics-desc' => 'Wužywańsku statistiku jadnotliwego wužywarja a cełego wikija pokazaś', |
300 | 291 | 'usagestatisticsfor' => '<h2>Wužywańska statistika za [[User:$1|$1]]</h2>', |
301 | | - 'usagestatisticsallusers' => 'Wše wužywarje', |
302 | 292 | 'usagestatisticsinterval' => 'Casowy interwal', |
303 | 293 | 'usagestatisticstype' => 'Typ', |
304 | 294 | 'usagestatisticsstart' => 'Zachopny datum', |
— | — | @@ -337,7 +327,6 @@ |
338 | 328 | 'usagestatistics' => 'Statistiko de uzado', |
339 | 329 | 'usagestatistics-desc' => 'Montru individuan uzanton kaj ĉiun statistikon pri uzado de vikio', |
340 | 330 | 'usagestatisticsfor' => '<h2>Statistiko pri uzado por [[User:$1|$1]]</h2>', |
341 | | - 'usagestatisticsallusers' => 'Ĉiuj uzantoj', |
342 | 331 | 'usagestatisticsinterval' => 'Intervalo', |
343 | 332 | 'usagestatisticstype' => 'Speco', |
344 | 333 | 'usagestatisticsstart' => 'Komenco-dato', |
— | — | @@ -363,7 +352,6 @@ |
364 | 353 | 'specialuserstats' => 'Käyttäjäkohtaiset tilastot', |
365 | 354 | 'usagestatistics' => 'Käyttäjäkohtaiset tilastot', |
366 | 355 | 'usagestatisticsfor' => '<h2>Käyttäjäkohtaiset tilastot ([[User:$1|$1]])</h2>', |
367 | | - 'usagestatisticsallusers' => 'Kaikki käyttäjät', |
368 | 356 | 'usagestatisticsinterval' => 'Aikaväli', |
369 | 357 | 'usagestatisticstype' => 'Tyyppi', |
370 | 358 | 'usagestatisticsstart' => 'Aloituspäivä', |
— | — | @@ -383,7 +371,7 @@ |
384 | 372 | 'usagestatistics' => 'Statistiques Utilisation', |
385 | 373 | 'usagestatistics-desc' => 'Affiche les statistiques individuelles des utilisateurs ainsi que l’utilisation sur l’ensemble du wiki.', |
386 | 374 | 'usagestatisticsfor' => '<h2>Statistiques Utilisation pour [[User:$1|$1]]</h2>', |
387 | | - 'usagestatisticsallusers' => 'Tous les utilisateurs', |
| 375 | + 'usagestatisticsforallusers' => '<h2>Statistiques utilisation pour tous les utilisateurs</h2>', |
388 | 376 | 'usagestatisticsinterval' => 'Intervalle', |
389 | 377 | 'usagestatisticstype' => 'Type', |
390 | 378 | 'usagestatisticsstart' => 'Date de début', |
— | — | @@ -414,7 +402,6 @@ |
415 | 403 | 'usagestatistics' => 'Estatísticas do Uso', |
416 | 404 | 'usagestatistics-desc' => 'Amosar as estatíticas de uso do usuario individual e mais as do wiki en xeral', |
417 | 405 | 'usagestatisticsfor' => '<h2>Estatísticas de uso para [[User:$1|$1]]</h2>', |
418 | | - 'usagestatisticsallusers' => 'Todos os Usuarios', |
419 | 406 | 'usagestatisticsinterval' => 'Intervalo', |
420 | 407 | 'usagestatisticstype' => 'Clase', |
421 | 408 | 'usagestatisticsstart' => 'Data de comezo', |
— | — | @@ -450,7 +437,6 @@ |
451 | 438 | 'specialuserstats' => 'Statistika upotrebe', |
452 | 439 | 'usagestatistics' => 'Statistika upotrebe', |
453 | 440 | 'usagestatisticsfor' => '<h2>Statistika upotrebe za suradnika [[User:$1|$1]]</h2>', |
454 | | - 'usagestatisticsallusers' => 'Svi suradnici', |
455 | 441 | 'usagestatisticsinterval' => 'Razdoblje', |
456 | 442 | 'usagestatisticstype' => 'Vrsta', |
457 | 443 | 'usagestatisticsstart' => 'Početni datum', |
— | — | @@ -469,7 +455,6 @@ |
470 | 456 | 'usagestatistics' => 'Wužiwanska statistika', |
471 | 457 | 'usagestatistics-desc' => 'Statistika jednotliwych wužiwarja a cyłkownu wikijowu statistiku pokazać', |
472 | 458 | 'usagestatisticsfor' => '<h2>Wužiwanska statistika za [[User:$1|$1]]</h2>', |
473 | | - 'usagestatisticsallusers' => 'Wšitcy wužiwarjo', |
474 | 459 | 'usagestatisticsinterval' => 'Interwal', |
475 | 460 | 'usagestatisticstype' => 'Typ', |
476 | 461 | 'usagestatisticsstart' => 'Spočatny datum', |
— | — | @@ -504,7 +489,6 @@ |
505 | 490 | 'specialuserstats' => 'Statistik olèhé nganggo', |
506 | 491 | 'usagestatistics' => 'Statistik olèhé nganggo', |
507 | 492 | 'usagestatisticsfor' => '<h2>Statistik panggunan kanggo [[User:$1|$1]]</h2>', |
508 | | - 'usagestatisticsallusers' => 'Kabèh panganggo', |
509 | 493 | 'usagestatisticsinterval' => 'Interval', |
510 | 494 | 'usagestatisticstype' => 'Jenis', |
511 | 495 | 'usagestatisticsstart' => 'Tanggal wiwitan', |
— | — | @@ -527,7 +511,6 @@ |
528 | 512 | 'usagestatistics' => 'ស្ថិតិនៃការប្រើប្រាស់', |
529 | 513 | 'usagestatistics-desc' => 'បង្ហាញស្ថិតិអ្នកប្រើប្រាស់ជាឯកត្តៈបុគ្គល និង ការប្រើប្រាស់វិគីទាំងមូល', |
530 | 514 | 'usagestatisticsfor' => '<h2>ស្ថិតិនៃការប្រើប្រាស់របស់ [[User:$1|$1]]</h2>', |
531 | | - 'usagestatisticsallusers' => 'គ្រប់អ្នកប្រើប្រាស់', |
532 | 515 | 'usagestatisticsinterval' => 'ចន្លោះ', |
533 | 516 | 'usagestatisticstype' => 'ប្រភេទ', |
534 | 517 | 'usagestatisticsstart' => 'ថ្ងៃខែឆ្នាំ ចាប់ផ្តើម', |
— | — | @@ -546,7 +529,6 @@ |
547 | 530 | 'usagestatistics' => 'Benotzungs-Statistiken', |
548 | 531 | 'usagestatistics-desc' => 'Weis Statistike vun den indivudelle Benotzer an der allgemenger Benotzung vun der Wiki', |
549 | 532 | 'usagestatisticsfor' => '<h2>Benotzungs-Statistik fir [[User:$1|$1]]</h2>', |
550 | | - 'usagestatisticsallusers' => 'All Benotzer', |
551 | 533 | 'usagestatisticsinterval' => 'Intervall', |
552 | 534 | 'usagestatisticstype' => 'Typ', |
553 | 535 | 'usagestatisticsstart' => 'Ufanksdatum', |
— | — | @@ -573,7 +555,6 @@ |
574 | 556 | $messages['ml'] = array( |
575 | 557 | 'specialuserstats' => 'ഉപയോഗത്തിന്റെ സ്ഥിതിവിവരക്കണക്ക്', |
576 | 558 | 'usagestatistics' => 'ഉപയോഗത്തിന്റെ സ്ഥിതിവിവരക്കണക്ക്', |
577 | | - 'usagestatisticsallusers' => 'എല്ലാ ഉപയോക്താക്കളും', |
578 | 559 | 'usagestatisticsinterval' => 'ഇടവേള', |
579 | 560 | 'usagestatisticstype' => 'തരം', |
580 | 561 | 'usagestatisticsstart' => 'തുടങ്ങുന്ന തീയ്യതി', |
— | — | @@ -596,7 +577,6 @@ |
597 | 578 | 'specialuserstats' => 'वापर सांख्यिकी', |
598 | 579 | 'usagestatistics' => 'वापर सांख्यिकी', |
599 | 580 | 'usagestatisticsfor' => '<h2>[[User:$1|$1]] ची वापर सांख्यिकी</h2>', |
600 | | - 'usagestatisticsallusers' => 'सर्व सदस्य', |
601 | 581 | 'usagestatisticsinterval' => 'मध्यंतर', |
602 | 582 | 'usagestatisticstype' => 'प्रकार', |
603 | 583 | 'usagestatisticsstart' => 'सुरुवातीचा दिनांक', |
— | — | @@ -621,7 +601,6 @@ |
622 | 602 | * @author Slomox |
623 | 603 | */ |
624 | 604 | $messages['nds'] = array( |
625 | | - 'usagestatisticsallusers' => 'All Brukers', |
626 | 605 | 'usagestatisticsinterval' => 'Tiedruum', |
627 | 606 | 'usagestatisticstype' => 'Typ', |
628 | 607 | 'usagestatisticsintervalday' => 'Dag', |
— | — | @@ -639,7 +618,6 @@ |
640 | 619 | 'usagestatistics' => 'Gebruiksstatistieken', |
641 | 620 | 'usagestatistics-desc' => 'Individuele en totaalstatistieken van wikigebruik weergeven', |
642 | 621 | 'usagestatisticsfor' => '<h2>Gebruikersstatistieken voor [[User:$1|$1]]</h2>', |
643 | | - 'usagestatisticsallusers' => 'Alle gebruikers', |
644 | 622 | 'usagestatisticsinterval' => 'Onderbreking', |
645 | 623 | 'usagestatisticstype' => 'Type', |
646 | 624 | 'usagestatisticsstart' => 'Begindatum', |
— | — | @@ -668,7 +646,6 @@ |
669 | 647 | 'specialuserstats' => 'Statistikk over bruk', |
670 | 648 | 'usagestatistics' => 'Statistikk over bruk', |
671 | 649 | 'usagestatisticsfor' => '<h2>Statistikk over bruk for [[User:$1|$1]]</h2>', |
672 | | - 'usagestatisticsallusers' => 'Alle brukarane', |
673 | 650 | 'usagestatisticsinterval' => 'Intervall', |
674 | 651 | 'usagestatisticstype' => 'Type', |
675 | 652 | 'usagestatisticsstart' => 'Startdato', |
— | — | @@ -688,7 +665,6 @@ |
689 | 666 | 'usagestatistics' => 'Bruksstatistikk', |
690 | 667 | 'usagestatistics-desc' => 'Vis statistikk for individuelle brukere og for hele wikien', |
691 | 668 | 'usagestatisticsfor' => '<h2>Bruksstatistikk for [[User:$1|$1]]</h2>', |
692 | | - 'usagestatisticsallusers' => 'Alle brukere', |
693 | 669 | 'usagestatisticsinterval' => 'Intervall', |
694 | 670 | 'usagestatisticstype' => 'Type', |
695 | 671 | 'usagestatisticsstart' => 'Starttid', |
— | — | @@ -717,7 +693,6 @@ |
718 | 694 | 'usagestatistics' => 'Estatisticas Utilizacion', |
719 | 695 | 'usagestatistics-desc' => 'Aficha las estatisticas individualas dels utilizaires e mai l’utilizacion sus l’ensemble del wiki.', |
720 | 696 | 'usagestatisticsfor' => '<h2>Estatisticas Utilizacion per [[User:$1|$1]]</h2>', |
721 | | - 'usagestatisticsallusers' => 'Totes los utilizaires', |
722 | 697 | 'usagestatisticsinterval' => 'Interval', |
723 | 698 | 'usagestatisticstype' => 'Tipe', |
724 | 699 | 'usagestatisticsstart' => 'Data de començament', |
— | — | @@ -747,7 +722,6 @@ |
748 | 723 | 'usagestatistics' => 'Statystyki', |
749 | 724 | 'usagestatistics-desc' => 'Pokazuje statystyki indywidualne użytkownika oraz statystyki wiki', |
750 | 725 | 'usagestatisticsfor' => '<h2>Statystyki użytkownika [[User:$1|$1]]</h2>', |
751 | | - 'usagestatisticsallusers' => 'Wszyscy użytkownicy', |
752 | 726 | 'usagestatisticsinterval' => 'odstęp', |
753 | 727 | 'usagestatisticstype' => 'Typ', |
754 | 728 | 'usagestatisticsstart' => 'Data początkowa', |
— | — | @@ -774,7 +748,6 @@ |
775 | 749 | $messages['ps'] = array( |
776 | 750 | 'specialuserstats' => 'د کارونې شمار', |
777 | 751 | 'usagestatistics' => 'د کارونې شمار', |
778 | | - 'usagestatisticsallusers' => 'ټول کارونکي', |
779 | 752 | 'usagestatisticstype' => 'ډول', |
780 | 753 | 'usagestatisticsstart' => 'د پيل نېټه', |
781 | 754 | 'usagestatisticsend' => 'د پای نېټه', |
— | — | @@ -792,7 +765,6 @@ |
793 | 766 | $messages['pt'] = array( |
794 | 767 | 'specialuserstats' => 'Estatísticas de uso', |
795 | 768 | 'usagestatistics' => 'Estatísticas de uso', |
796 | | - 'usagestatisticsallusers' => 'Todos os Utilizadores', |
797 | 769 | 'usagestatisticsinterval' => 'Intervalo', |
798 | 770 | 'usagestatisticstype' => 'Tipo', |
799 | 771 | 'usagestatisticsstart' => 'Data de Início', |
— | — | @@ -830,7 +802,6 @@ |
831 | 803 | 'usagestatistics' => 'Štatistika používanosti', |
832 | 804 | 'usagestatistics-desc' => 'Zobrazenie štatistík jednotlivého používateľa a celej wiki', |
833 | 805 | 'usagestatisticsfor' => '<h2>Štatistika používanosti pre používateľa [[User:$1|$1]]</h2>', |
834 | | - 'usagestatisticsallusers' => 'Všetci používatelia', |
835 | 806 | 'usagestatisticsinterval' => 'Interval', |
836 | 807 | 'usagestatisticstype' => 'Typ', |
837 | 808 | 'usagestatisticsstart' => 'Dátum začiatku', |
— | — | @@ -861,7 +832,7 @@ |
862 | 833 | 'usagestatistics' => 'Användarstatistik', |
863 | 834 | 'usagestatistics-desc' => 'Visar användningsstatistik för enskilda användare och för wikin som helhet', |
864 | 835 | 'usagestatisticsfor' => '<h2>Användarstatistik för [[User:$1|$1]]</h2>', |
865 | | - 'usagestatisticsallusers' => 'Alla användare', |
| 836 | + 'usagestatisticsforallusers' => '<h2>Användarstatistik för alla användare</h2>', |
866 | 837 | 'usagestatisticsinterval' => 'Intervall', |
867 | 838 | 'usagestatisticstype' => 'Typ', |
868 | 839 | 'usagestatisticsstart' => 'Startdatum', |
— | — | @@ -890,7 +861,6 @@ |
891 | 862 | 'specialuserstats' => 'వాడుక గణాంకాలు', |
892 | 863 | 'usagestatistics' => 'వాడుక గణాంకాలు', |
893 | 864 | 'usagestatisticsfor' => '<h2>[[User:$1|$1]] కు వాడుక గణాంకాలు</h2>', |
894 | | - 'usagestatisticsallusers' => 'వాడుకరులందరూ', |
895 | 865 | 'usagestatisticsinterval' => 'సమయాంతరం', |
896 | 866 | 'usagestatisticstype' => 'రకం', |
897 | 867 | 'usagestatisticsstart' => 'ప్రారంభ తేదీ', |
— | — | @@ -911,7 +881,6 @@ |
912 | 882 | $messages['tg-cyrl'] = array( |
913 | 883 | 'specialuserstats' => 'Омори истифода', |
914 | 884 | 'usagestatistics' => 'Омори истифода', |
915 | | - 'usagestatisticsallusers' => 'Ҳамаи корбарон', |
916 | 885 | 'usagestatisticsinterval' => 'Фосила', |
917 | 886 | 'usagestatisticstype' => 'Навъ', |
918 | 887 | 'usagestatisticsstart' => 'Таърихи оғоз', |
— | — | @@ -934,7 +903,6 @@ |
935 | 904 | * @author Karduelis |
936 | 905 | */ |
937 | 906 | $messages['tr'] = array( |
938 | | - 'usagestatisticsallusers' => 'Bütün kullanıcılar', |
939 | 907 | 'usagestatisticsinterval' => 'Zaman', |
940 | 908 | 'usagestatisticsstart' => 'Başlangıç tarihi', |
941 | 909 | 'usagestatisticsend' => 'Bitiş tarihi', |
— | — | @@ -947,7 +915,6 @@ |
948 | 916 | 'specialuserstats' => 'Thống kê sử dụng', |
949 | 917 | 'usagestatistics' => 'Thống kê sử dụng', |
950 | 918 | 'usagestatisticsfor' => '<h2>Thống kê sử dụng về [[User:$1|$1]]</h2>', |
951 | | - 'usagestatisticsallusers' => 'Mọi người dùng', |
952 | 919 | 'usagestatisticstype' => 'Loại', |
953 | 920 | 'usagestatisticsstart' => 'Ngày đầu', |
954 | 921 | 'usagestatisticsend' => 'Ngày cuối', |
— | — | @@ -962,7 +929,6 @@ |
963 | 930 | * @author Malafaya |
964 | 931 | */ |
965 | 932 | $messages['vo'] = array( |
966 | | - 'usagestatisticsallusers' => 'Gebans Valik', |
967 | 933 | 'usagestatisticssubmit' => 'Jafön Statitis', |
968 | 934 | 'usagestatisticsintervalday' => 'Del', |
969 | 935 | 'usagestatisticsintervalweek' => 'Vig', |
Index: trunk/extensions/UsageStatistics/SpecialUserStats.php |
— | — | @@ -12,16 +12,15 @@ |
13 | 13 | */ |
14 | 14 | |
15 | 15 | $wgExtensionCredits['specialpage'][] = array( |
16 | | - 'name' => 'UserStats', |
17 | | - 'version' => 'v1.7', |
18 | | - 'author' => 'Paul Grinberg', |
19 | | - 'email' => 'gri6507 at yahoo dot com', |
20 | | - 'url' => 'http://www.mediawiki.org/wiki/Extension:Usage_Statistics', |
21 | | - 'description' => 'Show individual user and overall wiki usage statistics', |
22 | | - 'descriptionmsg' => 'usagestatistics-desc', |
| 16 | + 'name' => 'UserStats', |
| 17 | + 'version' => 'v1.8', |
| 18 | + 'author' => 'Paul Grinberg', |
| 19 | + 'email' => 'gri6507 at yahoo dot com', |
| 20 | + 'url' => 'http://www.mediawiki.org/wiki/Extension:Usage_Statistics', |
| 21 | + 'description' => 'Show individual user and overall wiki usage statistics', |
| 22 | + 'descriptionmsg' => 'usagestatistics-desc', |
23 | 23 | ); |
24 | 24 | |
25 | | - |
26 | 25 | $wgUserStatsGlobalRight = 'viewsystemstats'; |
27 | 26 | $wgAvailableRights[] = 'viewsystemstats'; |
28 | 27 | |
— | — | @@ -32,6 +31,6 @@ |
33 | 32 | |
34 | 33 | $dir = dirname(__FILE__) . '/'; |
35 | 34 | $wgExtensionMessagesFiles['UserStats'] = $dir . '/SpecialUserStats.i18n.php'; |
| 35 | +$wgExtensionAliasesFiles['UserStats'] = $dir . 'UserStats.alias.php'; |
36 | 36 | $wgAutoloadClasses['SpecialUserStats'] = $dir . '/SpecialUserStats_body.php'; |
37 | | -$wgSpecialPages['SpecialUserStats'] = 'SpecialUserStats'; |
38 | | - |
| 37 | +$wgSpecialPages['UserStats'] = 'SpecialUserStats'; |
Index: trunk/extensions/UsageStatistics/SpecialUserStats.alias.php |
— | — | @@ -0,0 +1,14 @@ |
| 2 | +<?php |
| 3 | +/** |
| 4 | + * Aliases for special pages |
| 5 | + * |
| 6 | + */ |
| 7 | + |
| 8 | +$aliases = array(); |
| 9 | + |
| 10 | +/** English |
| 11 | + * @author Paul Grinberg |
| 12 | + */ |
| 13 | +$aliases['en'] = array( |
| 14 | + 'UserStats' => array( 'UserStats', 'SpecialUserStats' ), |
| 15 | +); |
Property changes on: trunk/extensions/UsageStatistics/SpecialUserStats.alias.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 16 | + native |
Added: svn:keywords |
2 | 17 | + Id |