| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/85301
|
|
|
|
|
|
|
|
|
| |
* Internalise $title in MediaWiki base class
* Fix access fatal in SpecialPage by getting the context from the MediaWiki base class rather than the OutputPage
* Fix a couple of typos in RequestContext which would have thrown errors/fatals if anyone had ever called them.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/85285
|
|
|
|
|
|
|
| |
here and it's pretty non-portable. Doing so reveals that it's safe to move the declaration of $mediaWiki below the maxlag test, which will fractionally improve performance in that instance (partly compensating for having to parse OutputPage as introduced in r85278).
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/85280
|
|
|
|
|
|
|
| |
global variables in to each function separately.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/85271
|
|
|
|
|
|
|
|
|
|
| |
* Add visibility to MediaWiki::*() methods.
* Refactor out MediaWiki::preliminaryChecks(), was actually just one preliminary check :D
* maxlag is a property of the database, not the wiki, so MediaWiki::checkMaxLag() doesn't belong. Since it was only called in index.php I just expanded it there, it's only a trivial wrapper anyway.
* Run stylize.php over code.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/85259
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/85204
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/83388
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/79418
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/79166
|
|
|
|
|
|
|
| |
action that will be executed
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/78512
|
|
|
|
|
|
|
| |
update list since Article::viewUpdates() adds a SiteStatsUpdate object to that list
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/78124
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/78065
|
|
|
|
|
|
|
|
|
| |
$wgInputEncoding and $wgOutputEncoding to lowercase but the inclusion of Language.php will set them back to uppercase.
So instead of playing with these variables, let's just remove that function.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/78054
|
|
|
|
|
|
|
|
|
| |
is always defined (it is already set to null in in Setup.php). It was added in r12612 when all the code that set $wgTitle was moved in MediaWiki::checkInitialQueries()
* Removed comment that documented a line removed in r45126
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/77975
|
|
|
|
|
|
|
| |
code duplication
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/77972
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/77919
|
|
|
|
|
|
|
| |
As I said on the bug, this variable is not used since ages
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/77888
|
|
|
|
|
|
|
|
|
| |
$_POST"
Broke CategoryTree, see code review for the error message.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/71050
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/70960
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/70772
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/64000
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/60548
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/59969
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/59613
|
|
|
|
|
|
|
| |
by Sam Reed.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/58646
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/55162
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/55161
|
|
|
|
|
|
|
| |
Mediawiki::performRequestForTitle()
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/54062
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/51046
|
|
|
|
|
|
|
| |
should be the responsibility of the callee. Causes annoying bugs when omitted.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/50065
|
|
|
|
|
|
|
|
|
| |
instruction
* whitespaces fixes
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/48631
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/45539
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/45129
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/45128
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix typo self -> MediaWiki
* View updates run on client cache hits
* Removed unneeded $wgOut->disable() call
* Disabled unused output on rawpage cache hits
* Removed redundant checkLastModified()
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/45126
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/45125
|
|
|
|
|
|
|
| |
* Disable outputpage after file cache hit, since output was streamed already.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/45068
|
|
|
|
|
|
|
|
| |
Mostly seems to be formatting tweaks, loss of useful debug log output, and mysterious unexplained changes.
If some of these tweaks actually are based on profiling data, please provide details, such as "rearranging this call reduces service time from 80ms to 50ms for client cache hits on my machine" or whatever.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/44963
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/44801
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/44369
|
|
|
|
|
|
|
| |
* Updated copyright (taken from SpecialVersion.php)
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/37870
|
|
|
|
|
|
|
|
| |
* group master queries with other queries in "SQL Queries" in profileinfo.php
* end 'main-misc-setup' section before executing ajax requests so that they don't get closed by the profiler for ajax requests.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/34021
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
MediaWiki object.
These are just globals, and will never be anything other than the globals, so just use them...
Works around mysterious segfault we started having on some wikis, for no apparent reason, and simplifies ugly code. Sigh.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/32477
|
|
|
|
|
|
|
| |
* Pass $wgArticle by reference in MediaWiki::initialize() so that it can be set before executing an action and can be used when throwing an exception.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/32291
|
|
|
|
|
|
|
|
|
|
|
| |
* Document function parameter and undocumented functions
* Move use of global settings to localized one setted in index.php
* fix whitespaces
* Use __METHOD__ instead of hardcoded method names
* Call MediaWiki::articleFromTitle() staticly
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/32185
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/31098
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/30751
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/30502
|
|
|
|
|
|
|
| |
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
|