Aryeh Gregor [Thu, 1 Apr 2010 19:43:16 +0000 (19:43 +0000)]
Better better RELEASE-NOTES for r64228
I misunderstood what the changes did; see Code Review for r64494.
Aryeh Gregor [Thu, 1 Apr 2010 18:22:39 +0000 (18:22 +0000)]
Better RELEASE-NOTES for r64228
It was deliberate that blocked users could unblock themselves, so not a
bug. Also improve wording in light of r64231, so it's clear that admins
still have this ability by default.
(Apparently forgot to commit this until now.)
Happy-melon [Thu, 1 Apr 2010 12:44:42 +0000 (12:44 +0000)]
Follow-up to r64478 - pull out debugging code
Alexandre Emsenhuber [Thu, 1 Apr 2010 12:05:46 +0000 (12:05 +0000)]
Removed unused variable
Mark A. Hershberger [Thu, 1 Apr 2010 11:25:56 +0000 (11:25 +0000)]
followup r64465 — make happy-melon happy
Happy-melon [Thu, 1 Apr 2010 10:50:43 +0000 (10:50 +0000)]
Rewrite the parser in a more friendly and accessible implementation...
Mark A. Hershberger [Thu, 1 Apr 2010 00:35:14 +0000 (00:35 +0000)]
follow up r64454 — change comment style
Trevor Parscal [Wed, 31 Mar 2010 22:09:41 +0000 (22:09 +0000)]
Style bump for r64456.
Trevor Parscal [Wed, 31 Mar 2010 21:08:15 +0000 (21:08 +0000)]
Fixes bug where personal tools display behind the logo - now they wrap properly into the white space beneeth them.
Mark A. Hershberger [Wed, 31 Mar 2010 19:50:46 +0000 (19:50 +0000)]
Get rid of E_STRICT message
Raimond Spekking [Wed, 31 Mar 2010 19:36:40 +0000 (19:36 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-03-31 19:15:00 UTC)
Matthew Britton [Wed, 31 Mar 2010 18:54:28 +0000 (18:54 +0000)]
follow up r64440: specify in release notes exactly what changed
Matthew Britton [Wed, 31 Mar 2010 15:26:17 +0000 (15:26 +0000)]
(bug 22290) Inconsistent presence of "comment" field in prop=revisions versus list=recentchanges
Matthew Britton [Wed, 31 Mar 2010 14:44:35 +0000 (14:44 +0000)]
(bug 22868) don't list infinite block expiry date as "now" in API logevents
Matthew Britton [Wed, 31 Mar 2010 14:39:02 +0000 (14:39 +0000)]
release notes for r64436
Matthew Britton [Wed, 31 Mar 2010 14:08:55 +0000 (14:08 +0000)]
(bug 22339) "Go" result should be available through the API
Niklas Laxström [Wed, 31 Mar 2010 10:10:49 +0000 (10:10 +0000)]
Fixed a bug in __construct
Trevor Parscal [Wed, 31 Mar 2010 06:48:47 +0000 (06:48 +0000)]
Ensures empty UL elements are never included in output by testing if menus have anything in them before rendering the containing UL elements. Addresses issues noted in bug #23015
Mark A. Hershberger [Wed, 31 Mar 2010 00:15:32 +0000 (00:15 +0000)]
use class constant from r64403
Mark A. Hershberger [Wed, 31 Mar 2010 00:05:11 +0000 (00:05 +0000)]
Add warning about PHPUnit versions.
Happy-melon [Tue, 30 Mar 2010 21:53:56 +0000 (21:53 +0000)]
Rationalise comment format. Slightly controversial, perhaps, but I've pretty much borked svn blame already :D Also other doc and spacing fixes.
Rotem Liss [Tue, 30 Mar 2010 21:20:19 +0000 (21:20 +0000)]
Localization update for he.
Happy-melon [Tue, 30 Mar 2010 21:20:05 +0000 (21:20 +0000)]
Overhaul code format to coding conventions.
Mark A. Hershberger [Tue, 30 Mar 2010 19:10:10 +0000 (19:10 +0000)]
* Set $titleObj to null by default on getWatchlistValue since it often isn't needed & check that it is set when it is needed. (follow up r64197).
* Refactoring ApiUpload & UploadBase to make it easier to extend & read.
* Use a class constant for the upload session key instead of a hard-coded-across-several-files value.
* Add UploadBase::appendToUploadFile() method to enable protocols that do incremental upload.
Alexandre Emsenhuber [Tue, 30 Mar 2010 18:55:48 +0000 (18:55 +0000)]
And while I'm at it, fix PHP Notice: Undefined variable: params in /www/w/includes/api/ApiMain.php on line 511
Raimond Spekking [Tue, 30 Mar 2010 18:47:18 +0000 (18:47 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-03-30 18:30:00 UTC)
Alexandre Emsenhuber [Tue, 30 Mar 2010 18:40:23 +0000 (18:40 +0000)]
Fix parse error: syntax error, unexpected '}' in includes/api/ApiMain.php on line 467
Mark A. Hershberger [Tue, 30 Mar 2010 17:19:00 +0000 (17:19 +0000)]
Rename parameter, add phpdoc, fix bug in using $this from a statically called method.
Mark A. Hershberger [Tue, 30 Mar 2010 17:14:53 +0000 (17:14 +0000)]
Refactor ApiMain to make the code more readable.
Mark A. Hershberger [Tue, 30 Mar 2010 17:03:07 +0000 (17:03 +0000)]
whitespace removal
Raimond Spekking [Tue, 30 Mar 2010 16:18:11 +0000 (16:18 +0000)]
Follow-up r64389: Add new special page to $specialPageAliases
Matthew Britton [Tue, 30 Mar 2010 15:36:53 +0000 (15:36 +0000)]
(bug 22910) Add Special:Unblock as an alias for the unblock form
Links of the form [[Special:Unblock/Username]] also work.
Rotem Liss [Tue, 30 Mar 2010 12:21:53 +0000 (12:21 +0000)]
Localization update for he, and removing blank line in en.
Raimond Spekking [Tue, 30 Mar 2010 06:55:44 +0000 (06:55 +0000)]
Follow-up r64367: Add new message to maintenance script
Platonides [Mon, 29 Mar 2010 22:44:59 +0000 (22:44 +0000)]
(bug 21520) Anonymous previews now also give a warning about not being
logged in (anonpreviewwarning).
Alexandre Emsenhuber [Mon, 29 Mar 2010 20:10:29 +0000 (20:10 +0000)]
Fixed some doxygen warnings
Raimond Spekking [Mon, 29 Mar 2010 19:52:53 +0000 (19:52 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-03-29 19:20:00 UTC)
Tobias [Mon, 29 Mar 2010 19:45:54 +0000 (19:45 +0000)]
(bug 22627) Remove PHP notice when deleting a page only hidden users edited.
Max Semenik [Mon, 29 Mar 2010 19:24:57 +0000 (19:24 +0000)]
A bit more Message tests
Niklas Laxström [Mon, 29 Mar 2010 19:18:58 +0000 (19:18 +0000)]
Fix syntax terrors
Max Semenik [Mon, 29 Mar 2010 14:30:42 +0000 (14:30 +0000)]
Started tests for Message class, fixed one bug found by them
Max Semenik [Mon, 29 Mar 2010 14:11:19 +0000 (14:11 +0000)]
PHPUnit tests: coloring doesn't work on Windows
Niklas Laxström [Mon, 29 Mar 2010 14:08:23 +0000 (14:08 +0000)]
Message::key() accepts message parameters as varargs. Renamed ::language() to ::inLanguage()
Platonides [Mon, 29 Mar 2010 00:09:20 +0000 (00:09 +0000)]
(bug 22991) wgUserGroups should be ['*'] for anonymous users, not null
Alexandre Emsenhuber [Sun, 28 Mar 2010 20:21:30 +0000 (20:21 +0000)]
Fixed some doxygen warnings
Raimond Spekking [Sun, 28 Mar 2010 19:37:36 +0000 (19:37 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-03-28 19:15:00 UTC)
Roan Kattouw [Sun, 28 Mar 2010 19:23:39 +0000 (19:23 +0000)]
Message.php fixes:
* Don't call params() for every param passed to the constructor
* Use self
* Use array_merge() instead of += , the latter behaves contrary to the documentation
* Fix capitalization of toString() calls
* Various style, typo fixes
Sam Reed [Sun, 28 Mar 2010 19:23:17 +0000 (19:23 +0000)]
Switch if ordering as per Roans comment for r64291
Niklas Laxström [Sun, 28 Mar 2010 15:22:49 +0000 (15:22 +0000)]
Remove options array and move message fetching one level down.
Options is now to value members: format and useDatabase.
fetchMessage() can be overwritten to use other message source
like for example testing purposes.
Sam Reed [Sun, 28 Mar 2010 15:08:45 +0000 (15:08 +0000)]
Followup r64197
Return null in getWatchlistValue if no change
Fixup unneccessary watch/unwatch calls
Remove useless unwatch from ApiUpload
Chad Horohoe [Sun, 28 Mar 2010 14:53:01 +0000 (14:53 +0000)]
Factory functions are static
Conrad Irwin [Sun, 28 Mar 2010 10:14:39 +0000 (10:14 +0000)]
Fix tests for Upload.
Conrad Irwin [Sun, 28 Mar 2010 03:10:10 +0000 (03:10 +0000)]
Re-normalize titles after html entity decoding when necessary (bug 14952)
Aryeh Gregor [Sun, 28 Mar 2010 01:37:49 +0000 (01:37 +0000)]
Remove a use of xml:lang that I missed in r62312
If this is required for some reason for RDFa, it should be allowed only
when RDFa is enabled, like xmlns:.
Raimond Spekking [Sat, 27 Mar 2010 22:29:51 +0000 (22:29 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-03-27 21:30:00 UTC)
Roan Kattouw [Sat, 27 Mar 2010 21:34:07 +0000 (21:34 +0000)]
Fix coding style, whitespace in r64267
Roan Kattouw [Sat, 27 Mar 2010 21:31:10 +0000 (21:31 +0000)]
Fix coding style in r64230, r64256
Alexandre Emsenhuber [Sat, 27 Mar 2010 20:57:32 +0000 (20:57 +0000)]
Fixed some doxygen warnings
Rotem Liss [Sat, 27 Mar 2010 18:05:42 +0000 (18:05 +0000)]
Localization update for he, and moving 'right-unblockself' near block rights in en and messages.inc.
Sam Reed [Sat, 27 Mar 2010 17:51:56 +0000 (17:51 +0000)]
Followup to r64197
Remove the mutually exclusive else checks
Fix undefined on getWatchlistValue in ApiBase
Alexandre Emsenhuber [Sat, 27 Mar 2010 16:15:17 +0000 (16:15 +0000)]
* (bug 22876) Avoid possible PHP Notice if $wgDefaultUserOptions is not correctly set
Per Nikerabbit, use User::getDefaultOption()
Alexandre Emsenhuber [Sat, 27 Mar 2010 15:32:27 +0000 (15:32 +0000)]
* (bug 22977) Removed "patched by Liangent and Philip" comment per Liangent's requests
Happy-melon [Sat, 27 Mar 2010 15:05:56 +0000 (15:05 +0000)]
Per r64228 CR: make the check a static method in IPBlockForm to reduce duplication.
Happy-melon [Fri, 26 Mar 2010 23:11:28 +0000 (23:11 +0000)]
Follow-up r64228, per requests at bug 15810: grant admins 'unblockself' by default.
Happy-melon [Fri, 26 Mar 2010 23:02:10 +0000 (23:02 +0000)]
Followup to r64228 - apply restrictions in API.
Happy-melon [Fri, 26 Mar 2010 22:02:51 +0000 (22:02 +0000)]
(bug 15810) stop blocked admins from unblocking themselves or others.
Alexandre Emsenhuber [Fri, 26 Mar 2010 21:55:13 +0000 (21:55 +0000)]
Fixed some doxygen warnings
Roan Kattouw [Fri, 26 Mar 2010 20:55:55 +0000 (20:55 +0000)]
(bug 22940) Namespace aliases to the main namespace don't work. Patch by quietust
Raimond Spekking [Fri, 26 Mar 2010 19:52:55 +0000 (19:52 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-03-26 19:35:00 UTC)
Aryeh Gregor [Fri, 26 Mar 2010 19:07:33 +0000 (19:07 +0000)]
Add git:// and mms:// to $wgUrlProtocols
git:// seems like a no-brainer, since we support svn://. mms:// was
originally a proprietary Microsoft protocol, but they released a spec
and there are multiple open-source implementations, so why not. Someone
requested the latter on [[WP:VPT]]:
<http://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_(technical)&diff=
351780595&oldid=
351776934>
No reason to be stingy about adding $wgUrlProtocols default values, if
they don't take scary actions when clicked, right?
Happy-melon [Fri, 26 Mar 2010 11:21:14 +0000 (11:21 +0000)]
Get message in wfEmptyMsg using the user's interface language; closer to the previous behaviour and might fix the issue reported in r64178 CR
Sam Reed [Thu, 25 Mar 2010 22:31:41 +0000 (22:31 +0000)]
Minor followup to r64197
Allow unwatch via ApiUpload, UploadBase doesn't allow/cater for unwatching, so use the $wgUser object to do it, rather than possibly causing a breaking change in UploadBase
Sam Reed [Thu, 25 Mar 2010 22:15:08 +0000 (22:15 +0000)]
Fix bug 22944 in a much better fashion (using watchlist parameter)
Deprecate old watch/unwatch parameters
Move generic watchlist stuff to ApiBase/getWatchlistValue (maybe needs renaming better?)
Tweak some braces in ApiEditPage
Sam Reed [Thu, 25 Mar 2010 22:12:28 +0000 (22:12 +0000)]
Revert my api changes to pre r64815
Sam Reed [Thu, 25 Mar 2010 21:30:31 +0000 (21:30 +0000)]
Missing comma from previous commits
Alexandre Emsenhuber [Thu, 25 Mar 2010 21:28:27 +0000 (21:28 +0000)]
Modified the documentation for better rendering in doxygen
Sam Reed [Thu, 25 Mar 2010 21:19:49 +0000 (21:19 +0000)]
Add array( 'show' ), to getPossibleErrors
Sam Reed [Thu, 25 Mar 2010 21:17:51 +0000 (21:17 +0000)]
Watch/unwatch to ApiUpload
Prevent mutually exclusive values
Sam Reed [Thu, 25 Mar 2010 21:15:35 +0000 (21:15 +0000)]
Stop mutually exclusive values in ApiProtect
Fix fail in Delete, Move, Rollback, Undelete
Sam Reed [Thu, 25 Mar 2010 21:13:05 +0000 (21:13 +0000)]
Stop mutually exclusive values in ApiRollback and ApiUndelete
Sam Reed [Thu, 25 Mar 2010 21:11:38 +0000 (21:11 +0000)]
Stop mutually exclusive values in ApiDelete and ApiMove
Sam Reed [Thu, 25 Mar 2010 21:03:49 +0000 (21:03 +0000)]
Minor tweak to performUpload in UploadBase.php
Only do one call to $status->isGood() and nest if $watch check in that
Sam Reed [Thu, 25 Mar 2010 20:57:24 +0000 (20:57 +0000)]
Part of bug 22944
Add unwatch to protect
Add unwatch/watch to Rollback and Undelete
Happy-melon [Thu, 25 Mar 2010 20:52:52 +0000 (20:52 +0000)]
Various tweaks and fixes.
Happy-melon [Thu, 25 Mar 2010 20:34:56 +0000 (20:34 +0000)]
Work on Message.php:
* Just one function for adding parameters, not three.
* Implement an options framework: one extra widget (get-message-not-from-db) already in use in wfMsgNoDB(), others will probably follow, so set up something to keep them clean.
* Lay the groundwork for supporting __tostring() when MW stops supporting PHP < 5.2.0
* Fix various fatal and non-fatal errors
* Make use of r64178 to clean out any dependency on the wfMsg* functions.
Happy-melon [Thu, 25 Mar 2010 20:27:41 +0000 (20:27 +0000)]
Now that LQT is installed on WMF wikis, we can't pretend that 5000 == all any more :(
Happy-melon [Thu, 25 Mar 2010 20:24:37 +0000 (20:24 +0000)]
Fix sorting in Allmessages.
Rotem Liss [Thu, 25 Mar 2010 20:22:57 +0000 (20:22 +0000)]
Typo in comment.
Happy-melon [Thu, 25 Mar 2010 20:21:31 +0000 (20:21 +0000)]
Make MessageCache::get() return false if the requested message does not exist, and handle setting the '<$key>' one layer further down in wfMsgGetKey(). Allows us to get away from that horrible string comparison in wfEmptyMsg().
Alexandre Emsenhuber [Thu, 25 Mar 2010 20:12:56 +0000 (20:12 +0000)]
Fixed some doxygen warnings
Raimond Spekking [Thu, 25 Mar 2010 19:08:33 +0000 (19:08 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-03-25 19:50:00 UTC)
Alexandre Emsenhuber [Thu, 25 Mar 2010 18:31:29 +0000 (18:31 +0000)]
* (bug 22949) extra </html> at beginning of page
Max Semenik [Thu, 25 Mar 2010 15:48:47 +0000 (15:48 +0000)]
(Bug 22942) - wrong variable name in UPGRADE
Chad Horohoe [Thu, 25 Mar 2010 13:10:26 +0000 (13:10 +0000)]
This is PHP, updating docs to reflect that
Raimond Spekking [Wed, 24 Mar 2010 21:56:51 +0000 (21:56 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-03-24 21:30:00 UTC)
Aryeh Gregor [Wed, 24 Mar 2010 19:47:56 +0000 (19:47 +0000)]
Fix extra space from r64084
Aryeh Gregor [Wed, 24 Mar 2010 13:42:37 +0000 (13:42 +0000)]
Correctly handle <abbr> followed by ISBN
Bug 22905. Patch based on one submitted by Solitarius. Basically, we
were assuming that anything matching <a.*?</a> was a link and ignoring
it so as to avoid nested links, but that matched the HTML from
<abbr>(fr)</abbr> ISBN
2753300917 [http://www.example.com example.com]
so the ISBN didn't work. Parser test committed, fails without the
Parser.php change.
Alexandre Emsenhuber [Tue, 23 Mar 2010 21:40:02 +0000 (21:40 +0000)]
Fixed some doxygen warnings, changed "@return boolean: TRUE or FALSE" to "@return boolean" since I don't think that the boolean type can have other value than those two :)
Raimond Spekking [Tue, 23 Mar 2010 20:09:32 +0000 (20:09 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-03-23 20:00:00 UTC)
Mark A. Hershberger [Tue, 23 Mar 2010 19:50:59 +0000 (19:50 +0000)]
* Implement normalization of fullwidth latin characters for all Languages, not just Japanese and Chinese.
* Tune Language::convertDoubleWidth() so that it is 8-10x faster. (See http://xrl.us/bg2mon)