Commit graph

46 commits

Author SHA1 Message Date
libraryupgrader
5f36ec60c7 build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
Change-Id: I90d2696ee78e6647bdc034c55fcab5896ea76f3d
2017-09-24 05:22:25 +00:00
Siebrand Mazeland
66cf8c80f0 Updates for CodeSniffer and other tests
Change-Id: Ief70f6b82ed9c10d658eaeb980b0a4e780de9ac2
2016-02-27 21:12:58 +01:00
Umherirrender
56f21a2611 Fix phpcs error
Found by tests:
https://integration.wikimedia.org/ci/job/php-composer-test/19332/console

Change-Id: I05dee486e93b9dbf2bc117fb6a48cc00a08c102d
2015-11-05 21:13:16 +01:00
Siebrand Mazeland
e4cb919476 Add tests
Fix all issues so tests pass.

Change-Id: I8a059c26d16944d4ddfb56959617fb73887e7b6a
2015-10-03 16:37:02 +01:00
umherirrender
3f11979c0c Replace deprecated $wgSpecialPageGroups
$wgSpecialPageGroups is deprecated since 1.21
override SpecialPage::getGroupName instead

Change-Id: Ia83d3bc0e39bf5d9ea49969c495b81b522e876db
2015-06-24 20:44:28 +02:00
Matt Smith
80f0175726 Added rank column
Change-Id: If4da3aedb2a472150a93385bf2d349d16812603d
2013-09-24 16:46:23 -07:00
Siebrand Mazeland
7354e142d2 Update HTML5 compliance.
Also moved $lang assignment out of loop and escaped language code.

Change-Id: I1df4e5c71a4ed161bdacddd7eb45c23963eb04ea
2012-10-23 14:09:05 +02:00
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