Alexandre Emsenhuber [Sat, 4 Dec 2010 13:39:18 +0000 (13:39 +0000)]
Stylise UserMailer.php ; added some "public" to public functions
Alexandre Emsenhuber [Sat, 4 Dec 2010 13:27:05 +0000 (13:27 +0000)]
* Converted UserMailer stuff to return a Status object instead of true-or-WikiError
* Made WikiError::isError() compatible with Status objects
* Added Status::getMessage() for backward compatibility
Extensions using WikiError::isError() to detect a failure of UserMailer::send() and realted methods should still work like before
Daniel Friesen [Sat, 4 Dec 2010 09:27:02 +0000 (09:27 +0000)]
Fix a bug in the installer caused by r77487 creating installer sql statements like "GRANT ALL PRIVILEGES ON `'dbname'`.* TO ''tablename''@'%" while improving the database independence of replaceVars.
* Drop unused and likely broken /*$var*/` -> `$var syntax
* Replace {$var} with '{$var}' and `{$var}` handling that uses relevant database independent quoting ({$var} without surrouding quotes are never used)
* Give the generic/mysql class a proper quote_ident implementation
* Fix the unused Oracle and Sqlite quote_ident implementations which are potential sql injections if used
* Split common variable replacemnt code off to a replaceGlobalVars and make the generic and oracle code use it instead of duplicating the same code as each other
Antoine Musso [Sat, 4 Dec 2010 08:58:32 +0000 (08:58 +0000)]
Max command length using one line of code
Follow-up r76621 code review
Mark A. Hershberger [Sat, 4 Dec 2010 03:20:14 +0000 (03:20 +0000)]
Whitespace fixup under tha maint directory.
Trevor Parscal [Sat, 4 Dec 2010 02:16:37 +0000 (02:16 +0000)]
Added new localize plugin which allows simple placeholder based localization of a dom selection with special <msg /> elements or elements with title-msg or alt-msg attributes.
Trevor Parscal [Sat, 4 Dec 2010 00:48:37 +0000 (00:48 +0000)]
Fixes r77696 where a few mistakes were made. Also improves on r77693 by using actual group names rather than trying to divine the group from the module name...
Sam Reed [Sat, 4 Dec 2010 00:36:33 +0000 (00:36 +0000)]
Followup r77666, bug 26219
Only add the message about multi value, if the type is not an array, or if it is an array, if it has over 50 (LIMIT_SML1) items
Trevor Parscal [Sat, 4 Dec 2010 00:35:10 +0000 (00:35 +0000)]
Made use of Xml::encodeJsCall - improves on r77693.
Sam Reed [Sat, 4 Dec 2010 00:13:56 +0000 (00:13 +0000)]
Followup r77679, 1 more for bug 23332
Trevor Parscal [Fri, 3 Dec 2010 23:59:50 +0000 (23:59 +0000)]
Resolves bug #26131 by always placing user scripts and styles at the very end of the page
Sam Reed [Fri, 3 Dec 2010 23:50:00 +0000 (23:50 +0000)]
Followup r77666, remove changed in database comment (no idea where that came from)
Roan Kattouw [Fri, 3 Dec 2010 23:34:12 +0000 (23:34 +0000)]
Fix typo in comment
Roan Kattouw [Fri, 3 Dec 2010 23:29:09 +0000 (23:29 +0000)]
Fix grammar in r77563
Raimond Spekking [Fri, 3 Dec 2010 23:09:07 +0000 (23:09 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-12-03 23:39:00 UTC)
Raimond Spekking [Fri, 3 Dec 2010 22:34:58 +0000 (22:34 +0000)]
Follow-up r77670: Add new special page (alias) to messages/MessagesEn.php
Rotem Liss [Fri, 3 Dec 2010 22:13:35 +0000 (22:13 +0000)]
Localization update for he.
Sam Reed [Fri, 3 Dec 2010 20:30:21 +0000 (20:30 +0000)]
Fixup 1 more autoloader from r77677
Add Abstract classes explicitally to the autoloader
Move abstract classes from RevisionDelete.php to RevisionDeleteAbstracts.php (svn copy and remove of redundant classes)
Sam Reed [Fri, 3 Dec 2010 20:25:19 +0000 (20:25 +0000)]
Followup r77677, fix rest of autoloader entries
Sam Reed [Fri, 3 Dec 2010 19:56:59 +0000 (19:56 +0000)]
Move includes/RevisionDelete.php to includes/revisiondelete/RevisionDelete.php
Antoine Musso [Fri, 3 Dec 2010 19:56:08 +0000 (19:56 +0000)]
typo (fu r77320)
Roan Kattouw [Fri, 3 Dec 2010 19:47:22 +0000 (19:47 +0000)]
Fix indentation of => added in r77366 to be in step with the rest
Roan Kattouw [Fri, 3 Dec 2010 19:32:25 +0000 (19:32 +0000)]
and -> && in r77366
Bryan Tong Minh [Fri, 3 Dec 2010 19:23:12 +0000 (19:23 +0000)]
white space fix v2 (follow-up r77671)
Bryan Tong Minh [Fri, 3 Dec 2010 19:21:15 +0000 (19:21 +0000)]
White space fix
Bryan Tong Minh [Fri, 3 Dec 2010 19:18:39 +0000 (19:18 +0000)]
Added Special:Myuploads special page that redirects to Special:Listfiles
Bryan Tong Minh [Fri, 3 Dec 2010 18:48:11 +0000 (18:48 +0000)]
Added uploads link to page subtitle in Special:Contributions
Changed query parameter for the username in Special:Listfiles from username to user, which seems to be more consistent with the rest of MediaWiki. Searching by username was introduced in 1.17, so there should be no existing links that can be broken.
Sam Reed [Fri, 3 Dec 2010 16:24:05 +0000 (16:24 +0000)]
* (bug 26219) Show API limits for multi values in description
Also move bug 9675/r77612 RELEASE-NOTES to the correct section
Alexandre Emsenhuber [Fri, 3 Dec 2010 15:20:07 +0000 (15:20 +0000)]
Revert part of r77644: unwanted changes (oops!)
Roan Kattouw [Fri, 3 Dec 2010 14:44:07 +0000 (14:44 +0000)]
Followup r77072: declare llurl as a boolean parameter.
Roan Kattouw [Fri, 3 Dec 2010 14:38:16 +0000 (14:38 +0000)]
Fix license/licence inconsistencies in r77069
nadeesha [Fri, 3 Dec 2010 14:27:50 +0000 (14:27 +0000)]
delete dependency on MediaWikiCommonFunc.php
Sam Reed [Fri, 3 Dec 2010 14:16:57 +0000 (14:16 +0000)]
Followup r77654, SVN PROPS!!!
nadeesha [Fri, 3 Dec 2010 14:12:52 +0000 (14:12 +0000)]
Add following common functions for selenium scripts. getExistingPage(), getNewPage($pageName), loadWikiEditor(), clearWikiEditor(), clickShowPreviewBtn(), clickSavePageBtn(), clickEditLink(), deletePage($pageName)
nadeesha [Fri, 3 Dec 2010 14:11:00 +0000 (14:11 +0000)]
Add getUser() and getPass() functions.
nadeesha [Fri, 3 Dec 2010 14:10:09 +0000 (14:10 +0000)]
Added test scripts for wiki editor additional features and updated scripts on wiki basic editor. MediaWikiCommonFunction.php is deleted, since it is no longer used by the scripts.
Chad Horohoe [Fri, 3 Dec 2010 13:46:21 +0000 (13:46 +0000)]
Fix for r76480: !$css was never true, since it always contained \n. This way also lets us at least show one file if the other is inaccessible for less breakage.
Roan Kattouw [Fri, 3 Dec 2010 13:04:01 +0000 (13:04 +0000)]
Spaces to tabs in r77011
Alexandre Emsenhuber [Fri, 3 Dec 2010 12:47:04 +0000 (12:47 +0000)]
Follow-up r77618 and r77635: also remove the message from messageTypes.inc
Roan Kattouw [Fri, 3 Dec 2010 12:46:29 +0000 (12:46 +0000)]
Followup r76973: keep $target variable local
Alexandre Emsenhuber [Fri, 3 Dec 2010 11:29:55 +0000 (11:29 +0000)]
Allow the submit callback function to return a Status object (will use this later for other forms)
Alexandre Emsenhuber [Fri, 3 Dec 2010 10:08:47 +0000 (10:08 +0000)]
Use __METHOD__ instead of incorrect 'BackupDumper::dump'
Alexandre Emsenhuber [Fri, 3 Dec 2010 10:05:01 +0000 (10:05 +0000)]
Modifier dumpTextPass.php to use XMLReader and XMLWriter rather than xml_* functions
Sam Reed [Fri, 3 Dec 2010 09:57:53 +0000 (09:57 +0000)]
Documentation improvement to r77597
Sam Reed [Fri, 3 Dec 2010 09:40:11 +0000 (09:40 +0000)]
Per MaxSem CR on r77597, make $alias paramater optional, as per the documentation
Sam Reed [Fri, 3 Dec 2010 09:36:02 +0000 (09:36 +0000)]
Followup r77618 per Nikerabbit, remove now unused message 'cantcreateaccount-nonblock-text'
Sam Reed [Fri, 3 Dec 2010 01:43:23 +0000 (01:43 +0000)]
Return type documentation
Trevor Parscal [Fri, 3 Dec 2010 01:12:11 +0000 (01:12 +0000)]
Specified max width in em instead of px to support font scaling
Trevor Parscal [Fri, 3 Dec 2010 01:10:10 +0000 (01:10 +0000)]
Using 100ms fade by deafult
Trevor Parscal [Fri, 3 Dec 2010 01:06:35 +0000 (01:06 +0000)]
Using 100% opacity as default
Platonides [Fri, 3 Dec 2010 00:21:50 +0000 (00:21 +0000)]
Make $wgForceUIMsgAsContentMsg work a bit different for the messages we place in the upload form.
This is specially intended for commons, such that it no longer needs a bot changing the headers after each upload.
See http://commons.wikimedia.org/w/index.php?title=Commons%3AVillage_pump&action=historysubmit&diff=
46619490&oldid=
46619456#Uploading_a_new_file.2C_and_proceeding_updates
Sam Reed [Fri, 3 Dec 2010 00:06:05 +0000 (00:06 +0000)]
Kill off userNotPrivilegedMessage, not used after r77617
Andrew Garrett [Thu, 2 Dec 2010 23:59:12 +0000 (23:59 +0000)]
Fix r75759: replace call to userNotPrivilegedMessage() with a call to OutputPage::permissionRequired().
Ilmari Karonen [Thu, 2 Dec 2010 22:40:54 +0000 (22:40 +0000)]
followup to r77176: code style, release notes
Raimond Spekking [Thu, 2 Dec 2010 21:36:31 +0000 (21:36 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-12-02 21:19:00 UTC)
Aaron Schulz [Thu, 2 Dec 2010 19:49:54 +0000 (19:49 +0000)]
Broke and split up many long lines
Antoine Musso [Thu, 2 Dec 2010 19:44:30 +0000 (19:44 +0000)]
doxygen now ignore .git subdirectories
Antoine Musso [Thu, 2 Dec 2010 19:43:57 +0000 (19:43 +0000)]
make now honor the FLAG env variable to pass additional parameters.
Sam Reed [Thu, 2 Dec 2010 19:39:32 +0000 (19:39 +0000)]
Per Roans request, Merge in r65475 (Database.php only) from querypage-work2 branch
Antoine Musso [Thu, 2 Dec 2010 19:33:15 +0000 (19:33 +0000)]
pipe does not look nice in doxygen. fu r77499
Roan Kattouw [Thu, 2 Dec 2010 18:45:21 +0000 (18:45 +0000)]
Fix r75994 per CR: don't pass an array as a JS string if MessageBlobStore::get() doesn't return a blob for a module
Sam Reed [Thu, 2 Dec 2010 17:23:56 +0000 (17:23 +0000)]
Followup r77556, set svn:eol-style native
Normalise svn:keywords accross all files too
Roan Kattouw [Thu, 2 Dec 2010 16:54:06 +0000 (16:54 +0000)]
Strip If-Modified-Since header to a valid timestamp in ResourceLoader; some clients (notably IE) append things like ;length=123. This is valid according to the HTTP spec but rarely used (and ignored by us). The recent wfTimestamp() rewrite caused a fatal error in wfTimestamp() when such a timestamp was fed to it. r77401 fixed this by trimming the timestamp in wfTimestamp() itself, but for cleanliness we should do this in RL too.
Roan Kattouw [Thu, 2 Dec 2010 16:42:38 +0000 (16:42 +0000)]
Correct typo in doc comment
Raimond Spekking [Thu, 2 Dec 2010 11:24:43 +0000 (11:24 +0000)]
Follow-up r77565: Add new message here too
Raimond Spekking [Thu, 2 Dec 2010 10:47:01 +0000 (10:47 +0000)]
Follow-up r77555: Add a commented out line with the new disableaccount right
Alexandre Emsenhuber [Thu, 2 Dec 2010 09:51:00 +0000 (09:51 +0000)]
* Convert ImportReporter::close() to use Status objects instead of int-or-WikiError
* WikiImporter::doImport() no longer returns a WikiError object but throws a MWException
Raimond Spekking [Thu, 2 Dec 2010 08:29:12 +0000 (08:29 +0000)]
Follow-up r77558: Use an own reason message instead of reusing another one
Raimond Spekking [Thu, 2 Dec 2010 08:10:14 +0000 (08:10 +0000)]
Consistency tweak: 'user name' -> 'username'. The latter seems more common.
Raimond Spekking [Thu, 2 Dec 2010 08:03:00 +0000 (08:03 +0000)]
Follow-up r77555: Remove unused message (used for extensions only)
Tweak messages for consistency
Update maintenance script
Raimond Spekking [Thu, 2 Dec 2010 07:49:10 +0000 (07:49 +0000)]
Show username in input field w/o underscores
While I am at it: Update to newer Xml/Html functions
Andrew Garrett [Thu, 2 Dec 2010 06:54:40 +0000 (06:54 +0000)]
Add alias for Special:DisableAccount
Andrew Garrett [Thu, 2 Dec 2010 05:28:36 +0000 (05:28 +0000)]
Add disableaccount to User::$mCoreRights
Andrew Garrett [Thu, 2 Dec 2010 05:27:32 +0000 (05:27 +0000)]
Add logging for Special:DisableAccount
nadeesha [Thu, 2 Dec 2010 04:21:29 +0000 (04:21 +0000)]
Test file deleted from Calcey
Andrew Garrett [Thu, 2 Dec 2010 04:17:11 +0000 (04:17 +0000)]
Merge DisableAccount extension into core, disabled by default because the rights are unassigned
nadeesha [Thu, 2 Dec 2010 04:13:47 +0000 (04:13 +0000)]
add test file from calcey to test commit access
Trevor Parscal [Wed, 1 Dec 2010 22:37:44 +0000 (22:37 +0000)]
Removed outline on focus for webkit.
Mark A. Hershberger [Wed, 1 Dec 2010 21:16:47 +0000 (21:16 +0000)]
* w/s fixup explosion for tests (aka “my OCD takes over”)
* “svn diff -x-w” shows no changes
Raimond Spekking [Wed, 1 Dec 2010 20:29:43 +0000 (20:29 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-12-01 20:19:00 UTC)
Mark A. Hershberger [Wed, 1 Dec 2010 20:22:45 +0000 (20:22 +0000)]
random w/s cleanup
Mark A. Hershberger [Wed, 1 Dec 2010 20:15:45 +0000 (20:15 +0000)]
* Commit changes to PG new-installer I thought I had done last week.
* Set up and use function for renaming tables
* Use $conn instead of $this when it is called for
* remove protection from commitChanges so the installer can use it
Sam Reed [Wed, 1 Dec 2010 13:36:53 +0000 (13:36 +0000)]
Revert r77491
Alexandre Emsenhuber [Wed, 1 Dec 2010 13:28:33 +0000 (13:28 +0000)]
Fix for r72421: correct command name
Platonides [Wed, 1 Dec 2010 00:30:35 +0000 (00:30 +0000)]
Follow up r71459
Deprecate Language::convertLinkToAllVariants() now.
Priyanka Dhanda [Wed, 1 Dec 2010 00:12:43 +0000 (00:12 +0000)]
Fixes bug 26163 - Missing categories and iw links on diff pages.
Platonides [Tue, 30 Nov 2010 23:46:14 +0000 (23:46 +0000)]
Use constants. Add spacing.
Bryan Tong Minh [Tue, 30 Nov 2010 20:57:22 +0000 (20:57 +0000)]
(bug 26160) Upload description set by extensions are not propagated
Regression originating from the UploadForm rewrite; going to mark for 1.16
Raimond Spekking [Tue, 30 Nov 2010 20:47:01 +0000 (20:47 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-11-30 20:23:00 UTC)
Sam Reed [Tue, 30 Nov 2010 19:38:04 +0000 (19:38 +0000)]
Remove some redundant character escapes from regexes
Sam Reed [Tue, 30 Nov 2010 19:34:48 +0000 (19:34 +0000)]
Remove unused parameter documentation
Sam Reed [Tue, 30 Nov 2010 19:06:28 +0000 (19:06 +0000)]
Few braces and spaces
Fixing up documentation
Sam Reed [Tue, 30 Nov 2010 18:55:03 +0000 (18:55 +0000)]
Qualify call to autoConvertToAllVariants from convertLinkToAllVariants in FakeConverter
Sam Reed [Tue, 30 Nov 2010 18:52:49 +0000 (18:52 +0000)]
qualify call to array_to_obj
Followup r70608
Sam Reed [Tue, 30 Nov 2010 18:50:07 +0000 (18:50 +0000)]
int() isn't a function
Sam Reed [Tue, 30 Nov 2010 18:44:50 +0000 (18:44 +0000)]
More unused variables
Sam Reed [Tue, 30 Nov 2010 18:37:56 +0000 (18:37 +0000)]
Assignment to $messages ($message = $this->escapeForScript($message);) seemed wrong
Roan Kattouw [Tue, 30 Nov 2010 18:37:08 +0000 (18:37 +0000)]
Fixes for r77451 per CR: add UploadStashZeroLengthFileException to AutoLoader and add $wgUploadStashScalerBaseUrl to DefaultSettings.php
Sam Reed [Tue, 30 Nov 2010 18:33:59 +0000 (18:33 +0000)]
Remove a couple of unused variables, add spaces, wrap some long lines
Sam Reed [Tue, 30 Nov 2010 18:29:08 +0000 (18:29 +0000)]
Switch + to . for string concat