Siebrand Mazeland
3d4fd708bb
ContributionScores extension maintenance.
...
* Reduce usage of globals.
* Use Message class where possible.
* Update .gitignore.
* Broke some long lines.
* Updated documentation for a method.
Change-Id: Ic4c49dbcdabce2667ab140321d8618f62fe72fe8
2012-08-16 14:19:19 +02:00
Siebrand Mazeland
eba2b50ad9
Fix typo in r108127.
2012-01-05 09:49:29 +00:00
Siebrand Mazeland
eeec962440
stylize.php.
2012-01-05 09:45:01 +00:00
Siebrand Mazeland
7467195055
* format number output of cscore parser function.
...
* add $wgContribScoresUseRealName to allow display of real user names per request[1]. Requires MediaWiki 1.19 alpha r108126.
* remove trailing whitespace.
[1] https://www.mediawiki.org/wiki/Thread:Extension_talk:Contribution_Scores/Show_real_name_or_e-mail_instead_of_username%3F
2012-01-05 09:43:51 +00:00
Siebrand Mazeland
f1e3ad6c82
Minor refactoring:
...
* remove unused constant CONTRIBUTIONSCORES_EXTPATH
* replace CONTRIBUTIONSCORES_PATH constant by more often used $dir
* remove superfluous getDescription()
* remove use of some unneeded/unused globals
* use Html functions instead of raw HTML in some cases.
2012-01-05 09:04:02 +00:00
Robin Pepermans
97aec9cf50
follow-up 104454: use list()
2011-12-04 13:20:26 +00:00
Robin Pepermans
1b8b66610a
Per r104454#c26637, it's possible to use a localized number in PLURAL
2011-11-28 16:52:50 +00:00
Robin Pepermans
21da2d00f6
* Improve i18n (use formatNum for all numbers, add dir & lang attribute)
...
* Change td to th elements for titles (this also makes the sort script work again)
* General whitespace fixes
2011-11-28 16:34:58 +00:00
Alexandre Emsenhuber
328d8efbec
No need to disable cache; already done when including special page in Parser::braceSubstitution()
2011-02-04 16:34:26 +00:00
Sam Reed
0e15fc841d
Another big cull on unused variables and such
2010-10-29 21:55:29 +00:00
Sam Reed
fe3076c95a
Conditionals in loops to foreachs
2010-10-29 21:30:20 +00:00
Niklas Laxström
2aacf652ee
Fix strict warning and small cleanups
2010-09-11 14:31:16 +00:00
Siebrand Mazeland
95b7db0f4f
Remove version checks for some outdated versions of MediaWiki (1.11 and earlier).
2010-08-06 23:40:27 +00:00
Alexandre Emsenhuber
89cc7faabc
Big changes to extensions' documentation:
...
* changed all @addtogroup to @ingroup
* added some @file where needed
* changed some @package/@subpackage to @ingroup
2010-06-06 15:12:22 +00:00
Chad Horohoe
8b73cd1511
Revert r66934 (Removing wfLoadExtensionMessages() from everything). I disagree on principle...we branch extensions for this very reason. But people want trunk extensions compatible for several versions back, meh.
2010-05-27 15:56:53 +00:00
Chad Horohoe
0905e4bbe2
Large commit. Removed 800+ references to no-op wfLoadExtensionMessages()
2010-05-26 22:25:32 +00:00
Raimond Spekking
ce236a4ae9
Enable PLURAL
2009-04-14 18:46:43 +00:00
Siebrand Mazeland
5007b543b0
Consistent casing for addHTML()
2008-11-06 22:20:29 +00:00
Tim Laqua
1cd4e250f9
Unbreaking stuff that previous commit broke
2008-05-16 01:59:42 +00:00
Tim Laqua
86c3ce39b1
Added #cscore parser function for grabbing user's contribution score, changes, and pages
2008-05-16 01:51:28 +00:00
Tim Laqua
2e2162fdbc
* Added wg prefix to globals
...
* Added $wgContribScoreIgnoreBlockedUsers option
2008-04-17 17:31:22 +00:00
Tim Laqua
626f074f26
* Fixed issue w/ styling when nosort is present
2008-04-14 17:43:07 +00:00
Tim Laqua
b003197ddb
* v1.8
...
* Removed most custom CSS classes
* Now uses .even and .odd CSS classes from sortable JS voodoo when the sortable class is present
* Removed .css file - instead force custom definition in MediaWiki:Common.css
2008-04-14 17:22:51 +00:00
Niklas Laxström
13be088266
* Proper escaping, some whitespace
2007-12-20 22:37:18 +00:00
Tim Laqua
47769a7f1c
* Fixing bug where the lowest contributors were shown - not the highest (oops)
...
* Sorting sub-queries DESC
2007-12-19 17:23:43 +00:00
Tim Laqua
d20ca5c22d
* Added notools option to showInclude
...
* Added nosort option to showInclude
* Optimized crazy SQL query - 84% faster on a small wiki (~32000 revisions)
* Added more CSS classes
2007-12-19 15:45:09 +00:00
Tim Laqua
2832bc3292
Only hooking BeforePageDisplay when special page is executed - no reason to include CSS otherwise.
2007-12-19 02:15:35 +00:00
Tim Laqua
d3a22c5785
* Made special page includable
...
* Added CSS classes for table styling
2007-12-19 01:24:52 +00:00
Tim Laqua
c0ecabe029
Changing version check for wfLoadExtensionMessages() from 1.12alpha to 1.11.
2007-11-28 14:28:20 +00:00
Tim Laqua
546788ae96
Adding backwards compatibility f/ message cache population.
2007-11-27 20:29:24 +00:00
Siebrand Mazeland
297fcb68a4
Use time() instead of mktime() preventing a 'PHP Strict Standards' notice
2007-11-27 13:56:23 +00:00
Siebrand Mazeland
837816d6f2
* Fix 'Non-static method ContributionScores::loadMessages() cannot be called statically'
...
* Using $wgExtensionMessagesFiles now
* Added 4 messages
* update indentation and such
2007-11-27 13:38:37 +00:00
Tim Laqua
8ab9039e26
Added plainlinks class to report tables for suppression of the lock icon over SSL connections.
2007-09-02 22:32:07 +00:00
Tim Laqua
a4fb8b70fe
Changed from wfMsgForContent to wfMsg to allow user pref. localization. Added Spanish messages (translation by EmuAGR)
2007-09-02 19:15:33 +00:00
Tim Laqua
7a7bf240c0
Fixed i18n files, switched over to utilize abstraction layer f/ messages, etc, etc. + Doxygen comments.
2007-08-26 14:39:17 +00:00
Tim Laqua
d9d0690dea
More postgres issues
2007-08-23 15:48:44 +00:00
Tim Laqua
09501957b4
Removed unused vars.
2007-08-23 15:41:17 +00:00
Tim Laqua
da90007ce8
Switched to compatible $dbr->timestamp() call rather than silly date() call for timestamps - should support Postgres now.
2007-08-22 20:51:16 +00:00
Tim Laqua
43b2ca821a
Uploading more extensions
2007-08-22 19:25:22 +00:00