Commit graph

39948 commits

Author SHA1 Message Date
Raimond Spekking
6e7b7b51a9 r106752: Add two more new message keys to maintenance file 2011-12-20 20:41:01 +00:00
Chad Horohoe
9ee17e43f6 Simplify $assoc check 2011-12-20 20:15:42 +00:00
Aaron Schulz
9e61d94e0e FU r106770: fixed the other getTransform() call 2011-12-20 20:15:05 +00:00
Aaron Schulz
14863b9aa5 Cleaned up some references to FSRepo in code and comments. This should have no noticeable functional changes. 2011-12-20 19:25:23 +00:00
Aaron Schulz
a51a193f85 FU r106752: added b/c code to FSRepo to make things easy for extensions (like ConfirmAccount) 2011-12-20 18:55:50 +00:00
Alexandre Emsenhuber
dfbec4385b Fix casing of Language::timeanddate calls 2011-12-20 18:09:21 +00:00
Alexandre Emsenhuber
5cf8793bea Use local context to get messages 2011-12-20 18:07:19 +00:00
Siebrand Mazeland
490ae57f36 Update punctuation for recently added messages. 2011-12-20 17:26:57 +00:00
Jure Kajzer
ec53acbede * removed manual cascading of recentchanges on page delete
* fixed purgeCache bug in updater
* TESTED install/update from 1.18/phpunit
2011-12-20 16:11:45 +00:00
Sam Reed
a818723197 Fix AutoLoader fail from r106800 2011-12-20 15:02:39 +00:00
Raimond Spekking
bba9c516e5 Fix typo spotted by Roan. Originated in r106752, cp error in r106796. 2011-12-20 14:23:20 +00:00
Sam Reed
1bbdc44b31 Move registration form template to its own file 2011-12-20 14:01:09 +00:00
Raimond Spekking
ba6018a6e4 r106752: Add block comments 2011-12-20 13:34:36 +00:00
Sam Reed
86b50cafed Fix for r104684
Using "$result['sectionanchor'] == ''; rather than "$result['sectionanchor'] = '';"...
2011-12-20 12:36:34 +00:00
Santhosh Thottingal
064f6c08ee Correct the error dialog display. 2011-12-20 12:07:22 +00:00
Niklas Laxström
91a03b9b58 Fix for bug 33270: default to 'default' search profile
Had this fixed in one of my wikies but not committed
2011-12-20 11:17:36 +00:00
Brian Wolff
1427dd0d42 (bug 33156) Special:block didn't let you confirm blocking yourself if using non-normalized name.
Was comparing the normalized name to the non-normalized name that gets inserted into the form, since
request variables from previous request override form defaults.
2011-12-20 10:15:18 +00:00
Alexandre Emsenhuber
148549a687 Fix for r102116: link feed to Special:Recentchanges, not current page 2011-12-20 09:12:20 +00:00
Aaron Schulz
ff404538c2 Set deleted zone container in parserTest.inc 2011-12-20 08:47:48 +00:00
Aaron Schulz
967c0cbe7f FU r106752: unbreak "other sizes" links on File: pages by working around the suck /media system. 2011-12-20 08:38:55 +00:00
Siebrand Mazeland
0b9ecc9e0f Remove trailing whitespace and a few superfluous empty lines. 2011-12-20 08:21:54 +00:00
Brian Wolff
4fbaeb946c Don't re-use allinnamespace as the header for special:prefixindex. instead introduce new message prefixindex-namespace
Hopefully directly editing MessagesQqq.php like I did is ok... I can never remember if i'm supposed to do that, or if it will just be overridden on next translatewiki export.
2011-12-20 07:55:44 +00:00
Aaron Schulz
5d43d6c1f2 Set deleted zone container in UploadFromUrlTestSuite 2011-12-20 07:55:16 +00:00
Aaron Schulz
8bf318d90f FU r106752: Fixed directory b/c for ForeignAPIRepo, which was moved to Setup.php 2011-12-20 07:53:48 +00:00
Max Semenik
6bd85a6a2c Follow-up r97303: sort module names in paraminfo's paraminfo 2011-12-20 07:50:45 +00:00
Brian Wolff
34791773f8 follow-up r98710/r104410. I personally think that forRefresh is confusing, since a purge is always in essence a "refresh"ing operation. change it to forThumbRefresh. 2011-12-20 06:48:05 +00:00
Brian Wolff
957850f0da If you request LogEventList to display the combination of 2 log types, and one of
those logs are restricted, will generate a warning, since it removes first entry of
array, but doesn't re-index the array, and subsequent code makes assumptions of the
form if ( count( $this->types ) $singleType = $this->types[0] (which doesn't work, as
first index is 1).

Thus cause array to be re-indexed if a $wgLogRestriction causes a log type to be removed.

Steps to reproduce the issue is make deletion log restricted, then view a (non-existent) user page.

Personally I think its kind of weird/wrong that if someone restricts both the move and delete log,
then viewing a non-existent will give "This page has been deleted, here's delete log:" followed by an
entry from *any* public log.
2011-12-20 06:16:08 +00:00
Tim Starling
2ba6b03e8e * Fix class name
* unset($wgMemc) doesn't actually do anything useful, it just removes the reference from the local scope. Set it to NULL instead.
2011-12-20 04:39:12 +00:00
Tim Starling
1312f8a626 Don't suppress warnings when attempting file creation for the second time, this masks important error messages 2011-12-20 04:36:27 +00:00
Ryan Kaldari
7e903243c6 $reqArr is an ambiguous variable name - req can mean required or request. Changing to an unambiguous name 2011-12-20 04:22:06 +00:00
Ryan Kaldari
ac64223568 adding sectiontitle/wgSectionTitle as a new parameter for page editing (so that it can be set separately from the edit summary). For right now, this is just for API use, and thus isnt used in the form. As soon as 1.19 is out the door, we should change the form to use this as well. The current implementation is designed to be completely backward-compatible and non-disruptive 2011-12-20 04:15:21 +00:00
Aaron Schulz
5275f9b097 Merged FileBackend branch. Manually avoiding merging the many prop-only changes SVN likes to sprinkle in (easy to spot from the change list). Did not add SwiftFileBackend.php as it still is in development. 2011-12-20 03:52:06 +00:00
Aaron Schulz
e6f780d48d Reverted r101014 per CR. Added comment. The sooner RL2 kills this the better... 2011-12-20 00:57:25 +00:00
Sam Reed
c72490b6b2 Fix $imit to $limit
Followup r106567
2011-12-19 23:33:37 +00:00
Platonides
dc48a07d25 ExtraParserTest::testTrackingCategory and ExtraParserTest::testTrackingCategorySpecial need a db 2011-12-19 21:00:03 +00:00
Alexandre Emsenhuber
50651d4a1d Use local context to get message 2011-12-19 20:20:47 +00:00
Raimond Spekking
a8bb7416f9 Localisation updates for core and extension messages from translatewiki.net 2011-12-19 20:15:36 +00:00
Neil Kandalgaonkar
5513aad67f add docs for feedback messages 2011-12-19 19:46:52 +00:00
Sam Reed
6c507f38c0 Followup r106619, mark said method public due to callers 2011-12-19 19:07:18 +00:00
Alexandre Emsenhuber
bb91f74ad2 * Use Language::userTimeAndDate() and related instead of Language::timeanddate() when using user preferences to display dates
* Use local variables instead of calling some methods three times
* Fixed casing of remaining Language::timeanddate() call
2011-12-19 18:19:03 +00:00
Alexandre Emsenhuber
bd8d61b213 Pass the User object to Title::userCan() 2011-12-19 16:10:06 +00:00
Alexandre Emsenhuber
9717e5cb18 * Inlinise the only usage of $user in MediaWiki::main()
* Change the name of the variable containing the WikiPage object for more consistency
2011-12-19 16:05:47 +00:00
Sam Reed
8126793bbf @private is a lie, based on usage, it'd need to be at least protected
Removing useless documentation replacing with param/return doc
2011-12-19 01:07:30 +00:00
Jeroen De Dauw
c65cceab1f doc++ 2011-12-18 21:29:41 +00:00
Raimond Spekking
69e4121770 Localisation updates for core and extension messages from translatewiki.net 2011-12-18 20:47:06 +00:00
Robin Pepermans
7b8240ae5f Follow-up r103640 2011-12-18 19:20:41 +00:00
Alexandre Emsenhuber
c67fa68c7c * Use local context to get messages
* Use Language::userTimeAndDate(), Language::userTime() and Language::userDate() instead of Language::timeAndDate(), Language::time(), Language::date() to not depend on $wgUser
* Replaced empty() check by check against explicit values
2011-12-18 19:04:25 +00:00
Robin Pepermans
e9033cbf82 Follow-up r106559: it's better to set the preference for own MediaWiki names in Language::getTranslatedLanguageNames. More consistent and saves some code :)
Also update Babel to use that function.
2011-12-18 17:58:47 +00:00
Aaron Schulz
3a0a647efb FU r106514: use base 16 SHA-1 to be consistent with image info 2011-12-18 16:35:45 +00:00
Robin Pepermans
d7caf17382 Remove ltr class (see r89466), it should not be used at all, because 1) the name is too general, 2) it is automatically added to the body element (colliding class names) and 3) it is better to use HTML dir="ltr" as in r105929. 2011-12-18 16:25:45 +00:00