aboutsummaryrefslogtreecommitdiffstats
path: root/maintenance/archives
Commit message (Collapse)AuthorAgeFilesLines
* [FileBackend]Aaron Schulz2012-03-271-0/+24
| | | | | | | | | | * Added FileJournal class to log file changes for file backends. This can be used for migrations (like moving to Swift), syncing mirror repos, consistency checks, finishing/reverting operation batches, and such. The default journal is the "null" journal, which simply does nothing. * Added the optional schema change required for using the DBFileJournal (MySQL, SQLite). Change-Id: I33c9f9a598ba1f164c862b9dc3c718f9172db02b Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/113704
* Revert r107309, r113601, r113704, r113742, r113792, r113838, r113859, ↵Roan Kattouw2012-03-211-24/+0
| | | | | | | | | r113893, r113894, r113952, r114047, r114252, r114256, r114257. This reverts the remaining 'new' revisions in core. All of these revisions are tagged with 'gerritmigration' and will be resubmitted into Gerrit after the Gerrit switchover. See also http://lists.wikimedia.org/pipermail/wikitech-l/2012-March/059124.html Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/114335
* [FileBackend]Aaron Schulz2012-03-131-0/+24
| | | | | | | | * Added FileJournal class to log file changes for file backends. This can be used for migrations (like moving to Swift), syncing mirror repos, consistency checks, finishing/reverting operation batches, and such. The default journal is the "null" journal, which simply does nothing. * Added the optional schema change required for using the DBFileJournal (MySQL, SQLite). Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/113704
* Can someone standardi[sz]e SQL already!?Sam Reed2012-03-061-2/+1
| | | | | | | | | Might aswell change mysql to same format as the sqlite one is becoming Ping r113110 Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/113112
* Pull patch-revision-user-page-index.sql from r25267Sam Reed2012-03-061-0/+5
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/113109
* Pull 1.19wmf1 related patches/code out of trunk/REL1_19, they exist in ↵Sam Reed2012-02-131-3/+0
| | | | | | | 1.18wmf1 and 1.19wmf1 now Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/111381
* article_feedback migration included in wmf 1.19 deploymentAsher Feldman2012-02-091-0/+3
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/111008
* Not much point making user_groups.ug_group 32 chars if we leave ↵Sam Reed2012-02-062-1/+3
| | | | | | | | | user_former_groups.ufg_group at 16 Also fix modify field to use correct table/column Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/110752
* reverts Concurrency worksAntoine Musso2012-01-111-25/+0
| | | | | | | | | | | | | | | | | | | trunk is frozen pending stabilisation so we can release MediaWiki 1.19. Those changes introduces API changes and new SQL tables, so that sounds like new feature we do not have time to review right now. Please reapply changes in branches/concurrency and have code review handled there. Once the branch has been reviewed, please hold. Once trunk is stable enough and 1.19 got branched, you are welcome to merge the branch in trunk. Note: we can have a Jenkins jobs setup to run the branch tests if you need. Reverts: r108595 r108591 r108585 r108584 108572 r108564 108560 r108559 Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/108601
* MERGE branches/concurrency 108301:108557 into trunkIan Baker2012-01-101-0/+25
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/108559
* Reverted r108502, r108504 per CRAaron Schulz2012-01-102-13/+0
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/108527
* Cleanup "text" (nee old) table, dropping old indexes and fieldsSam Reed2012-01-102-0/+13
| | | | | | | Add oldwatchlist to dropAncientTables Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/108504
* * (bug 27724) Add timestamp to job queue.Sam Reed2012-01-031-0/+2
| | | | | | | | | Designed for administration purposes, not to be exposed to front end users Useful for administration purposes (like WMF with job runners), we can look at the "highest" jobs, and find out whether enwiki is just busy, or the jobs have been there a while (signalling that the job runners potentially have issues) Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/107886
* Use database to track uploaded chunks and concatenate at the end.Jan Gerber2011-11-301-0/+3
| | | | | | | | | | with i18n documentation dont break phpunit follow up r93720 Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/104687
* Revert r104659 and its followup r104665: break the unit tests with a fatal ↵Roan Kattouw2011-11-301-3/+0
| | | | | | | error. This cripples our CI system, we can't detect new failures this way. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/104680
* Use database to track uploaded chunks and concatenate at the end.Jan Gerber2011-11-301-0/+3
| | | | | | | | follow up r93720 Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/104659
* (bug 29475) Remove "trackback" feature entirely from core. This has been ↵Chad Horohoe2011-11-231-10/+0
| | | | | | | | | | | disabled-by-default since its inception and nobody uses it. If someone really really wants this, they can write an extension. Language files need rebuilding, but I took care of En and messages.inc. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/104051
* * (bug 32470) Increase the length of ug_groupSam Reed2011-11-191-0/+2
| | | | | | | Postgres doesn't need extending... Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/103685
* * applyed the patch from bug 26393 (please comment on the bug page)Jure Kajzer2011-11-111-0/+6
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102785
* Reinstated r94289 et all - rev_sha1/ar_sha1 field for bug 21860Aaron Schulz2011-10-272-0/+6
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/101021
* Back out r95396 and friendsSam Reed2011-09-293-60/+0
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/98467
* * (bug 31204) Remove old user.user_optionsSam Reed2011-09-281-0/+1
| | | | | | | | | | | | | | | Added run of ConvertUserOptions maintenance script into update.php before dropping the column Removed usages of user_options in code Marked User::decodeOptions() deprecated as of 1.19. Made ConvertUserOptions drop out early if the user_options field doesn't exist Made ConvertUserOptions update user_options to '' after migration of user options to mOptions Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/98339
* Merge the iwtransclusion branch back into trunkSam Reed2011-08-243-0/+60
| | | | | | | Hexmode fixed broken unit tests in revisions after last time Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/95396
* fu r94541: Delete empty filesRaimond Spekking2011-08-182-0/+0
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/94875
* Revert r94289, r94290, r94294, r94333, r94345, r94362, r94370 -- core schema ↵Brion Vibber2011-08-152-6/+0
| | | | | | | change with no discussion Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/94541
* * Added rev_sha1 and ar_sha1 columns to revision/archive tables (useful for ↵Aaron Schulz2011-08-112-0/+6
| | | | | | | | | bug 25312) * Created a script to populate these fields (doesn't handle archive rows without ar_rev_id set though) Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/94289
* Followup r93211, add log_timestamp to end of the indexSam Reed2011-08-111-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/94239
* Back out r93533, r93531, r93530Sam Reed2011-07-303-60/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Breaks unit tests as below, not going to be able to fix them before I disappear for the evening, so might aswell leave trunk clean ArticleTablesTest testbug14404 Error: ArticleTablesTest::testbug14404 Undefined offset: 0 /home/ci/cruisecontrol-bin-2.8.3/projects/mw/source/tests/phpunit/includes/ArticleTablesTest.php:31 /home/ci/cruisecontrol-bin-2.8.3/projects/mw/source/tests/phpunit/MediaWikiTestCase.php:60 /home/ci/cruisecontrol-bin-2.8.3/projects/mw/source/tests/phpunit/MediaWikiPHPUnitCommand.php:20 /home/ci/cruisecontrol-bin-2.8.3/projects/mw/source/tests/phpunit/phpunit.php:60 ParserTests testParserTest #552 - testParserTest with data set #551 Failure: ParserTests::testParserTest with data set #551 ('RAW magic word', '{{RAW:QUERTY}}', '<p><a href="/index.php?title=Template:QUERTY&amp;action=edit&amp;redlink=1" class="new" title="Template:QUERTY (page does not exist)">Template:QUERTY</a> </p>', '', '') RAW magic word Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -<p><a href="/index.php?title=Template:QUERTY&amp;action=edit&amp;redlink=1" class="new" title="Template:QUERTY (page does not exist)">Template:QUERTY</a> +<p><a href="/index.php?title=Template:RAW:QUERTY&amp;action=edit&amp;redlink=1" class="new" title="Template:RAW:QUERTY (page does not exist)">Template:RAW:QUERTY</a> </p> /home/ci/cruisecontrol-bin-2.8.3/projects/mw/source/tests/phpunit/includes/parser/NewParserTest.php:545 /home/ci/cruisecontrol-bin-2.8.3/projects/mw/source/tests/phpunit/MediaWikiTestCase.php:60 /home/ci/cruisecontrol-bin-2.8.3/projects/mw/source/tests/phpunit/MediaWikiPHPUnitCommand.php:20 /home/ci/cruisecontrol-bin-2.8.3/projects/mw/source/tests/phpunit/phpunit.php:60 Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/93534
* Merge iwtransclusion branch into trunkSam Reed2011-07-303-0/+60
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/93530
* * (bug 22744) Add/Update indexes for queries done by the APISam Reed2011-07-261-0/+1
| | | | | | | Add index to logging table accross log_type and log_action Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/93211
* Follow-up r86482, r86485: removed user_name portion of user_email index per CRAaron Schulz2011-07-231-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/92932
* Added us_status column for future expansion re Bryan's suggestionIan Baker2011-07-131-4/+7
| | | | | | | | | | | | | | Implemented changes suggested in code review on r92009: constructor bug handling passed repo/stash up-to-date timestamp generation fetching db handle from repo iterating over select results according to convention changed uploadstash.us_media_type to enum to mirror image.img_media_type removed (most) new references to $wgUser, instead using ApiBase::createContext to find the user Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/92081
* Added index for abandoned uploads maintenance scriptIan Baker2011-07-131-0/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/92039
* changing smallint to int for image sizes, re bug 26179 comment 13Ian Baker2011-07-131-2/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/92035
* Refactored UploadStash and related classes to use the database for file ↵Ian Baker2011-07-121-0/+44
| | | | | | | | | | metadata storage instead of the session, see bug 26179 Tweaked the UploadWizard to work properly with the new backend code, updated tests Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/92009
* Follow-up r90749:Aaron Schulz2011-06-251-4/+3
| | | | | | | | * Removed useless ufg_group index from user_former_groups * Index name consistency Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/90753
* Added one-time promote support via Autopromote::autopromoteOnceHook ↵Aaron Schulz2011-06-251-0/+10
| | | | | | | function. This is still a bit rough on the edges. This uses a hook since extension may want to control when it's called for performance reasons. Patch by lampak. (for bug 24948) Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/90749
* SQLite support for r86485Max Semenik2011-06-151-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/90125
* SQLite: sync a couple of indexes with MySQLMax Semenik2011-06-051-2/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/89526
* Follow up r88270 — remove commas from table creation that break aMark A. Hershberger2011-05-171-1/+1
| | | | | | | sqlite install. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/88296
* Initial commit of configuration management backend proposal. Feedback ↵Chad Horohoe2011-05-161-0/+9
| | | | | | | | | | | desired before I go much further. * Common use case is Conf::get( 'myVar' ); * Support for default install (new `config` table) added, should be trivial to add backends for CDB, Memcache, etc... * Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/88270
* (bug 19408) user_properties.up_property: 32 bytes is not enough.Chad Horohoe2011-05-031-0/+4
| | | | | | | | Increased it to 255 bytes to be like page titles Some minor tweaks to modifyField() in the installer to make it more useful and added insertUpdateRow() Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/87357
* Remove empty files left by r16526, r29128 and r83029Platonides2011-05-022-0/+0
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/87306
* Add missing semicolon from r86750Sam Reed2011-04-231-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/86796
* SQLite compatibility for patch-profiling.sqlMax Semenik2011-04-231-3/+4
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/86750
* Breaking the 'math' table setup out to Math extension. Should be the last ↵Brion Vibber2011-04-221-28/+0
| | | | | | | | | | | | | | main step in extension-ification of the math options! The 'math' table will no longer be created on a default install unless you've explicitly enabled the Math plugin at install time; the usual update.php procedure will add it in. Postgres, Oracle, MSSQL, and DB2 variants are included -- broken out from the core files -- but have not been tested. I know there has been some code duplication in parser test infrastructure but could only find one instance of the parser test temporary table setup to remove the 'math' table from (the extension adds it back via the hook). If the phpunit-based runner breaks, please track it down and fix it there too. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/86741
* Follow-up r86485: SQL error in patch, and also add the index to tables.sql.Happy-melon2011-04-201-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/86527
* Follow-up r86482: patch to add an index on user_email. Not a problem if ↵Happy-melon2011-04-201-0/+1
| | | | | | | this is not run on WMF wikis as long as they don't enable the $wgPasswordResetRoutes['email']. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/86485
* Merge r86398 into the old wfWaitForSlaves. Update core calls.Platonides2011-04-201-1/+1
| | | | | | | | | | maintenance/waitForSlave.php still calls the old prototype. Most instances were replaced with sed -i 's/wfWaitForSlaves( [0-9]* );/wfWaitForSlaves();/' ./maintenance/initEditCount.php ./maintenance/updateRestrictions.php ./maintenance/updateSpecialPages.php ./maintenance/importDump.php ./maintenance/moveBatch.php ./maintenance/storage/resolveStubs.php ./maintenance/storage/trackBlobs.php ./maintenance/storage/fixBug20757.php ./maintenance/storage/moveToExternal.php ./maintenance/storage/compressOld.inc ./maintenance/populateSha1.php ./maintenance/deleteDefaultMessages.php ./maintenance/migrateUserGroup.php ./maintenance/importImages.php ./maintenance/runJobs.php ./maintenance/archives/upgradeLogging.php ./maintenance/deleteBatch.php ./maintenance/populateLogSearch.php ./maintenance/populateLogUsertext.php ./maintenance/gearman/gearmanWorker.php ./maintenance/populateRevisionLength.php ./maintenance/refreshLinks.php ./maintenance/deleteSelfExternals.php ./maintenance/upgrade1_5.php ./maintenance/rebuildFileCache.php ./includes/job/RefreshLinksJob.php ./includes/installer/MysqlUpdater.php ./maintenance/convertUserOptions.php ./maintenance/populateParentId.php ./maintenance/runBatchedQuery.php ./maintenance/upgrade1_5.php ./maintenance/waitForSlave.php ./maintenance/populateCategory.php ./maintenance/importImages.php Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/86447
* Fixup/add documentationSam Reed2011-03-301-0/+4
| | | | | | | Remove some unused variables Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/85035