| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This merges the latest core patch into the Wikidata branch,
implementing suggestions collected on gerrit. Most importantly:
* Methods in the Content class no longer rely on a IContextSource
* createArticle and createEditPage were removed from Contenthandler
|
| | |
|
| | |
|
|\| |
|
| |
| |
| |
| |
| |
| | |
Avoids having to load twice the same row from the database.
Change-Id: I3099dbd290e44f21677990e69200694c70aac63b
|
|\| |
|
| |
| |
| |
| |
| |
| | |
Normally it should already be correct, but just in case it gets broken for some reason.
Change-Id: Ia38df1ba1f4a6224296bfd837a515ce0ccdf55cb
|
| |
| |
| |
| | |
pending updates
|
|\|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
.gitreview
includes/Article.php
includes/AutoLoader.php
includes/EditPage.php
includes/LinksUpdate.php
includes/WikiPage.php
includes/installer/Ibm_db2Updater.php
includes/installer/MysqlUpdater.php
includes/installer/OracleUpdater.php
includes/installer/SqliteUpdater.php
maintenance/refreshLinks.php
|
| |
| |
| |
| | |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/112339
|
| |
| |
| |
| | |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/111092
|
|/
|
|
|
|
| |
necessary update objects
Change-Id: I69c50e0bd59371a6a34b04d2762a882c6e7e60cb
|
|
|
|
|
|
|
|
| |
* Use getRedirectTarget() instead of followRedirect(); the latter may return a string, which is not wanted here
* No need to call updateRedirectOn(); getRedirectTarget() already populates the redirect table if needed
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/108321
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/94963
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/93132
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/91779
|
|
|
|
|
|
|
| |
RefreshLinks::deleteLinksFromNonexistent
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/91778
|
|
|
|
|
|
|
| |
Might awell make refreshLinks remove dead iwlinks from the table
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/91777
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/85789
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
extension, move out the settings list and constants.
* MW_MATH_* constants are now defined in Math extension
* Language::getMathNames() is removed
* mathNames section in message files is removed
* A hardcoded preference override in refreshLinks moved to MaintenanceRefreshLinksInit hook
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/85735
|
|
|
|
|
|
|
|
|
| |
Remove old method_exists
Add braces
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/81843
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/81841
|
|
|
|
|
|
|
|
|
|
|
| |
maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself.
Until now, we relied on setting MW_NO_SETUP which was a) hacky, b) irreversable, and c) likely to be forgotten if you didn't use one of the wrappers like runChild().
Instead, move the freaky magic to doMaintenance and have *it* check if it's in a specific call stack that indicates this is being run from the file scope and should be executed. Rename DO_MAINTENANCE to RUN_MAINTENANCE_IF_MAIN so it's nice and clear what magic happens behind the require_once().
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/80205
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/78508
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/78305
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/77711
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/76629
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/73337
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/71368
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/67707
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/66751
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/61014
|
|
|
|
|
|
|
| |
rd_from refers to a page that's not a redirect or doesn't even exist
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/60466
|
|
|
|
|
|
|
| |
subclassing from DatabaseMssql
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/60053
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/59658
|
|
|
|
|
|
|
| |
arguments like descriptions and proper requirement checks, similar to addOption()
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/55287
|
|
|
|
|
|
|
|
|
| |
to "foreach ( $res as $row )"
* identation fix in nukeNS.php
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/55204
|
|
|
|
|
|
|
| |
commandLine.inc/Maintenance.php using the full path every time.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/54312
|
|
|
|
|
|
|
|
|
|
|
| |
* Docs have been updated to indicate the standard on how to write maintenance scripts (MW.org docs will follow) Have ported vast majority of maintenance scripts to new format. Remaining ones (mostly FiveUpgrade-related) are a bit more tricky. commandLine.inc is untouched for now. Many have gotten code-style updates as well. Deleted .inc files were only used by their .php counterparts, and have been merged into single files.
* (bug 11867) Lock error on redirect table when running orphans.php
* (bug 16322) Allow maintenance scripts to accept DB user/pass over input or params
* (bug 18566) Maintenance script to un/protect pages
* initStats overhaul, now uses class SiteStatsInit. Also fixes bug 18930
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/54225
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Removed deprecated constructs
* Replaced SQL queries with their functional equivalents
** Removed deleteBatch function: equivalent to $dbw->delete()
* Allow slave servers to catch up before deleting more rows
* Fixed to use a new, unbuffered, slave database connection
* This one should actually work
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/45721
|
|
|
|
|
|
|
|
| |
* Added --batch-size example syntax
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/45516
|
|
|
|
|
|
|
|
|
|
| |
* Removed backspace characters in output
* Small code update
* Removed 'disabled' comment from refreshLinks.php
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/45514
|
|
|
|
|
|
|
|
|
| |
function:" etc
There's some funny output with \x08 stuff, and I don't want to fiddle with it just now...
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/45482
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- refreshLinks.inc:
* New algorithm, conform Brions description in bug #16112; instead of one big delete, it is split up in blocks of (by default) 100 incorrect page_ids to remove.
* Added function parameters
- refreshLinks.php
* New command-line parameter to set the number of page_ids to clean per batch.
* Re-instated deleteLinksFromNonexistent run
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/45431
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
redirects to the redirect table. This may be worth trying out on at least some of the smaller wikis. It seems to work correctly, and pretty quickly for a couple thousand redirects to fix, although truncating the redirect table and running it inevitably gives a different number (probably due to incorrect redirect table entries to start with). With the limit options, it might be tried on bigger wikis too.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/31566
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/30050
|
|
|
|
|
|
|
| |
doesn't start screwing with your database. $fname -> __METHOD__.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/27855
|