Roan Kattouw [Thu, 25 Jun 2009 11:00:19 +0000 (11:00 +0000)]
Prevent showTocToggle() from inserting the show/hide link twice
Raimond Spekking [Thu, 25 Jun 2009 08:33:15 +0000 (08:33 +0000)]
Wrap some more elements into divs
Huji [Thu, 25 Jun 2009 07:09:09 +0000 (07:09 +0000)]
Localisation updates: Similar phrases translated similarly.
Niklas Laxström [Thu, 25 Jun 2009 05:38:54 +0000 (05:38 +0000)]
Protect with newlines to prevent unexpected behaviour
Chad Horohoe [Thu, 25 Jun 2009 00:41:29 +0000 (00:41 +0000)]
(bug 17804) Make EmailNotification members protected
Chad Horohoe [Thu, 25 Jun 2009 00:40:12 +0000 (00:40 +0000)]
* Move lock()/unlock() to DatabaseMysql, declare abstract
* Introduce lockTables() and unlockTables(), define in DatabaseMysql
* (bug 19372) updateSearchIndex has MySQLisms.
Chad Horohoe [Thu, 25 Jun 2009 00:00:51 +0000 (00:00 +0000)]
Followup to r52379: Also remove var declarations.
Chad Horohoe [Wed, 24 Jun 2009 23:28:16 +0000 (23:28 +0000)]
(bug 19382) Remove useless tabs from header variables. Patch by GreenReaper.
Aryeh Gregor [Wed, 24 Jun 2009 22:02:52 +0000 (22:02 +0000)]
Remove useless HTML comment
Trevor Parscal [Wed, 24 Jun 2009 21:48:00 +0000 (21:48 +0000)]
Added IE only behavior for hover effect
Trevor Parscal [Wed, 24 Jun 2009 21:43:36 +0000 (21:43 +0000)]
RTL fixes. RTL in IE6 is still a disaster.
Trevor Parscal [Wed, 24 Jun 2009 20:51:57 +0000 (20:51 +0000)]
Massive improvements towards IE6 compatibility, but not quite back to normal yet - and more testing needs to happen on other browsers as well.
Siebrand Mazeland [Wed, 24 Jun 2009 17:06:45 +0000 (17:06 +0000)]
Rebuild MessagesEn.php
Raimond Spekking [Wed, 24 Jun 2009 17:02:05 +0000 (17:02 +0000)]
Follow-up r52361: Add new message to maintenance file and set it to ignore for translatewiki
Brion Vibber [Wed, 24 Jun 2009 16:49:28 +0000 (16:49 +0000)]
Prepping for site default overrides of copyright/TOS statements for Wikimedia
sites with updated CC-BY-SA license... Messages now available in
WikimediaMessages extension for localization:
* wikimedia-copyright - page footer
* wikimedia-copyrightwarning - edit page, above summary/save button
* wikimedia-editpage-tos-summary - edit page, below summary/save button & above edittools
Initial English defaults are taken from
http://meta.wikimedia.org/wiki/Licensing_update/Implementation
Ariel's search for other copyright-related messages looks fairly clean,
so we should be good here for now as $wgRightsText/$wgRightsUrl are
already updated.
Messages are overridden using new hooks, which can also be used to switch the
messages based on title or namespace -- this may be desirable for sites such
as mediawiki.org which keep some namespaces PD etc.
Use of the overridden messages by WikimediaMessages is switched in when
$wgRightsUrl is set to 'http://creativecommons.org/licenses/by-sa/3.0/'
Brion Vibber [Wed, 24 Jun 2009 02:49:24 +0000 (02:49 +0000)]
Revert r52336 "Merge maintenance-work branch:"
Seems to have broken a bunch of stuff. Don't commit giant non-critical changes that break Setup.php and all maint scripts. Thanks!
Brion Vibber [Wed, 24 Jun 2009 02:27:51 +0000 (02:27 +0000)]
* (bug 8445) Multiple-character search terms are now handled properly for Chinese
Big fixup for Chinese word breaks and variant conversions in the MySQL search backend...
- removed redunant variant terms for Chinese, which forces all search indexing to canonical zh-hans
- added parens to properly group variants for languages such as Serbian which do need them at search time
- added quotes to properly group multi-word terms coming out of stripForSearch, as for Chinese where we segment up the characters. This is based on Language::hasWordBreaks() check.
- also cleaned up LanguageZh_hans::stripForSearch() to just do segmentation and pass on the Unicode stripping to the base Language implementation, avoiding scary code duplication. Segmentation was already pulled up to LanguageZh, but was being run again at the second level. :P
- made a fix to Chinese word segmentation to handle the case where a Han character is followed by a Latin char or numeral; a space is now added after as well. Spaces are then normalized for prettiness.
Chad Horohoe [Wed, 24 Jun 2009 02:02:37 +0000 (02:02 +0000)]
Merge maintenance-work branch:
* (bug 16322) Allow maint scripts to accept DB user/pass over input or params if no AdminSettings.php
* (bug 18768) Remove AdminSettings.php from MediaWiki core
* (bug 19157) createAndPromote error on bad password
* (bug 14201) Create AdminSettings.php during wiki installation, in the same way as LocalSettings.php
* Introduce new Maintenance class framework and port a good number of scripts over; the ones that are left are a little more complicated. Read the docs.
* Not deleting "unused" files yet, don't want to break everything at once :)
Ryan Schmidt [Wed, 24 Jun 2009 00:37:44 +0000 (00:37 +0000)]
* follow-up to r52301: make it more clear what this loop is trying to accomplish (per suggestion by werdna on IRC).
Trevor Parscal [Tue, 23 Jun 2009 22:30:50 +0000 (22:30 +0000)]
Added optional parameter to fixalpha to support using it with skins which have different ID naming schemes
Brion Vibber [Tue, 23 Jun 2009 22:27:08 +0000 (22:27 +0000)]
Add some more doc comment for $wgHTTPProxy
Andrew Garrett [Tue, 23 Jun 2009 21:52:39 +0000 (21:52 +0000)]
Core changes for r52307
Siebrand Mazeland [Tue, 23 Jun 2009 21:40:25 +0000 (21:40 +0000)]
Localisation updates for core messages from translatewiki.net (2009-06-23 21:35 UTC)
Brion Vibber [Tue, 23 Jun 2009 19:14:31 +0000 (19:14 +0000)]
Restore r52293 zh l10n fix for bug 18403 which was mistakenly reverted in r52303.
Diagram to explain the issue at http://bug-attachment.wikimedia.org/attachment.cgi?id=6257 since discussion on bug was wayyy offtopic and people seemed confused about what was at issue.
Shinjiman [Tue, 23 Jun 2009 05:59:56 +0000 (05:59 +0000)]
Localisation updates Chinese
reverting per bug 18403 comment 1
Ryan Schmidt [Tue, 23 Jun 2009 02:03:47 +0000 (02:03 +0000)]
* Revert r52201, but modify the shortcut code so that it properly detects "public" wikis
Brion Vibber [Tue, 23 Jun 2009 01:37:00 +0000 (01:37 +0000)]
Reverting r51209 -- change to German number formatting per bug 18957.
Apparently there is wild disagreement on what the proper formatting is; since no one complained in the previous 8 years I'm returning it to the status quo.
Brion Vibber [Tue, 23 Jun 2009 01:18:15 +0000 (01:18 +0000)]
* bug 19219: fix style regression caused by mistaken cleanup in r51081
Raimond Spekking [Mon, 22 Jun 2009 18:15:49 +0000 (18:15 +0000)]
Localisation updates for core messages from translatewiki.net (2009-06-22 18:07 UTC)
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.