| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/98865
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/98756
|
|
|
|
|
|
|
|
| |
Remove $wgExternalLoadBalancers, unused since r32578 (birth of LBFactory)
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/70977
|
|
|
|
|
|
|
| |
* Fix some doxygen warnings
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/60853
|
|
|
|
|
|
|
| |
deprecated a really long time...Tim did it 45243 revisions ago.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/60051
|
|
|
|
|
|
|
| |
written to old_text with the user thinking their edit has succeeded. This change should prevent that scenario.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/50069
|
|
|
|
|
|
|
| |
ExternalStore::storeToForeignDefault, related changes including adding an associative array parameter to the ExternalStore constructor. Currently this parameter is just used to specify on which wiki the external store is wanted, but could be expanded in future.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/48875
|
|
|
|
|
|
|
|
|
|
|
| |
should be fixed by the transaction added in r41287.
* Fix broken recursion guard in LoadBalancer::reportConnectionError(), which was causing getConnection() to return false on the second and subsequent errors, instead of throwing an exception. Revert incorrect fix r41229/r41230.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/41329
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/41235
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
we encountered problems with site_stats updates hanging and stacking up extra open ES connections.
r41230
r41229
r41093
r41091
r41092
r41086
r41063
r40696
Also reverted r41231 which no longer applies
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/41234
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/41230
|
|
|
|
|
|
|
| |
the fatal will stop even with the error catching.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/41229
|
|
|
|
|
|
|
|
| |
* We used to have parameters to ignore errors, but they're obsolete now that we have exceptions. Implemented ES master failover using exceptions instead.
* Changing the number of DB connection attempts from 3 to 2 for some random getConnection() calls is almost pointless, adds lots of ugly formal parameters all of the place, and misses the big picture. It should be 2 by default, based on the original rationale. Any reasonable implementation of failover should have zero timeouts per request, by storing state. Changed the default to 2, or 1 if a long timeout is set.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/41086
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/41063
|
|
|
|
|
|
|
|
|
| |
* On read, spend less time checking on dead slaves
* Add randomInsert() to ES. This does the cluster picking for us
* Make revision text use randomInsert(). On write, fails-over to other clusters as needed instead of throwing db errors
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/40696
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Doxygen documentation update:
* Changed alls @addtogroup to @ingroup. @addtogroup adds the comment to the group description, but doesn't add the file, class, function, ... to the group like @ingroup does. See for example http://svn.wikimedia.org/doc/group__SpecialPage.html where it's impossible to see related files, classes, ... that should belong to that group.
* Added @file to file description, it seems that it should be explicitely decalred for file descriptions, otherwise doxygen will think that the comment document the first class, variabled, function, ... that is in that file.
* Removed some empty comments
* Removed some ?>
Added following groups:
* ExternalStorage
* JobQueue
* MaintenanceLanguage
One more thing: there are still a lot of warnings when generating the doc.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/35098
|
|
|
|
|
|
|
|
| |
* remove empty lines at end of file
* remove "?>" where still present
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/33276
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
balancers and connecting to foreign DBs.
* Wrote two concrete implementations. LBFactory_Simple is for general installations. LBFactory_Multi will replace the runtime configuration used on Wikimedia and allow load-balanced connections to any DB.
* Ported Special:Userrights, CentralAuth and OAI audit to the LBFactory system.
* Added ForeignDBViaLBRepo, a file repository which uses LBFactory.
* Removed $wgLoadBalancer and $wgAlternateMaster
* Improved the query group concept to allow failover and lag control
* Improved getReaderIndex(), it will now try all servers before waiting, instead of waiting after each.
* Removed the $fail parameter to getConnection(), obsolete.
* Removed the useless force() function.
* Abstracted the replication position interface to allow for future non-MySQL support.
* Rearranged Database.php. Added a few debugging features.
* Removed ancient benet-specific hack from waitForSlave.php
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/32578
|
|
|
|
|
|
|
| |
mess with the files and add trailing whitespace. (Yes, I looked over every one and reverted those that were bogus. Slash-enter a million times in less worked well enough, although it was a bit mind-numbing.)
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/23531
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/19502
|
|
|
|
|
|
|
|
|
|
|
| |
theoretically be faster, because it always uses an absolute path, eliminating the need for a search, and it is never called unnecessarily. Absolute paths are also more robust in the face of odd configurations or usage patterns. Moved a few constants around to support this, they always have to be available before the method call.
* Deleted DatabaseMysql.php, no longer necessary, database classes are autoloaded.
* Moved wfGetMimeMagic() to MimeMagic::singleton()
* Fixed a couple of __CLASS__.'::'.__FUNCTION__ things.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/16759
|
|
|
|
|
|
|
| |
experimental changes. They will be recommitted when they work. :)
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/14516
|
|
|
|
|
|
|
|
|
|
|
| |
* remove require_once() throughout whole code, yet left in few places
* move global functions in HttpUtils, ProxyTools, Credits to class methods
* php5 only: __autoload() now used, combined with class->file map and require()
* move initialization of $wgValidSkinNames to Skin::getSkinNames()
* few more changes that will surely break stuff.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/14513
|
|
|
|
|
|
|
|
| |
Run maintenance/mwdocgen.php to generate doc in ./docs/html/ .
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/13740
|
|
|
|
|
|
|
| |
It was loading a second time from the slave, *and* the logging code had a typo so didn't show it.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/13201
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/13179
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/12839
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/12770
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/12537
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/12476
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/12472
|
|
|
|
|
|
|
| |
This would allow, for example, the merging of all external storage for a large wikipedia dump into a single database, with "clusters" distinguished by table name.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/11557
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/11035
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/10506
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/10490
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/9938
|
|
|
|
|
|
|
| |
be inside of the same DB for testing purposes
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/9142
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/9119
|
|
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/9118
|