Alexandre Emsenhuber [Thu, 2 Oct 2008 18:19:22 +0000 (18:19 +0000)]
Custom error message from the AbortMove hook is now passed in the same array as the hookaborted message
Siebrand Mazeland [Thu, 2 Oct 2008 17:56:38 +0000 (17:56 +0000)]
Localisation updates for core messages from Betawiki (2008-10-02 19:53 CEST)
Siebrand Mazeland [Thu, 2 Oct 2008 17:31:43 +0000 (17:31 +0000)]
Here we go again, this time for 'blocklist-nousertalk'
Bryan Tong Minh [Thu, 2 Oct 2008 17:30:04 +0000 (17:30 +0000)]
Classes derived from SpecialPage can now specify a run() method, which will be executed after all magic performed by SpecialPage::execute().
Just because copying code to subclasses is annoying.
Matt Johnston [Thu, 2 Oct 2008 09:34:29 +0000 (09:34 +0000)]
(bug 8440) Add API support for new blocking flag, also fix defaults so anywhere else we use an IPBlockForm it'll use a more sensible default.
Matt Johnston [Thu, 2 Oct 2008 09:18:50 +0000 (09:18 +0000)]
Fix 41533 - Update message name to be more descriptive
Siebrand Mazeland [Thu, 2 Oct 2008 08:51:56 +0000 (08:51 +0000)]
Update RELEASE-NOTES for r41465
Matt Johnston [Thu, 2 Oct 2008 08:41:10 +0000 (08:41 +0000)]
(bug 8440) Fix ipblocklist to show new allow usertalk flag.
Tim Starling [Thu, 2 Oct 2008 06:32:14 +0000 (06:32 +0000)]
* Concept for diff-based compression using the new xdiff beta. Acheives massively better compression ratio compared to CGZ for articles which are larger than the deflate 32 KB sliding window. Works within the HistoryBlob architecture.
* Fixed documentation in HistoryBlob.php, removed "todo document" for methods that are adequately documented in the interface.
* Added testCompression.php for testing concatenated object compression ratio
Aaron Schulz [Thu, 2 Oct 2008 01:12:07 +0000 (01:12 +0000)]
* Pull isLocked() and isHidden() up to User using callbacks
* Add quick globalblock check function to User
* Add 'locked'/'globally blocked' notices to checkuser (bug 15272) (bug 15792)
Siebrand Mazeland [Wed, 1 Oct 2008 22:32:35 +0000 (22:32 +0000)]
Localisation updates for core messages from Betawiki (2008-10-02 00:24 CEST)
Ilmari Karonen [Wed, 1 Oct 2008 21:38:13 +0000 (21:38 +0000)]
Make the API maxlag check send the same "Retry-After" and "X-Database-Lag" headers as wfMaxlagError() does.
The HTTP status code is still different, I can see arguments for having it either way.
Rotem Liss [Wed, 1 Oct 2008 18:28:34 +0000 (18:28 +0000)]
Localization update.
Brion Vibber [Wed, 1 Oct 2008 16:59:51 +0000 (16:59 +0000)]
Reverting r41410 -- broke interwikis totally in parser tests.
4 previously passing test(s) now FAILING! :(
* Inline interwiki link [Introduced between 30-Sep-2008 00:18:19, 1.14alpha (r41405) and 01-Oct-2008 16:31:38, 1.14alpha (r41504)]
* Inline interwiki link with empty title (bug 2372) [Introduced between 30-Sep-2008 00:18:19, 1.14alpha (r41405) and 01-Oct-2008 16:31:38, 1.14alpha (r41504)]
* Interwiki link encoding conversion (bug 1636) [Introduced between 30-Sep-2008 00:18:19, 1.14alpha (r41405) and 01-Oct-2008 16:31:38, 1.14alpha (r41504)]
* Interwiki link with fragment (bug 2130) [Introduced between 30-Sep-2008 00:18:19, 1.14alpha (r41405) and 01-Oct-2008 16:31:38, 1.14alpha (r41504)]
Alexandre Emsenhuber [Wed, 1 Oct 2008 16:39:05 +0000 (16:39 +0000)]
Allow to specify per connection table prefix
Huji [Wed, 1 Oct 2008 11:58:10 +0000 (11:58 +0000)]
Localisation updates: Adding/updating Persian translations
Matt Johnston [Wed, 1 Oct 2008 10:02:44 +0000 (10:02 +0000)]
When there is no title given but a curid parameter is given, use the curid to pick a page. Curid also now has precedence over title when picking a page, which keeps it consistent with oldid.
Siebrand Mazeland [Wed, 1 Oct 2008 09:43:05 +0000 (09:43 +0000)]
Remove "on {{SITENAME}}" for the messages below. Use of {{SITENAME}} can cause issues with languages that use grammar, and in essence it is unnecessary bloat.
* 'feed-unavailable', 'resetpass_forbidden', 'nocreate-loggedin', 'uploaddisabledtext', 'filedelete-nofile', 'movenotallowed', 'moverootuserpagesnotallowed'
Siebrand Mazeland [Wed, 1 Oct 2008 08:41:26 +0000 (08:41 +0000)]
Remove 'right-restrict' where present (follow up on r41468). Rotem: you can use "php rebuildLanguage --lang=all" to do it for all languages in future cases.
Rotem Liss [Wed, 1 Oct 2008 08:33:10 +0000 (08:33 +0000)]
Removing right-restrict message: it refers to a right which no longer exists.
Rotem Liss [Wed, 1 Oct 2008 08:30:49 +0000 (08:30 +0000)]
Localization update.
Siebrand Mazeland [Wed, 1 Oct 2008 08:08:35 +0000 (08:08 +0000)]
Fixes for incomplete r41465.
Nicolas Dumazet [Wed, 1 Oct 2008 07:51:05 +0000 (07:51 +0000)]
Adding a new right, move-rootuserpages.
This is a feature request by French crats :
the idea is to prevent users from wrongly attempting to userrename through Special:Movepage/User:xx . When this happens, a 'crat has to revert the move (deleting the redirects, sometimes with a lot of subpages) before being able to rename the user.
Default permission scheme still allows users to move root userpages
Huji [Wed, 1 Oct 2008 06:59:10 +0000 (06:59 +0000)]
Localisation updates: Adding/updating Persian translations
Matt Johnston [Tue, 30 Sep 2008 21:03:38 +0000 (21:03 +0000)]
(bug 15791) Typo in API docs, APIProtect has some remnants of help messages from deletion/restoration.
Siebrand Mazeland [Tue, 30 Sep 2008 20:47:19 +0000 (20:47 +0000)]
Localisation updates for core messages from Betawiki (2008-09-30 22:40 CEST)
Chad Horohoe [Tue, 30 Sep 2008 19:58:56 +0000 (19:58 +0000)]
Add some more debugging goodies to this. $lastCurlErrno and $lastHttpResponse are static members saved with the last returned status codes.
Alex Z [Tue, 30 Sep 2008 19:57:00 +0000 (19:57 +0000)]
(bug 15789) Autoblocks now have the same setting for editing user talk as the original block.
Brion Vibber [Tue, 30 Sep 2008 19:25:04 +0000 (19:25 +0000)]
Curl sanity -- dump non-200 return codes and error numbers to debug log at least, rather than just silently failing.
Alexandre Emsenhuber [Tue, 30 Sep 2008 19:03:22 +0000 (19:03 +0000)]
Tweak for r41431: also use wfMsgExt() in Language::getMessageFromDB()
Alexandre Emsenhuber [Tue, 30 Sep 2008 17:15:11 +0000 (17:15 +0000)]
Fix for r41430: wfMsgExt() now accepts a Language object in the language key of $options
Chad Horohoe [Tue, 30 Sep 2008 16:24:23 +0000 (16:24 +0000)]
* Add $forContent option to Language::commaList
* Add pipeList() for similar lists separated by pipes
* More docs.
Rotem Liss [Tue, 30 Sep 2008 16:08:39 +0000 (16:08 +0000)]
Fixing a function call.
Chad Horohoe [Tue, 30 Sep 2008 15:13:13 +0000 (15:13 +0000)]
Added setVal accessor to $wgRequest->data so we don't have to access it directly. Use this in ApiEditPage.
Chad Horohoe [Tue, 30 Sep 2008 14:05:21 +0000 (14:05 +0000)]
Cleanup for Xml::namespaceSelector():
* Removed useless $hidden param, cleaned up calls that specified it (only 1, and it passed default false)
* Add $label param for easy attachment of labels to the selector.
Aaron Schulz [Tue, 30 Sep 2008 13:36:40 +0000 (13:36 +0000)]
And this was true... *sigh*
Aaron Schulz [Tue, 30 Sep 2008 13:35:15 +0000 (13:35 +0000)]
Revert self - local issue
Aaron Schulz [Tue, 30 Sep 2008 13:31:48 +0000 (13:31 +0000)]
Don't assume edits are bot edits just because there is no 'bot=' url param...
Rotem Liss [Tue, 30 Sep 2008 09:12:43 +0000 (09:12 +0000)]
Localization update.
Tim Starling [Tue, 30 Sep 2008 08:45:52 +0000 (08:45 +0000)]
Hostnames are allowed to have dots in them
Siebrand Mazeland [Tue, 30 Sep 2008 08:32:08 +0000 (08:32 +0000)]
Remove unused message 'loginproblem'
Siebrand Mazeland [Tue, 30 Sep 2008 08:27:18 +0000 (08:27 +0000)]
"external authentication database" -> "authentication database" in 'externaldberror'
Siebrand Mazeland [Tue, 30 Sep 2008 08:06:05 +0000 (08:06 +0000)]
Localisation updates. Remove messages that were removed again in recent reverts.
Rotem Liss [Tue, 30 Sep 2008 07:57:33 +0000 (07:57 +0000)]
Removing message groups too.
Rotem Liss [Tue, 30 Sep 2008 07:56:29 +0000 (07:56 +0000)]
Localization update.
Rotem Liss [Tue, 30 Sep 2008 07:55:52 +0000 (07:55 +0000)]
Localization: Removing reverted messages from he file and from messages.inc.
Matt Johnston [Tue, 30 Sep 2008 01:56:54 +0000 (01:56 +0000)]
* Add Linker::link flag for using article path
* Fix mistake in Interwiki-detecting code in Title
* Clean up Interwiki.php per Tim's recommendations
Tim Starling [Tue, 30 Sep 2008 01:00:40 +0000 (01:00 +0000)]
Revert revert r41406 of r41333, and removed one space between attributes.
Brion Vibber [Tue, 30 Sep 2008 00:21:59 +0000 (00:21 +0000)]
Revert r41364 -- broke 22 parser test cases with change of alt behavior.
The caption was originally defined *as* the alt text (defaulting to the image file name if there is no alt text). Note that a separate caption text is only displayed in some display modes ('frame' and 'thumb', iirc), and not by default.
Please run the parser tests and check the effect you have on them. If it's really an appropriate change, then update the test cases. If you're not sure, consider backing out pending further discussion. :)
It might be appropriate to not set the 'alt' attribute for frame/thumb cases, but definitely not for inline images where we already have a way of setting the alt text which you're removing!
Brion Vibber [Tue, 30 Sep 2008 00:14:25 +0000 (00:14 +0000)]
Back out r41333 -- causes lots of parser test regressions due to funny spacing. Probably an easy fix but it wasn't tested apparently. :)
Brion Vibber [Tue, 30 Sep 2008 00:07:04 +0000 (00:07 +0000)]
Revert r41352-41355, r41362-41363: unauthorized schema change breaks parser tests
Matt Johnston [Mon, 29 Sep 2008 23:16:34 +0000 (23:16 +0000)]
Fix r41248 (bug 8440) - Default should be 1 to allow for previous behaviour to continue.
Brion Vibber [Mon, 29 Sep 2008 23:02:52 +0000 (23:02 +0000)]
Reverted r41301, r41332 -- weird overly-specific URL tweak setting for bug 15739.
Victor Vasiliev [Mon, 29 Sep 2008 20:03:25 +0000 (20:03 +0000)]
Fix silly typo.
Victor Vasiliev [Mon, 29 Sep 2008 19:23:31 +0000 (19:23 +0000)]
Fix variable name so image moving doesn't fail on images with histories.
Alexandre Emsenhuber [Mon, 29 Sep 2008 18:20:43 +0000 (18:20 +0000)]
svn:eol-style native
Siebrand Mazeland [Mon, 29 Sep 2008 16:03:34 +0000 (16:03 +0000)]
Localisation updates for core messages from Betawiki (2008-09-29 17:40 CEST)
Siebrand Mazeland [Mon, 29 Sep 2008 15:37:46 +0000 (15:37 +0000)]
Quickly add namespace aliases for tl.
Siebrand Mazeland [Mon, 29 Sep 2008 15:36:11 +0000 (15:36 +0000)]
Localisation updates for core from Betawiki
Rotem Liss [Mon, 29 Sep 2008 14:31:40 +0000 (14:31 +0000)]
Localization update.
Siebrand Mazeland [Mon, 29 Sep 2008 14:03:51 +0000 (14:03 +0000)]
Copy '1movedto2' to 'prot_1movedto2' where present
Siebrand Mazeland [Mon, 29 Sep 2008 14:01:44 +0000 (14:01 +0000)]
Register 'movedarticleprotection'
Siebrand Mazeland [Mon, 29 Sep 2008 13:43:15 +0000 (13:43 +0000)]
Register 'prot_1movedto2'
Aaron Schulz [Mon, 29 Sep 2008 13:25:35 +0000 (13:25 +0000)]
Some protection move log cleanup (bug 15754)
Tim Starling [Mon, 29 Sep 2008 10:53:10 +0000 (10:53 +0000)]
Added support for LC_CTYPE on SunOS and HP-UX, thanks to River for testing these. Neither of them like having a hyphen in UTF-8, so let's just use the exact string that locale -a returns.
Tim Starling [Mon, 29 Sep 2008 10:19:11 +0000 (10:19 +0000)]
Proposed fix for bug 14944, specifically the reports that some servers do not have en_US.UTF-8. Make the locale configurable via $wgShellLocale. Detect available locales and set $wgShellLocale to an appropriate value on install. Also fixes safe_mode putenv() warnings. RELEASE-NOTES entry will go to 1.13.
Matt Johnston [Mon, 29 Sep 2008 10:14:45 +0000 (10:14 +0000)]
Fix r41377 - Incompatible old keys caused Fatal Error
Matt Johnston [Mon, 29 Sep 2008 10:08:46 +0000 (10:08 +0000)]
New format for accessing Interwiki data. Replaced all old ways within core I could find, but should be backwards compatible wherever needed.
Also fix the notes in RELEASE-NOTES to state PHP 5.2 recommended as certain classes require it (e.g. ForeignAPIRepo, which uses json_decode)
Chad Horohoe [Mon, 29 Sep 2008 08:44:40 +0000 (08:44 +0000)]
Whoops. Need to pass parameters.
Chad Horohoe [Mon, 29 Sep 2008 08:23:16 +0000 (08:23 +0000)]
Move some of this caching logic out of the file and into the repo where it belongs.
Siebrand Mazeland [Mon, 29 Sep 2008 08:13:47 +0000 (08:13 +0000)]
wgMessageComments for 'protect-expiry-options'
Siebrand Mazeland [Mon, 29 Sep 2008 08:05:28 +0000 (08:05 +0000)]
Copy 'ipboptions' to 'protect-expiry-options' where present
Siebrand Mazeland [Mon, 29 Sep 2008 07:44:26 +0000 (07:44 +0000)]
Localisation updates for core messages from Betawiki (2008-09-29 09:31 CEST)
Rotem Liss [Mon, 29 Sep 2008 07:29:36 +0000 (07:29 +0000)]
Localization update and fixes.
Rotem Liss [Mon, 29 Sep 2008 07:16:24 +0000 (07:16 +0000)]
Localization: Splitting the date and time in the 'userrestricted-indef' messages, too (it seems that the code already supports it).
Chad Horohoe [Mon, 29 Sep 2008 06:24:32 +0000 (06:24 +0000)]
* Remove unneeded ini_set() from a very long time ago. Can't run this on allow_url_fopen nowadays.
* Remove extra global declaration.
Chad Horohoe [Mon, 29 Sep 2008 06:12:47 +0000 (06:12 +0000)]
Cleanup some docs :)
Alex Z [Mon, 29 Sep 2008 01:35:04 +0000 (01:35 +0000)]
Use a new message for protection form expiry options instead of recycling the blockip one.
Aryeh Gregor [Sun, 28 Sep 2008 21:07:34 +0000 (21:07 +0000)]
(bug 368) Allow alt= attribute for images
If the attribute is not specified, default to empty string, not repeating the caption.
Victor Vasiliev [Sun, 28 Sep 2008 20:35:58 +0000 (20:35 +0000)]
Split time and date in messages.
Victor Vasiliev [Sun, 28 Sep 2008 19:34:14 +0000 (19:34 +0000)]
* Fix caching
* Fix messages
Siebrand Mazeland [Sun, 28 Sep 2008 19:22:02 +0000 (19:22 +0000)]
Fix link description in 'listuserrestrictions-intro'
Siebrand Mazeland [Sun, 28 Sep 2008 19:16:00 +0000 (19:16 +0000)]
Add newline
Rotem Liss [Sun, 28 Sep 2008 19:00:45 +0000 (19:00 +0000)]
Localization update.
Rotem Liss [Sun, 28 Sep 2008 18:53:23 +0000 (18:53 +0000)]
Removing a dupliate entry.
Rotem Liss [Sun, 28 Sep 2008 18:52:34 +0000 (18:52 +0000)]
Localization:
* Updating messages.inc.
* Rebuilding English localization.
* Making restrictlogpage an ignored message, as there seems to be no reason to localize it.
Shinjiman [Sun, 28 Sep 2008 18:31:04 +0000 (18:31 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Niklas Laxström [Sun, 28 Sep 2008 17:14:32 +0000 (17:14 +0000)]
* Some cleanup
Niklas Laxström [Sun, 28 Sep 2008 16:43:07 +0000 (16:43 +0000)]
* Do not show anything if user has not done any edits
Victor Vasiliev [Sun, 28 Sep 2008 16:28:35 +0000 (16:28 +0000)]
Some code cleanup per Nikerabbit
Victor Vasiliev [Sun, 28 Sep 2008 16:08:18 +0000 (16:08 +0000)]
* (bug 674) Allow users to be blocked from editing a specific article
** Also supports blocking user from editing whole namespace
* Replace ugly ipboptions parsing code in Title.php with a simple message
Requires schema change (I showed it to Tim Starling).
Niklas Laxström [Sun, 28 Sep 2008 16:01:03 +0000 (16:01 +0000)]
* Use formatNum
Aaron Schulz [Sun, 28 Sep 2008 15:52:30 +0000 (15:52 +0000)]
Make listusers show users' edit counts (bug 15503)
Niklas Laxström [Sun, 28 Sep 2008 14:56:07 +0000 (14:56 +0000)]
* user{css,js}preview was not shown since r40066
* readd !preview condition to usercssjsyoucanpreview
Niklas Laxström [Sun, 28 Sep 2008 11:51:39 +0000 (11:51 +0000)]
* Do not pass objects to functions that don't take them
Alexandre Emsenhuber [Sun, 28 Sep 2008 10:51:58 +0000 (10:51 +0000)]
Use $wgContLang here, this should not vary with the user language.
Niklas Laxström [Sun, 28 Sep 2008 09:31:24 +0000 (09:31 +0000)]
* (bug 15388) Title of Special:PrefixIndex
Niklas Laxström [Sun, 28 Sep 2008 08:45:03 +0000 (08:45 +0000)]
* (bug 15196) Free external links should be numbered in a localised manner
Niklas Laxström [Sun, 28 Sep 2008 08:22:55 +0000 (08:22 +0000)]
+* (bug 15158) Userinvalidcssjstitle not shown on preview
Tim Starling [Sun, 28 Sep 2008 04:20:49 +0000 (04:20 +0000)]
In wasDeletedSinceLastEdit(): fix odd string comparison method, there's an operator for that