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
Sam Reed [Tue, 30 Nov 2010 18:26:52 +0000 (18:26 +0000)]
More JS documentation fixups
Platonides [Tue, 30 Nov 2010 18:24:02 +0000 (18:24 +0000)]
Document a bit what's going on and get rid of a warning.
Platonides [Tue, 30 Nov 2010 18:21:55 +0000 (18:21 +0000)]
Replace addslashes with Database::addQuotes()
Sam Reed [Tue, 30 Nov 2010 18:19:27 +0000 (18:19 +0000)]
Start fixing up javascript function documentation
Switching order, renaming parameters in documentation
Sam Reed [Tue, 30 Nov 2010 18:18:48 +0000 (18:18 +0000)]
Fixup $gt
Neil Kandalgaonkar [Tue, 30 Nov 2010 05:43:26 +0000 (05:43 +0000)]
forgot to change the function signature after refactor here
Neil Kandalgaonkar [Tue, 30 Nov 2010 04:47:00 +0000 (04:47 +0000)]
matching returns
Neil Kandalgaonkar [Tue, 30 Nov 2010 04:40:34 +0000 (04:40 +0000)]
better error checking, fixed a few bugs with remote content scaling
Neil Kandalgaonkar [Tue, 30 Nov 2010 04:40:05 +0000 (04:40 +0000)]
removed debug statement
Philip Tzou [Tue, 30 Nov 2010 03:04:47 +0000 (03:04 +0000)]
Select a friendly sub-language while acquiring system messages if the uselang has multiple variants available for use.
Neil Kandalgaonkar [Tue, 30 Nov 2010 02:45:10 +0000 (02:45 +0000)]
Dual strategy thumbnailing -- locally for development and simpler wikis, or in the cluster for setups like the WMF's
When we did our test deploy, we found that we could not scale thumbnails locally in the cluster (and this was undesirable anyway).
So, we moved UploadStash thumbnailing to occur on URL invocation, which is more like the usual MediaWiki model anyway. So the customized transform()
moved from UploadStash to just being a special case of how SpecialUploadStash does things.
Note that the Special:UploadStash url masks how the thumbnail is obtained. Unlike the regular Commons wiki, the user never sees the cluster's URL for the thumbnail.
A web request, or an imageMagick call, is performed right there and then, and the results are catted out to the client.
For consistency, we did not use wfStreamfile since we were in some cases streaming from contents obtained over the MWhttpRequest, not just local files.
Trevor Parscal [Tue, 30 Nov 2010 01:40:22 +0000 (01:40 +0000)]
Added missing name setting when initializing modules from preloaded info.
Platonides [Mon, 29 Nov 2010 16:34:28 +0000 (16:34 +0000)]
Fix potential html injection when the database server isn't available (bug 26164).
Wikis which set $wgServer in their LocalSettings or are in a virtual
host would never be vulnerable.
For sites which show the wiki in the default host, it will depend on how
forgiving is their webserver and php stack for that garbled input, although
some kind of foolable proxy —moreover wrongly caching errors (or the default
output buffering is disabled and something incorrectly sent a previous text)—
would also need to be present in order to make that useful for a
potential attacker.
Sam Reed [Mon, 29 Nov 2010 00:41:56 +0000 (00:41 +0000)]
Followup r77393, restore commented variable in SpecialPrefixindex as the variable is mentioned in a fixme comment below
Sam Reed [Mon, 29 Nov 2010 00:32:24 +0000 (00:32 +0000)]
Minor followup to r77393, change =&Method() to = &Method()
Sam Reed [Mon, 29 Nov 2010 00:28:04 +0000 (00:28 +0000)]
Fix spaces to tabs from r77393
Sam Reed [Mon, 29 Nov 2010 00:26:40 +0000 (00:26 +0000)]
Revert global removals in test/ from r77393
Aryeh Gregor [Mon, 29 Nov 2010 00:11:19 +0000 (00:11 +0000)]
Give image <gallery>s fluid width
Bug 3276. Patch by DieBuche, with style cleanups by me, plus a tweak
from comment 27 of the bug to fix spacing. This incidentally removes
the border around galleries, but this was hard to notice anyway, and
could be easily readded if desired. Tested in a few browsers, including
IE6, but more testing and/or input from CSS gurus would be appreciated.
Updates parser tests, including for Cite.
Aryeh Gregor [Mon, 29 Nov 2010 00:10:59 +0000 (00:10 +0000)]
Revert r42257 "Convert literal tabs to 	 when passing them through Tidy, to prevent them from being clobbered."
This caused bug 16108, and also broke the patch to bug 3276. The commit
doesn't explain why it's useful or what it fixes, although Platonides
asked on Code Review in 2008, so that's two problems it's caused with no
benefits I've seen.
Platonides [Sun, 28 Nov 2010 22:51:25 +0000 (22:51 +0000)]
Follow up r77407. Do it Right.
Fixes wfTimestamp() returning 0 instead of now.
Platonides [Sun, 28 Nov 2010 22:44:14 +0000 (22:44 +0000)]
Use always DatabaseBase::timestampoOrNull for user_newpass_time field, as done in loadFromRow()/saveSettings()
-- línea y las que están debajo serán ignoradas--
M User.php
Platonides [Sun, 28 Nov 2010 22:40:29 +0000 (22:40 +0000)]
Fix bug introduced in r77171
Platonides [Sun, 28 Nov 2010 22:27:50 +0000 (22:27 +0000)]
Follow up r77401.
Mixture of null/false.
Happens to also fix the parsertests issue.
Platonides [Sun, 28 Nov 2010 21:59:16 +0000 (21:59 +0000)]
Fix bug discovered in r77171 from the user data in If-Modified-Since passed by resource loader.
Added in wfTimestamp reading support for the three http date formats.
Increased conformance reading rfc2822 dates (read support added in r71750/r71751). We may not want full compliance with rfc2822, though.
The only provider of rfc2822 dates is probably http and that uses a subset (it's rfc822 + 4-digit years from rfc1123).
Make wfTimestamp() return false in case of a wrong input, according to CR.
Raimond Spekking [Sun, 28 Nov 2010 20:45:25 +0000 (20:45 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-11-28 20:30:00 UTC)
Sam Reed [Sun, 28 Nov 2010 16:13:13 +0000 (16:13 +0000)]
Remove some unused variables and globals
Sam Reed [Sun, 28 Nov 2010 16:05:41 +0000 (16:05 +0000)]
ImagePage subclasses Article, therefore use parent::getContent()
Sam Reed [Sun, 28 Nov 2010 16:04:48 +0000 (16:04 +0000)]
Fix 1 deprecated method call in SpecialPage, and 3 non static methods called statically
Sam Reed [Sun, 28 Nov 2010 15:40:15 +0000 (15:40 +0000)]
Tweak some documentation
Andrew Garrett [Sun, 28 Nov 2010 03:21:16 +0000 (03:21 +0000)]
Remove isValidPassword check from User::checkPassword. It is hugely annoying to suddenly have the system decide that your password is not strong enough and decide that, as a consequence, you are not allowed to log in anymore. Password strength checking should only be there for changing passwords, not using them!
Roan Kattouw [Sat, 27 Nov 2010 22:39:56 +0000 (22:39 +0000)]
Fix bug in load balancer: filter out non-replicating slaves (or slaves otherwise not reporting their lag) even if no max lag is specified
Roan Kattouw [Sat, 27 Nov 2010 22:36:05 +0000 (22:36 +0000)]
Fix typo in LoadBalancer.php
Raimond Spekking [Sat, 27 Nov 2010 22:30:05 +0000 (22:30 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-11-27 22:16:00 UTC)
Bryan Tong Minh [Sat, 27 Nov 2010 19:24:48 +0000 (19:24 +0000)]
(bug 10268) Added linktodiffs parameter on action=feedwatchlist
Antoine Musso [Sat, 27 Nov 2010 19:01:51 +0000 (19:01 +0000)]
Stylize. No differences when using: svn diff -x -wu
Bryan Tong Minh [Sat, 27 Nov 2010 18:51:17 +0000 (18:51 +0000)]
(bug 26125) prop=imageinfo&iiprop=size now returns the page count if the file is a multi-page file
Also fix blatant lie in File::pageCount()
Sam Reed [Sat, 27 Nov 2010 15:35:57 +0000 (15:35 +0000)]
Revert r77358, didn't have intended affect, and broke unittests
Sam Reed [Sat, 27 Nov 2010 15:25:57 +0000 (15:25 +0000)]
Create instance of Maintenance class after AutoLoader and Defines
Reason: We might want to use class stuff in the Maintenance constructor (re r77355)
Victor Vasiliev [Sat, 27 Nov 2010 14:55:54 +0000 (14:55 +0000)]
Fix r77309 per CR: use appropriate function in ResourceLoaderWikiModule to check the validity of CSS user subpage.
Sam Reed [Sat, 27 Nov 2010 14:18:54 +0000 (14:18 +0000)]
$options doesn't exist in PurgeList
Change to getOptions, and addOption in Constructor
Antoine Musso [Sat, 27 Nov 2010 11:29:23 +0000 (11:29 +0000)]
Test normalizeForSearch and commafy
See bug 23156 and r64981
Raimond Spekking [Fri, 26 Nov 2010 21:52:21 +0000 (21:52 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-11-26 21:27:00 UTC)
Platonides [Fri, 26 Nov 2010 19:16:28 +0000 (19:16 +0000)]
Fix per r76545 CR.
Platonides [Fri, 26 Nov 2010 15:47:51 +0000 (15:47 +0000)]
Follow up r77171
Sam Reed [Fri, 26 Nov 2010 12:06:50 +0000 (12:06 +0000)]
Set blank $fname
Philip Tzou [Fri, 26 Nov 2010 07:48:41 +0000 (07:48 +0000)]
Add a new method 'spamPageWithContent' to class EditPage. User can be allowed to view his/her diff and submitted text when hit the spam-filter. The changes to extension SpamBlacklist will be followed up soon.
Antoine Musso [Fri, 26 Nov 2010 07:45:12 +0000 (07:45 +0000)]
doc comments: fix grammar and return parameter. fu r77296
Mark A. Hershberger [Fri, 26 Nov 2010 02:37:28 +0000 (02:37 +0000)]
revert r77271 since it was an expensive fix to a non-existant problem.
Mark A. Hershberger [Fri, 26 Nov 2010 01:16:52 +0000 (01:16 +0000)]
follow r77243 and r77315 which claimed to fix, but didn't -- fix the unit test was that accidently hide the bug
Mark A. Hershberger [Fri, 26 Nov 2010 00:21:36 +0000 (00:21 +0000)]
follow r77243 -- unit test was coded to hide the bug... doh! fix it up
Victor Vasiliev [Thu, 25 Nov 2010 23:12:05 +0000 (23:12 +0000)]
* Show "skin does not exist error" only when the skin is inputted in the wrong case. This seems to be the original intention. Otherwise it renders the warning on the completely legitimate subpages with user scripts.
* Deprecate isValidUserCssJSSubpage() as having a very confusing title. User scripts *are* valid user JS subpages.