X! [Mon, 9 Aug 2010 16:26:35 +0000 (16:26 +0000)]
Followup to r70701: Facepalm fixing.
Max Semenik [Mon, 9 Aug 2010 16:17:00 +0000 (16:17 +0000)]
Fixes for password checker from r70520:
* Removed the upper bound for brute force complexity checks
* Score for repetitions is now linear and is subtracted from brute force score to avoid overpenalizing long passwords
* Disabled checks by default for now, since many people consider them overly intrusive
* Made OutputPage::addPasswordSecurity() include jQuery just in case it's not already included
* Documented a little
Roan Kattouw [Mon, 9 Aug 2010 15:35:36 +0000 (15:35 +0000)]
Swap order of exists() and isAlwaysKnown() checks, as the latter is generally less expensive. Could not reproduce a case where Linker::link() actually caused an existence check to be ran for an always-known title, though.
Platonides [Mon, 9 Aug 2010 15:28:23 +0000 (15:28 +0000)]
It should only be saved in the ParserCache if it IS cacheable.
Confusion in r67185, when translating the original condition (!= -1)
into the new isCacheable().
Platonides [Mon, 9 Aug 2010 14:58:08 +0000 (14:58 +0000)]
Move pieces related to ParserOutput expiry into a new CacheTime class.
Tim Starling [Mon, 9 Aug 2010 08:33:42 +0000 (08:33 +0000)]
* Revert r66878, completely misses the point of factoring out doEdit() in the first place, which was to separate the UI layer from the backend layer, to support callers with alternate UIs or no UIs.
* Reverted followup 66880.
* Reverted dependent changes r67752, r68606, r68608, r68609. The point of deprecating insertArticle()/updateArticle() was to allow the UI code to be moved to EditPage. If you move that exact EditPage-specific functionality back into Article::doEdit(), and call it from all sorts of non-EditPage places, then we'll hit the same sorts of bugs we had before r14834.
Tim Starling [Mon, 9 Aug 2010 07:41:25 +0000 (07:41 +0000)]
Per CR r52888, have Article::getParserOptions() clone the object itself, so that the caller doesn't have to do it.
Huji [Mon, 9 Aug 2010 06:33:54 +0000 (06:33 +0000)]
Reverting r70585 since it breaks the whole functionality. Bug 24700 reopened.
Jeroen De Dauw [Mon, 9 Aug 2010 06:16:05 +0000 (06:16 +0000)]
Added ExtensionTypes hook that can be called from static context and deprecated the old one.
Jeroen De Dauw [Mon, 9 Aug 2010 01:12:21 +0000 (01:12 +0000)]
This change puts extensions that have an unknown type into the 'other' category, instead of not displaying them at all, and ensures this category is displayed as the last one (not careful use of SpecialVersionExtensionTypes broke this).
Jeroen De Dauw [Mon, 9 Aug 2010 00:21:09 +0000 (00:21 +0000)]
Made base extension types accessible for other code
X! [Mon, 9 Aug 2010 00:19:55 +0000 (00:19 +0000)]
Add format=dump and format=dumpfm, outputs results in PHP's var_dump() format. Finding the type of a variable is a little annoying with txt, and dbg is a little bit harder to parse.
Jeroen De Dauw [Sun, 8 Aug 2010 22:05:49 +0000 (22:05 +0000)]
Follow up to r70661. Restored original behavior but with logical use of the boolean.
Raimond Spekking [Sun, 8 Aug 2010 19:49:46 +0000 (19:49 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-08-08 19:31:00 UTC)
Alexandre Emsenhuber [Sun, 8 Aug 2010 18:46:49 +0000 (18:46 +0000)]
Modified Special:Movepage to subclass UnlistedSpecialPage
Alexandre Emsenhuber [Sun, 8 Aug 2010 17:46:52 +0000 (17:46 +0000)]
Moved the @todo to the bottom of the comment; seems doxygen is taking the "This program is free software; [...]" part inside it
Jack Phoenix [Sun, 8 Aug 2010 16:57:31 +0000 (16:57 +0000)]
coding style tweaks
Aryeh Gregor [Sun, 8 Aug 2010 16:51:09 +0000 (16:51 +0000)]
Update tables.sql for category sorting changes
Pointed out by X! on Code Review for r69961. There are a couple of
FIXMEs here, I'm waiting for review to evaluate how to fix them.
Jack Phoenix [Sun, 8 Aug 2010 16:45:14 +0000 (16:45 +0000)]
follow-up to r70703: converted spaces to tabs and trimmed trailing spaces
Chad Horohoe [Sun, 8 Aug 2010 16:35:17 +0000 (16:35 +0000)]
(bug 24408) Remove include path changes in LocalSettings.php. Not needed, as everything should be in the Autoloader
Chad Horohoe [Sun, 8 Aug 2010 16:21:28 +0000 (16:21 +0000)]
Followup r70711, release notes
Chad Horohoe [Sun, 8 Aug 2010 16:06:21 +0000 (16:06 +0000)]
Greatly simplify path and extension detection for NoLocalSettings.php. Fixes bug 21215.
X! [Sun, 8 Aug 2010 15:33:43 +0000 (15:33 +0000)]
(bug 24722) Only show blockinfo if user is actually blocked for list=allusers
Chad Horohoe [Sun, 8 Aug 2010 15:30:40 +0000 (15:30 +0000)]
Remove OK message for SQLite search. Outputs as warning and is potentially confusing
Chad Horohoe [Sun, 8 Aug 2010 15:29:32 +0000 (15:29 +0000)]
Tweak output from install. Make non-fatals still say OK, but output their possible warnings.
X! [Sun, 8 Aug 2010 15:03:30 +0000 (15:03 +0000)]
Followup to r70658: Code styling, use ApiPageSet to fix redirects.
Alexandre Emsenhuber [Sun, 8 Aug 2010 14:58:29 +0000 (14:58 +0000)]
Removed PHP4-ism
X! [Sun, 8 Aug 2010 14:55:08 +0000 (14:55 +0000)]
Followup to r70638: Clean up code, add prop to function args, add comment
Alexandre Emsenhuber [Sun, 8 Aug 2010 14:28:01 +0000 (14:28 +0000)]
Seems I forgot to commit these files in r70699
Alexandre Emsenhuber [Sun, 8 Aug 2010 14:23:14 +0000 (14:23 +0000)]
* Standardised file description headers
* Added some descriptions
* Added @file where needed
Niklas Laxström [Sun, 8 Aug 2010 14:04:56 +0000 (14:04 +0000)]
* Removed unused globals: $wgEnableSerializedMessages, $wgCheckSerialized,
$wgUseMemCached, $wgDisableSearchContext, $wgColorErrors,
$wgUseZhdaemon, $wgZhdaemonHost and $wgZhdaemonPort.
Followup: r70691, r70694, r70695, r70696, r70697.
Niklas Laxström [Sun, 8 Aug 2010 14:01:15 +0000 (14:01 +0000)]
Removed $wgUseZhdaemon, $wgZhdaemonHost and $wgZhdaemonPort. Apparently unused since r6878 at 2004-12-29.
Niklas Laxström [Sun, 8 Aug 2010 13:52:39 +0000 (13:52 +0000)]
Remove $wgColorErrors. Apparently unused at least since r17991 at 2006-11-29
Niklas Laxström [Sun, 8 Aug 2010 13:49:19 +0000 (13:49 +0000)]
Remove $wgDisableSearchContext, unused for a long time. Can't find exact revision.
Max Semenik [Sun, 8 Aug 2010 13:22:22 +0000 (13:22 +0000)]
Removed deprecated $wgUseMemCached from DefaultSettings, not used anywhere
Chad Horohoe [Sun, 8 Aug 2010 13:16:10 +0000 (13:16 +0000)]
Kill NamespaceCompat. Nothing, anywhere (not even comments, since r70692) still references the old class. To do so means to not support 5.3+
Niklas Laxström [Sun, 8 Aug 2010 13:06:16 +0000 (13:06 +0000)]
Removed $wgEnableSerializedMessages and $wgCheckSerialized again.
Were removed by tim on r52503, came back with r53282 which is marked as reverted but apparently is not.
Chad Horohoe [Sun, 8 Aug 2010 12:27:48 +0000 (12:27 +0000)]
Big commit: kill almost every freeResult() call as useless
Alexandre Emsenhuber [Sun, 8 Aug 2010 12:09:18 +0000 (12:09 +0000)]
Fix for r70684: correct description
Alexandre Emsenhuber [Sun, 8 Aug 2010 11:55:47 +0000 (11:55 +0000)]
* standardised file headers
* added a basic description
* added @file
Alexandre Emsenhuber [Sun, 8 Aug 2010 10:44:59 +0000 (10:44 +0000)]
* standardised file headers
* added a basic description
* added @file
Alexandre Emsenhuber [Sun, 8 Aug 2010 09:55:56 +0000 (09:55 +0000)]
* fixed doxygen warnings
* @addtogroup -> @ingroup
* removed incorrect copyright notice
* added a file description sentence
Jeroen De Dauw [Sun, 8 Aug 2010 07:06:09 +0000 (07:06 +0000)]
Fixed mistake in docs
Niklas Laxström [Sun, 8 Aug 2010 06:36:44 +0000 (06:36 +0000)]
Mark the comment as documentation
Niklas Laxström [Sun, 8 Aug 2010 06:36:00 +0000 (06:36 +0000)]
Followup r70515, commiting forgotten file
Max Semenik [Sun, 8 Aug 2010 06:35:41 +0000 (06:35 +0000)]
(bug 15470) First letters of filenames are always capitalized by upload JS
Jeroen De Dauw [Sun, 8 Aug 2010 05:21:14 +0000 (05:21 +0000)]
Fixed minor logic error that caused layout issues
X! [Sun, 8 Aug 2010 01:14:48 +0000 (01:14 +0000)]
(bug 24330) Add &redirect parameter to ?action=edit
Niklas Laxström [Sun, 8 Aug 2010 00:28:17 +0000 (00:28 +0000)]
Allow negative caching in process cache and use it, return early in replace() if cannot use db
Niklas Laxström [Sat, 7 Aug 2010 23:43:28 +0000 (23:43 +0000)]
Use for loops for iterating query results
Niklas Laxström [Sat, 7 Aug 2010 23:41:03 +0000 (23:41 +0000)]
Spelling fixes in documentation
Platonides [Sat, 7 Aug 2010 22:35:23 +0000 (22:35 +0000)]
Make thumbsize option go through ParserOptions.
Yet another parameter for makeImageLink2...
Platonides [Sat, 7 Aug 2010 22:17:00 +0000 (22:17 +0000)]
Some minor changes I had in my working copy.
Platonides [Sat, 7 Aug 2010 21:21:28 +0000 (21:21 +0000)]
Revert r70533 and the piece of r70501 that it tried to fix. Note and open bug for the issue.
This has been present since introduction of {{#formatdate: }} in r48249 (bug 4582)
Siebrand Mazeland [Sat, 7 Aug 2010 21:12:36 +0000 (21:12 +0000)]
Tweak "config-install-interwiki-exists". Spotted by Hamilton Abreu.
Alexandre Emsenhuber [Sat, 7 Aug 2010 20:53:41 +0000 (20:53 +0000)]
This documents the file, not the constant below :)
Alexandre Emsenhuber [Sat, 7 Aug 2010 20:28:58 +0000 (20:28 +0000)]
* changed @addtogroup to @ingroup
* added @file
Alexandre Emsenhuber [Sat, 7 Aug 2010 19:59:42 +0000 (19:59 +0000)]
Standardised file description headers, added @file
Raimond Spekking [Sat, 7 Aug 2010 19:16:16 +0000 (19:16 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-08-07 18:45:00 UTC)
Alexandre Emsenhuber [Sat, 7 Aug 2010 19:10:28 +0000 (19:10 +0000)]
Fix for r68897: correct use of wfAppendQuery()
Alexandre Emsenhuber [Sat, 7 Aug 2010 18:56:52 +0000 (18:56 +0000)]
Per comments, follow-up to r70278: make patrol tokens compatibles between api and normal interface
X! [Sat, 7 Aug 2010 18:50:23 +0000 (18:50 +0000)]
-(bug 24484) Add prop=pageprops module
-Add $wgPageProps global variable
Alexandre Emsenhuber [Sat, 7 Aug 2010 18:32:39 +0000 (18:32 +0000)]
Added a note to set $wgShowExceptionDetails = true; in LocalSettings.php to get details when encoutring an second exception in the exception handler
Sam Reed [Sat, 7 Aug 2010 17:41:51 +0000 (17:41 +0000)]
Remove redundant text post r70628
X! [Sat, 7 Aug 2010 16:51:25 +0000 (16:51 +0000)]
Followup to r70584: Use fourth parameter of ApiQueryBase::addWhereRange instead of a second call
X! [Sat, 7 Aug 2010 16:46:57 +0000 (16:46 +0000)]
Followup r70587: Remove unnecessary references
Roan Kattouw [Sat, 7 Aug 2010 16:08:22 +0000 (16:08 +0000)]
Hack up UserRightsProxy to support setting preferences of remote users, needed for a feature in PrefSwitch I'm about to commit. The way this hacks around UserRightsProxy's 'helpful' behavior of refusing to work with wikis not in $wgLoclDatabases is kinda ugly (I'm open to alternative suggestions), but then this entire class is an ugly hack and should be replaced by something more sane (even brion, its author, agrees with this :P)
Alexandre Emsenhuber [Sat, 7 Aug 2010 14:58:18 +0000 (14:58 +0000)]
Removed @package and added @file from the documentation for consistency with other files
Alexandre Emsenhuber [Sat, 7 Aug 2010 14:35:18 +0000 (14:35 +0000)]
Put copyright notice in the standard place (and added @file)
Sam Reed [Sat, 7 Aug 2010 13:57:15 +0000 (13:57 +0000)]
Update outdated API documentation... (is this file even used any more?)
Siebrand Mazeland [Sat, 7 Aug 2010 12:45:10 +0000 (12:45 +0000)]
Revert changes to SpecialSearch.php in r70608 because Special:Search didn't load anymore.
PHP Notice: Undefined property: SpecialSearch::$searchEngine in /www/w/includes/specials/SpecialSearch.php on line 796
catrope on IRC:
It asks the backend ($this->searchEngine) if it supports redirects but $this->searchEngine is only set in the code that generates results
So viewing Special:Search with no results listing has that var unset
Max Semenik [Sat, 7 Aug 2010 07:51:52 +0000 (07:51 +0000)]
Good bye, SearchMysql4!
Max Semenik [Sat, 7 Aug 2010 07:38:05 +0000 (07:38 +0000)]
Not implemented != deprecated
Max Semenik [Sat, 7 Aug 2010 07:31:21 +0000 (07:31 +0000)]
Typo in message, spotted by Hamilton Abreu on TWN
Huji [Sat, 7 Aug 2010 05:20:45 +0000 (05:20 +0000)]
Updating main-ltr.css for Vector skin to ensure the RTL stylesheet mirros all items from the LTR layout correctly. (See comments on mediawiki.org/wiki/Special:Code/MediaWiki/70549)
Max Semenik [Sat, 7 Aug 2010 05:10:02 +0000 (05:10 +0000)]
Follow-up r70608: you don't need to override this stuff with empty functions, they're empty in the base class already
Ryan Bies [Fri, 6 Aug 2010 23:44:00 +0000 (23:44 +0000)]
DatabaseMssql class and related changes
Raimond Spekking [Fri, 6 Aug 2010 22:24:01 +0000 (22:24 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-08-06 22:06:00 UTC)
Chad Horohoe [Fri, 6 Aug 2010 21:10:18 +0000 (21:10 +0000)]
Fix for r70571, still have to use $_COOKIE here too, $wgContLang is undefined so far
Rotem Liss [Fri, 6 Aug 2010 21:04:36 +0000 (21:04 +0000)]
Typo.
Rotem Liss [Fri, 6 Aug 2010 21:04:19 +0000 (21:04 +0000)]
Localization update for he.
Philip Tzou [Fri, 6 Aug 2010 20:05:07 +0000 (20:05 +0000)]
Refactor Makefile.py. Add new function to manualWordsTable() and fix bug for parsing tsi.src.
X! [Fri, 6 Aug 2010 19:25:34 +0000 (19:25 +0000)]
* (bug 24236) Add add, remove, add-self, remove-self tags to meta=siteinfo&siprop=usergroups
Huji [Fri, 6 Aug 2010 19:07:56 +0000 (19:07 +0000)]
(bug 24700) Update dialog shown when clicking on the special page tab after saving preferences
X! [Fri, 6 Aug 2010 18:58:10 +0000 (18:58 +0000)]
* (bug 24677) axto= parameters added to allcategories, allimages, alllinks, allmessages, allpages, and allusers
Roan Kattouw [Fri, 6 Aug 2010 16:02:42 +0000 (16:02 +0000)]
wfForeignMemcKey() just exists, we don't have to keep around crazy back compat for that
Chad Horohoe [Fri, 6 Aug 2010 15:00:43 +0000 (15:00 +0000)]
Cleanup getCookie() and use it all over the place instead of using $_COOKIE directly
Sam Reed [Fri, 6 Aug 2010 14:12:41 +0000 (14:12 +0000)]
Change statsOutput to parent, wikiStatsOutput is a subclass of statsOutput
Sam Reed [Fri, 6 Aug 2010 13:28:34 +0000 (13:28 +0000)]
RELEASE-NOTES for r70557
Chad Horohoe [Fri, 6 Aug 2010 13:07:46 +0000 (13:07 +0000)]
(bug 22514) SpecialRecentChangesQuery should also work on Special:RecentChangesLinked. Commented since inception, no reason not to call it here as well. Need this for FlaggedRevs stuff later anyway ;-)
Chad Horohoe [Fri, 6 Aug 2010 12:54:39 +0000 (12:54 +0000)]
Remove dupe implementations of begin/commit from Postgres. Also included checks for $mTrxLevel on commit/rollback, based on patch on bug 24629
Roan Kattouw [Fri, 6 Aug 2010 12:15:23 +0000 (12:15 +0000)]
(bug 24665) When starttimestamp is not specified, fake it by setting it to NOW, not to the timestamp of the last edit. This caused 'pagedeleted' errors for pages that were deleted then partially undeleted that could only be gotten rid of by setting starttimestamp, while the docs claim not setting starttimestamp causes all such errors to be silenced
Chad Horohoe [Fri, 6 Aug 2010 12:12:29 +0000 (12:12 +0000)]
(bug 24687) Remove spurious require() calls. Everything in StubObject is a class and in the autoloader
Sam Reed [Fri, 6 Aug 2010 11:20:39 +0000 (11:20 +0000)]
Reduce unnecessary seperate nested if's, move them up to the top if (as per most of the others where this is necessary!)
Sam Reed [Fri, 6 Aug 2010 11:18:39 +0000 (11:18 +0000)]
Followup r70460 per Umherirrender comment
Add "required" to ApiParamInfo
Huji [Fri, 6 Aug 2010 10:57:59 +0000 (10:57 +0000)]
Updating main-rtl.css for Vector skin to ensure all left-aligned (or left-directioned) elements of the page are mirrored to right correctly.
Huji [Fri, 6 Aug 2010 10:43:28 +0000 (10:43 +0000)]
Updating main-rtl.css for Vector skin to ensure all left-aligned (or left-directioned) elements of the page are mirrored to right correctly.
Huji [Fri, 6 Aug 2010 10:33:01 +0000 (10:33 +0000)]
Updating main-rtl.css for Vector skin to ensure all left-aligned (or left-directioned) elements of the page are mirrored to right correctly.
Sam Reed [Fri, 6 Aug 2010 06:56:19 +0000 (06:56 +0000)]
Fixup 3 messages per TW support
Derk-Jan Hartman [Fri, 6 Aug 2010 01:24:49 +0000 (01:24 +0000)]
Follow up r70520. More for loop fixes.