| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
balancer.
Should fix a couple regressions or possible regressions:
* Hack was pulling the main LB's DB_SLAVE connection although we were deliberately opening a new connection. Could have caused problems when we were fetching other things from the local database in the middle of an export.
* We no longer lose the connection timeout override.
However we still have a regression:
* --server option is ignored (but we're now pulling from the 'backup' group, so we at least have some kind of consistency :)
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/56347
|
|
|
|
|
|
|
| |
fixes dumpBackup.php
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/56027
|
|
|
|
|
|
|
| |
* TODO: make importer
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/40968
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
specced. Usable with --uploads option on dumpBackups.php
Some issues:
* doesn't respond to the current v full-history modes
* won't pick up file entries with no corresponding page
* on default config, you may end up with 'localhost' in URLs :P
* synchronization and mutability problems
** DB lookups are made in the middle of the dump and may not be in sync with state at the beginning of the dump.
** URL to current version at time of dump could point to a different, future version in future
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/31532
|
|
|
|
|
|
|
|
|
|
| |
scripts, making for cleaner reporting during batch jobs. PHP errors will also
be redirected in most cases on PHP 5.2.4 and later, switching 'display_errors'
to 'stderr' at runtime.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/28222
|
|
|
|
|
|
|
|
| |
* set_timeout() -> setTimeout()
* remove a couple obsolete references from dump code
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/20290
|
|
|
|
|
|
|
| |
add set_timeout() method to Database
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/20276
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Convert "$dbw =& wfGetDB( DB_MASTER );" --> "$dbw = wfGetDB( DB_MASTER );"
* convert "$skin =& $wgUser->getSkin();" --> "$skin = $wgUser->getSkin();"
For the time being have not changed the function definitions of wfGetDB() or User::getSkin() [i.e. they are still both return-by-ref], so as to ensure the interface does not change for extensions [some of which may still be trying to run on PHP4 environments]. However presumably at some point this can be changed too.
Also includes tiny tweak to newlines in parserTests - will show 1 rather than 2 newlines between the "Reading tests from" strings when in quiet mode.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/19598
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/19502
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Removing unused local vars.
* Removing unused global declarations.
* removing one or two pass-by-refs parameter declarations where not required by PHP5.
* Adding some local variable declarations / initializations (initialized to either to array(), null) to keep static code analyzer happy.
* Changing lines like this: "extract( $dbw->tableNames( 'page', 'archive' ) );" to be like this: "list ($page, $archive) = $dbw->tableNamesN( 'page', 'archive' );".
* Add one or two braces to if-else blocks.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/19145
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/17405
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/16935
|
|
|
|
|
|
|
|
|
| |
new-fangled feature we call "table prefixes". Instead use wfWikiID() for an identifier containing the DB name and the prefix if there is one, and wfMemcKey() for cache key construction.
Caches for wikis with table prefixes will be lost on upgrade, caches for wikis without table prefixes will be preserved. Custom cache keys in extensions can be migrated at leisure. Extensions which write to core cache keys should be migrated ASAP, as I have done with Special:Makesysop.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/16791
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/16750
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/15532
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/15080
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/14151
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/13489
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/13059
|
|
|
|
|
|
|
| |
than the per-page count for full-history dumps.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/12870
|
|
|
|
|
|
|
| |
cleaner func for opening a second connection
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/12828
|
|
|
|
|
|
|
| |
to the shell to return nonzero when we crap out with an error.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/12660
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/12476
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/12472
|
|
|
|
|
|
|
| |
sink types can be registered at runtime from an extension
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/12104
|
|
* Data dump 'prefetch' mode to read normalized text from a prior dump
(requires PHP 5, XMLReader extension)
Maybe these will keep dammit from killing our dump runs...
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/11377
|