Current configuration on the wiki
* They no longer commit the update, but just make sure it is part of a transaction. The BEGIN/COMMIT will happen at request start/end given DBO_TRX or in this method otherwise (like when in CLI mode). This avoids premature committing of other transactions. * FileDeleteForm was the only caller using $commit=false for WikiPage::doDeleteArticleReal() and its proxies WikiPage::doDeleteArticle() and Article::doDeleteArticle(). The ugly $commit flag is now removed. * No caller was using $id for WikiPage::doDeleteArticleReal() and its proxies WikiPage::doDeleteArticle() and Article::doDeleteArticle(). It is now removed and we can be sure the lock() and CAS logic always hit in the method. The rollback() calls are not needed given the page row lock and having them there could break outer transactions. * Updated FileDeleteForm to use startAtomic()/endAtomic() so the article and file delete are still wrapped in a transaction. Note that LocalFile::delete() does reference counting and trxLevel() checks so it will not try to begin() and break FileDeleteForm's transaction via startAtomic(). * Moved less important 'page-recent-delete' key update down for sanity in case it blows up. Change-Id: Idb98510506c0edd02236c30badaec97d86e07696 |
||
|---|---|---|
| cache | ||
| docs | ||
| extensions | ||
| images | ||
| includes | ||
| languages | ||
| maintenance | ||
| mw-config | ||
| resources | ||
| serialized | ||
| skins | ||
| tests | ||
| .gitattributes | ||
| .gitignore | ||
| .gitreview | ||
| .jscsrc | ||
| .jshintignore | ||
| .jshintrc | ||
| .mailmap | ||
| .rubocop.yml | ||
| .travis.yml | ||
| api.php | ||
| autoload.php | ||
| composer.json | ||
| COPYING | ||
| CREDITS | ||
| FAQ | ||
| Gemfile | ||
| Gemfile.lock | ||
| Gruntfile.js | ||
| HISTORY | ||
| img_auth.php | ||
| index.php | ||
| INSTALL | ||
| jsduck.json | ||
| load.php | ||
| opensearch_desc.php | ||
| package.json | ||
| phpcs.xml | ||
| profileinfo.php | ||
| README | ||
| README.mediawiki | ||
| RELEASE-NOTES-1.26 | ||
| RELEASE-NOTES-1.27 | ||
| StartProfiler.sample | ||
| thumb.php | ||
| thumb_handler.php | ||
| UPGRADE | ||
| wiki.phtml | ||
== MediaWiki == MediaWiki is a free and open-source wiki software package written in PHP. It serves as the platform for Wikipedia and the other projects of the Wikimedia Foundation, which deliver content in over 280 languages to more than half a billion people each month. MediaWiki's reliability and robust feature set have earned it a large and vibrant community of third-party users and developers. MediaWiki is: * feature-rich and extensible, both on-wiki and with hundreds of extensions; * scalable and suitable for both small and large sites; * simple to install, working on most hardware/software combinations; and * available in your language. For system requirements, installation, and upgrade details, see the files RELEASE-NOTES, INSTALL, and UPGRADE. * Ready to get started? ** https://www.mediawiki.org/wiki/Download * Looking for the technical manual? ** https://www.mediawiki.org/wiki/Manual:Contents * Seeking help from a person? ** https://www.mediawiki.org/wiki/Communication * Looking to file a bug report or a feature request? ** https://bugs.mediawiki.org/ * Interested in helping out? ** https://www.mediawiki.org/wiki/How_to_contribute MediaWiki is the result of global collaboration and cooperation. The CREDITS file lists technical contributors to the project. The COPYING file explains MediaWiki's copyright and license (GNU General Public License, version 2 or later). Many thanks to the Wikimedia community for testing and suggestions.