Andrew Garrett [Mon, 22 Jun 2009 16:26:26 +0000 (16:26 +0000)]
Move TablePager code from main.css to shared.css
Tim Starling [Mon, 22 Jun 2009 06:41:48 +0000 (06:41 +0000)]
Optimised the CDB hash function, now roughly twice as fast for large strings. Most of the saving came from removing the function calls. Retested.
Shinjiman [Mon, 22 Jun 2009 03:50:54 +0000 (03:50 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Aaron Schulz [Mon, 22 Jun 2009 03:06:04 +0000 (03:06 +0000)]
Fix bogus var reference
Aaron Schulz [Mon, 22 Jun 2009 00:59:17 +0000 (00:59 +0000)]
bug 19305 rev_deleted link consistency (greyed-out)
Aaron Schulz [Mon, 22 Jun 2009 00:47:23 +0000 (00:47 +0000)]
Double check against user table to make sure the user exists
Siebrand Mazeland [Sun, 21 Jun 2009 23:08:40 +0000 (23:08 +0000)]
Localisation updates for namespaces from translatewiki.net
Siebrand Mazeland [Sun, 21 Jun 2009 22:59:17 +0000 (22:59 +0000)]
Localisation updates for core magic words from translatewiki.net
Siebrand Mazeland [Sun, 21 Jun 2009 22:53:42 +0000 (22:53 +0000)]
Localisation updates for core special page aliases from translatewiki.net
Siebrand Mazeland [Sun, 21 Jun 2009 22:41:34 +0000 (22:41 +0000)]
Localisation updates for core messages from translatewiki.net (2009-06-21 22:34 UTC)
Robert Stojnić [Sun, 21 Jun 2009 22:15:39 +0000 (22:15 +0000)]
Follow-up for r52261, some in-progress stuff sneaked in.
Robert Stojnić [Sun, 21 Jun 2009 22:12:10 +0000 (22:12 +0000)]
Preserve formatting even when create article link is absent
Siebrand Mazeland [Sun, 21 Jun 2009 21:13:35 +0000 (21:13 +0000)]
Allow use of GENDER in 'activeusers-count'
Siebrand Mazeland [Sun, 21 Jun 2009 18:50:45 +0000 (18:50 +0000)]
Allow use of GENDER in 'listusers-blocked'
Jack Phoenix [Sun, 21 Jun 2009 18:26:29 +0000 (18:26 +0000)]
coding style tweaks
Roan Kattouw [Sun, 21 Jun 2009 14:29:32 +0000 (14:29 +0000)]
API: Make usage of the parser cache in action=parse actually work; was broken since its introduction
Jack Phoenix [Sun, 21 Jun 2009 14:16:11 +0000 (14:16 +0000)]
coding style tweaks
Roan Kattouw [Sun, 21 Jun 2009 12:52:24 +0000 (12:52 +0000)]
(bug 19323) Calls to recursiveTagParse() overwrite ParserOptions::$mSections, causing the real section tree to be overwritten in some cases
Alexandre Emsenhuber [Sun, 21 Jun 2009 11:16:15 +0000 (11:16 +0000)]
svn:eol-style
Roan Kattouw [Sun, 21 Jun 2009 09:49:52 +0000 (09:49 +0000)]
API: (bug 19313) action=rollback returns wrong revid on master/slave setups
Rotem Liss [Sun, 21 Jun 2009 06:40:14 +0000 (06:40 +0000)]
Localization update.
Aaron Schulz [Sun, 21 Jun 2009 03:26:05 +0000 (03:26 +0000)]
Missing file commit from r52226
Siebrand Mazeland [Sat, 20 Jun 2009 23:57:12 +0000 (23:57 +0000)]
Follow-up to r52226.
* add special page alias
* put messages in own section
* update messages.inc and messageTypes.inc
Aaron Schulz [Sat, 20 Jun 2009 23:42:35 +0000 (23:42 +0000)]
Added activeuser list (bug 15456) (indexes should be there now)
Siebrand Mazeland [Sat, 20 Jun 2009 22:34:02 +0000 (22:34 +0000)]
Localisation updates for core messages from translatewiki.net (2009-06-20 22:18 UTC)
Roan Kattouw [Sat, 20 Jun 2009 21:47:10 +0000 (21:47 +0000)]
Core changes for NavigableTOC extension:
* Add TOC HTML to ParserOutput
* Add class tocsection-$section to <li> elements in the TOC representing sections in the current page (as opposed to transcluded sections)
Roan Kattouw [Sat, 20 Jun 2009 18:25:30 +0000 (18:25 +0000)]
Add 'index', 'fromtitle', and 'byteoffset' fields to ParserOutput::getSections(). This makes these fields available through the API with action=parse&prop=sections . Also, the byte offset will be needed by the new NavigableTOC extension.
Siebrand Mazeland [Sat, 20 Jun 2009 18:14:36 +0000 (18:14 +0000)]
Localise special page names in fullurl
Raimond Spekking [Sat, 20 Jun 2009 16:52:27 +0000 (16:52 +0000)]
Fix log type and name in revdeleted messages: suppressions are stored in the suppression log, not the deletion log.
Tim Starling [Sat, 20 Jun 2009 15:59:56 +0000 (15:59 +0000)]
Added PHP port of CDB, with abstraction layer. Tested for correctness with a differential fuzz tester, not yet benchmarked. The idea is to open up new applications for CDB, and benefit both shell and shared hosting users.
Ported existing uses of CDB to the new abstraction layer.
Ryan Schmidt [Sat, 20 Jun 2009 14:37:42 +0000 (14:37 +0000)]
* Remove "shortcut" in Title::userCanRead, it prevents $wgRevokePermissions and extensions not using the userCan hook from restricting read access on the wiki if anon reading is allowed.
Siebrand Mazeland [Sat, 20 Jun 2009 14:23:09 +0000 (14:23 +0000)]
Localise Special:UserLogin in URL in 'prefsnologintext'
Siebrand Mazeland [Sat, 20 Jun 2009 09:21:33 +0000 (09:21 +0000)]
Suppress display of duplicate getCategoryBottom() if there are no category members to display.
Cannot know if completely suppressing this is possible (and show 'category-empty'), because 'until' or 'from' can be set and previous/next *may* give results). Adding a FIXME for that.
Siebrand Mazeland [Sat, 20 Jun 2009 09:03:35 +0000 (09:03 +0000)]
Make paging links on category pages known. This allows more comfortable browsing, even if the category does not exist.
Niklas Laxström [Sat, 20 Jun 2009 08:59:36 +0000 (08:59 +0000)]
* Remove code duplication
Roan Kattouw [Sat, 20 Jun 2009 08:10:30 +0000 (08:10 +0000)]
API: Return HTTP 503 status code on maxlag error, like index.php does
Niklas Laxström [Sat, 20 Jun 2009 06:41:59 +0000 (06:41 +0000)]
Reimplement r49941 as an overridable method, as suggested by Tim (hiding navigation bar when all results are shown)
Philip Tzou [Sat, 20 Jun 2009 01:48:28 +0000 (01:48 +0000)]
Update the Chinese conversion tables.
Chad Horohoe [Fri, 19 Jun 2009 23:46:33 +0000 (23:46 +0000)]
Refactor Blankpage to subclass SpecialPage like a normal special page. :)
Aryeh Gregor [Fri, 19 Jun 2009 22:57:24 +0000 (22:57 +0000)]
Improve RELEASE-NOTES wording from r52082
Siebrand Mazeland [Fri, 19 Jun 2009 22:36:36 +0000 (22:36 +0000)]
Localisation updates for core messages from translatewiki.net (2009-06-19 21:51 UTC)
Siebrand Mazeland [Fri, 19 Jun 2009 22:32:46 +0000 (22:32 +0000)]
Add missing message (r52083)
Siebrand Mazeland [Fri, 19 Jun 2009 19:30:55 +0000 (19:30 +0000)]
Follow-up to r51579: fix copy paste error (time->date) per CR
Niklas Laxström [Fri, 19 Jun 2009 19:29:30 +0000 (19:29 +0000)]
* (bug 19294) Always show Sp-contributions-footer(-anon)
Trevor Parscal [Fri, 19 Jun 2009 19:20:34 +0000 (19:20 +0000)]
Fixed printing bugs
Trevor Parscal [Fri, 19 Jun 2009 18:59:13 +0000 (18:59 +0000)]
Reduced padding above first heading
Raimond Spekking [Fri, 19 Jun 2009 14:42:43 +0000 (14:42 +0000)]
Add heading of the deletion log on the 'delete' form for consistency with 'move' and 'protect' forms
ThomasV [Fri, 19 Jun 2009 09:51:40 +0000 (09:51 +0000)]
encode string to utf8 before converting to xml
Niklas Laxström [Fri, 19 Jun 2009 08:52:17 +0000 (08:52 +0000)]
* (bug 19286) Correct commafying function in Polish (pl)
Roan Kattouw [Fri, 19 Jun 2009 08:03:52 +0000 (08:03 +0000)]
API: (bug 14200) Add user and excludeuser to list=recentchanges and list=watchlist. Requires the rc_user_text index, which was finally added on all servers with the recent schema changes.
Shinjiman [Fri, 19 Jun 2009 05:44:09 +0000 (05:44 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Tim Starling [Fri, 19 Jun 2009 03:27:04 +0000 (03:27 +0000)]
Fix fatal error. Logged on WM but exact cause uncertain.
Andrew Garrett [Thu, 18 Jun 2009 20:59:51 +0000 (20:59 +0000)]
Revert half-done refactoring committed in r52143
Andrew Garrett [Thu, 18 Jun 2009 20:57:30 +0000 (20:57 +0000)]
* Allow archivestartdays to be configured per-page with a parser function.
Andrew Garrett [Thu, 18 Jun 2009 20:51:48 +0000 (20:51 +0000)]
Documentation I added while trying to figure out doBlockLevels, might be useful to others
Siebrand Mazeland [Thu, 18 Jun 2009 17:55:25 +0000 (17:55 +0000)]
Minot tweak for 'allmessagesdefault' and 'allmessagescurrent'
Andrew Garrett [Thu, 18 Jun 2009 17:41:33 +0000 (17:41 +0000)]
Add quoting functionality to LQT reply view
Trevor Parscal [Thu, 18 Jun 2009 17:30:03 +0000 (17:30 +0000)]
Fixed prefs tab alignment bug
Trevor Parscal [Thu, 18 Jun 2009 17:24:00 +0000 (17:24 +0000)]
Adjusted sidebar spacing
Ryan Schmidt [Thu, 18 Jun 2009 14:47:18 +0000 (14:47 +0000)]
* Remove the two hooks introduced in r52082
* Remove the unused UserrightsChangeableGroups hook introduced in r39368 (1.14)
* Fix typo in Special:ListGroupRights introduced in r52083
* Prevent duplicate key display in Special:ListGroupRights (new behavior: if a permission is both assigned and revoked from a group, it only displays as revoked).
* Fix $wgRevokePermissions handling, it now runs after every group permission has been assigned in order to revoke the permission properly.
Tim Starling [Thu, 18 Jun 2009 14:02:55 +0000 (14:02 +0000)]
Fix typo in r52082
Shinjiman [Thu, 18 Jun 2009 12:43:36 +0000 (12:43 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Siebrand Mazeland [Thu, 18 Jun 2009 09:45:36 +0000 (09:45 +0000)]
Remove translations of optional 'listgrouprights-right-display' that are the same as in MessagesEn.php
Roan Kattouw [Thu, 18 Jun 2009 08:59:54 +0000 (08:59 +0000)]
API: (bug 19271) list=usercontribs reported all pre-April 2008 revisions as new
Huji [Thu, 18 Jun 2009 08:38:15 +0000 (08:38 +0000)]
Localisation updates: Adding/updating Persian translations
Huji [Thu, 18 Jun 2009 08:37:57 +0000 (08:37 +0000)]
'listgrouprights-key' is added in MessagesEn.php but not in messages.inc
Huji [Thu, 18 Jun 2009 08:36:00 +0000 (08:36 +0000)]
'listgrouprights-right-revoked' is described as optional in MessagesEn.php but messageTypes.inc is not updated accordingly.
Tim Starling [Thu, 18 Jun 2009 04:58:43 +0000 (04:58 +0000)]
Fix typo in filename
Ryan Schmidt [Thu, 18 Jun 2009 03:38:01 +0000 (03:38 +0000)]
* Fix typo in RELEASE-NOTES introduced in r52083: meant $wgRevokePermissions, not $wgRemoveGroups
Ryan Schmidt [Thu, 18 Jun 2009 02:50:16 +0000 (02:50 +0000)]
* Add autopromote condition APCOND_BLOCKED to autopromote blocked users to various user groups.
* Add $wgRemoveGroups as a means of restricting a group's rights. The syntax is identical to $wgGroupPermissions, but users in these groups will have these rights stripped from them.
* Modify Special:ListGroupRights so that it displays revoked permissions as well (the display of assigned vs. revoked is changeable via css).
* Bump $wgStyleVersion
Ryan Schmidt [Thu, 18 Jun 2009 02:13:42 +0000 (02:13 +0000)]
* (bug 17014) Blocked users can no longer use Special:UserRights if they do
not have the 'userrights' permission.
* Add hook 'UserrightsGetCheckboxes' to give extensions the ability to modify
the arrangement of checkboxes on the Special:UserRights form
* Add hook 'UserrightsSaveUserGroups' to give extensions the ability to modify
the groups being added and removed last-minute.
Aaron Schulz [Wed, 17 Jun 2009 21:11:29 +0000 (21:11 +0000)]
(bug 19214) Make sure new pages have page ID cached for getTitle()
Andrew Garrett [Wed, 17 Jun 2009 20:18:37 +0000 (20:18 +0000)]
Add classes to tag markers on recentchanges
Andrew Garrett [Wed, 17 Jun 2009 19:08:14 +0000 (19:08 +0000)]
Fix for string/int inconsistency in value and option for imagesize, resulting in unintended preference reversion.
Trevor Parscal [Wed, 17 Jun 2009 19:02:09 +0000 (19:02 +0000)]
Some more CSS tweaks
Trevor Parscal [Wed, 17 Jun 2009 19:00:45 +0000 (19:00 +0000)]
Some CSS fixes to avoid overriding where it shouldn't be
Siebrand Mazeland [Wed, 17 Jun 2009 18:51:32 +0000 (18:51 +0000)]
Localisation updates for core messages from translatewiki.net (2009-06-17 18:28 UTC)
Trevor Parscal [Wed, 17 Jun 2009 18:35:18 +0000 (18:35 +0000)]
Some small CSS tweaks to preferences
Raimond Spekking [Wed, 17 Jun 2009 18:23:36 +0000 (18:23 +0000)]
* Show user preference 'Use live preview' if $wgLivePreview is enabled only
Trevor Parscal [Wed, 17 Jun 2009 18:06:17 +0000 (18:06 +0000)]
Some small CSS tweaks
Raimond Spekking [Wed, 17 Jun 2009 18:05:03 +0000 (18:05 +0000)]
* Add class=wikitable to some tables on specialpages for better styling consistency
* Remove CSS definitions for these tables as far as possible
Roan Kattouw [Wed, 17 Jun 2009 17:20:01 +0000 (17:20 +0000)]
Moving ConfEditor class from switch-master to core
Rotem Liss [Wed, 17 Jun 2009 17:10:10 +0000 (17:10 +0000)]
Localization update for he.
ThomasV [Wed, 17 Jun 2009 17:02:39 +0000 (17:02 +0000)]
fix regexp : oddly, the margin value may be negative
Roan Kattouw [Wed, 17 Jun 2009 11:01:11 +0000 (11:01 +0000)]
Self-revert r52011 per CR comments
Tim Starling [Wed, 17 Jun 2009 09:39:13 +0000 (09:39 +0000)]
Fix another screwup from r52024, same issue as r52028.
Tim Starling [Wed, 17 Jun 2009 09:06:12 +0000 (09:06 +0000)]
Update $wgStyleVersion for r52017/r52029
Tim Starling [Wed, 17 Jun 2009 08:58:49 +0000 (08:58 +0000)]
Fix for r52017: use hyphens not underscores in CSS classes.
Tim Starling [Wed, 17 Jun 2009 08:18:10 +0000 (08:18 +0000)]
Fix incorrect method call from r52024.
ThomasV [Wed, 17 Jun 2009 07:48:50 +0000 (07:48 +0000)]
fix regexp
Tim Starling [Wed, 17 Jun 2009 07:31:00 +0000 (07:31 +0000)]
Bug 19240 (bad image list performance regression):
* Don't connect to the commons DB on cache hits, in order to determine the cache key name. Removed remnants of that bright idea from GlobalFunctions.php.
* Fixed total failure of negative caching in checkRedirect() due to memcached stripping trailing spaces from string values. Probably never worked.
Also:
* Respect hasSharedCache in foreign repos. Recently-added code was apparently ignorant of this setting.
* Renamed getMemcKey() to getSharedCacheKey() to make its function more clear, introduced getLocalCacheKey() to do the other thing. Fixed its parameters to be like wfMemcKey() and used it in more places.
* Used getLocalCacheKey() in various places instead of wfMemc(), to avoid having multiple repositories overwrite each others' caches.
* Fixed the BagOStuff bug that the FIXME in LocalRepo::checkRedirect() appears to refer to.
* Removed getMasterDB() and getSlaveDB() from FileRepo, it's incorrect to assume that a repo other than a LocalRepo has an associated database.
* Made FileRepo::invalidateImageRedirect() a stub, to match FileRepo::checkRedirect(). Moved the functionality to LocalRepo where checkRedirect() is concretely implemented.
Alex Z [Wed, 17 Jun 2009 06:59:27 +0000 (06:59 +0000)]
Partial fix for bug 19236 - the array you want to override others should come last in array_merge().
This fixes the "next" links, limit links, and filters. The "previous" links are still broken.
Niklas Laxström [Wed, 17 Jun 2009 06:23:07 +0000 (06:23 +0000)]
Use addWikiMsg or wrapWikiMsg
Remember the dot [Wed, 17 Jun 2009 04:28:42 +0000 (04:28 +0000)]
Follow-up to r52017: corrected documentation
Remember the dot [Wed, 17 Jun 2009 04:26:06 +0000 (04:26 +0000)]
Follow-up to r49331: Moved decapitalization code to "a Messages*.php property, a <body>
class and a descendant selector, like we do for RTL", as requested by Tim Starling in r51924
Roan Kattouw [Tue, 16 Jun 2009 22:56:06 +0000 (22:56 +0000)]
Adding wfParsePHP() to GlobalFunctions.php for use in the LocalisationUpdate extension (will update tomorrow).
Aryeh Gregor [Tue, 16 Jun 2009 21:00:38 +0000 (21:00 +0000)]
Abstract more methods in DatabaseBase
Notably, this will switch conditional() in MySQL from using IF() to
using CASE, like all other DBMSes. Documentation suggests this works
back to 4.0. If it's a problem, it's a matter of a few lines to
override it in DatabaseMysql.php.
Also, some extra explanatory comments have been added to a number of
methods in DatabaseBase.
Andrew Garrett [Tue, 16 Jun 2009 20:53:59 +0000 (20:53 +0000)]
* Fix preferences for languages without a "default" entry in the date options.
Alexandre Emsenhuber [Tue, 16 Jun 2009 20:33:37 +0000 (20:33 +0000)]
fix for r51997: user_properties and log_search tables have been added in 1.16
Aryeh Gregor [Tue, 16 Jun 2009 20:22:11 +0000 (20:22 +0000)]
Make some Database methods optional to override
Specifically freeResult(), selectDB(), close(), and ping(), as suggested
by Tim on code review for r51918. Where these were overridden by stubs
in subclasses, I deleted the stubs.