| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
specials
* Wrote a tool to check the integrity of the autoloader class list, fixed some issues that came up.
* Start the autoloader before LocalSettings.php, so that when an extension writer thinks an inefficient one-file special page extension is the way to go, they don't have to use explicit includes to make the class inheritance work. Should continue to work with $IP set in LocalSettings.php as long as $IP is set before extensions are included.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/36353
|
|
|
|
|
|
|
|
|
|
|
| |
Regressions caused by this:
"Use an anonymous user to get the parser options and the parser cache key, thus wikitext rendering is not depending of some sepcific user options such as lang, ..."
User-specific options such as stub threshold were still applying in the parser, but not taken into account in the parser hash key. As a result, the caches were corrupt, saving different options into the anonymous-default options cache.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/36185
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Respect the language given with parser options
* Replace parameters before expanding its own templates/functions, like $wgOut->addWikiMsg() does
* (bug 14404) Force content language when parsing the text to pass to LinksUpdate
And some tweaks at save time:
* Use an anonymous user to get the parser options and the parser cache key, thus wikitext rendering is not depending of some sepcific user options such as lang, ...
* Same for the refresh link job
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/36093
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
* remove empty lines at end of file
* remove "?>" where still present
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/33276
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/21458
|
|
|
|
|
|
|
|
|
| |
* Add @addtogroup tags to various classes, to try and group conceptually-related classes together.
* Add brief descriptions to various Special pages, thanks to Phil Boswell.
* Moving some docs to be right above the classes they represent, so that they are picked up.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/21402
|
|
|
|
|
|
|
|
|
|
|
|
| |
pick up the appropriate tags, and documentation blobs for classes. This is
the same as per r20769, but with the grouping changes (e.g. removing "@{{") omitted.
Please be advised that more related documentation tweaks may follow later - e.g.
Doxygen generates a log file of warnings that is 574 Kb in size, when run over
the just the trunk/phase3 code ... eek! Thankfully, much of that is just
whining about functions without documentation ;-)
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/20995
|
|
|
|
|
|
|
| |
If making mass changes to tweak to its preferences, probably better to do it for the tool we actually generate docs with. :)
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/20771
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tweaking stuff.
Minor doc tweaks to prevent some PHPDocumentor warnings or errors when run on the includes/ directory. PHPDocumentor uses a syntax very similar to javadoc - mostly we already use this, but there were a few scattered places that were adjusted to make them consistent with the rest of the code. In practical terms, these changes were made:
* @url becomes @link
* @fixme becomes @todo
* HTML tags in descriptions must be closed / balanced.
* @bug was removed (where the bug was long fixed), or changed into a @todo (in the few situations where the bug was still pending)
* @obsolete becomes @deprecated
* Things like "/**@{{" and "/**@}}*/" which cause "unknown tag" warnings were removed
* @access must be a valid access level.
* @desc tag not needed, removed.
* Doesn't seem to like @licence, will accept @license however.
* Use full comment block notation in a few places (i.e. open block with "/**", start each line with " *", and end block with " */")
Then additional to this, to get some class docs associated with their respective classes:
* Moved some docs to right above those classes (deleting blank lines, or moving descriptions from the file headers)
* Marked some classes without docs as "@todo document"
* (done up to "class MIMEsearchPage" on the "classtrees_MediaWiki.html" page for the includes/ directory)
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/20769
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/19502
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/19492
|
|
|
|
|
|
|
|
|
| |
* use quick check for move tab privilege check
* drop quickUserCan(Edit|Move|*); just provide one quickUserCan and use the permission keys explicitly. the other (non-quick) funcs are i think deprecated, so marking them so
* adjusted some whitespace
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/19193
|
|
|
|
|
|
|
| |
queries on page-view.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/19190
|
|
|
|
|
|
|
| |
unused local vars, removing unused globals, replacing extract() where simple to do, declaring output arrays before calling preg_match(), and so forth.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/17991
|
|
|
|
|
|
|
|
|
| |
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/15498
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/14201
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/14172
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/14170
|
|
|
|
|
|
|
| |
a revision row load on hits.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/13216
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/13179
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/12542
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/12476
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/12414
|
|
|
|
|
|
|
| |
edit links don't vanish / appear unwanted on protected pages
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/12275
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/9864
|
|
|
|
|
|
|
| |
set ETag header on article views
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/9793
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/9496
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/8268
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/6927
|
|
|
|
|
|
|
| |
Dan Keshet's patch (http://bugzilla.wikipedia.org/attachment.cgi?id=134&action=view) plus an added version check on parser cache objects, to automatically discard cached objects using the incompatible older format.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/6385
|
|
|
|
|
|
|
|
|
| |
and enable it by default. This provides significant speedups on medium
to long pages, though for busier sites the garbage collection probably
should be adjusted.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/6324
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/6015
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/6007
|
|
|
|
|
|
|
| |
changed some double quotes to single and used function foo () { shema
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/5069
|
|
|
|
|
|
|
| |
Phpdocumentor
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/5032
|
|
|
|
|
|
|
| |
a lot of testing
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/4904
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/3870
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/3866
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/3766
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/3764
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/3743
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/3741
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/3740
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/3713
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/3710
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*_from column instead of strings, and have a unique index to force prevent any duplicate entries. There's not yet a clean step in the update script, so just clear out your links tables (patch-linktables.sql) and rebuild them with refreshLinks.php.
This saves trouble in a number of places where we can now do joins with the link tables to get other info (such as cur_is_redirect!) as well as the name, and fewer bits need to be juggled on page renaming, as outgoing links no longer have to be changed (cur_id remains the same when a page is renamed).
rebuildLinks.inc and some of the tools in the 'maintenance page' still need to be updated to work with the new setup. (Special:Maintenance needs a *lot* of cleanup in general. It's kind of a catch-all of vaguely defined features which suck performance like a hydroelectric dam.)
Also I've slipped in some extra debug code. And, I think 'indexes.sql' is a big waste of time and should all be moved into tables.sql. Building indexes separately doesn't help on InnoDB and won't do anything on MyISAM either if you're just going to replace the table after it's built with an imported one from a dump which creates it with indexes.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/2687
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/2552
|