| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Add/tweak/update documentation
Simplify some boolean returns
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/96260
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/88397
|
|
|
|
|
|
|
| |
http://svn.wikimedia.org/doc/todo.html nicely.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/88355
|
|
|
|
|
|
|
|
|
| |
while ( $row = $dbw->fetchObject( $res ) ) { to foreach ( $res as $row ) in includes
Add some braces
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/74745
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/64077
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/62481
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/61854
|
|
|
|
|
|
|
|
|
|
|
|
| |
trying to work around.
Categoryfinder::seed() was passing category names through Title::newFromText($ct,NS_CATEGORY), which meant that if the name started with what looks like a namespace, that would override the NS_CATEGORY default.
Thus you got 'Wikipedia:Books' -> text portion 'Books' when you wanted 'Category:Wikipedia:Books' -> text portion 'Wikipedia:Books'.
Using Title::makeTitleSafe(NS_CATEGORY,$ct) instead forces it to always use the category namespace.
Additionally, I've added a check for invalid input -- previously a bad input leading to an invalid title would just kill it dead with a fatal error. Invalid input in the category list is now skipped.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/46513
|
|
|
|
|
|
|
| |
Infinite loops were causing segfaults in combination with Collection extension
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/38153
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* @link. You might think @link would surely mean "here comes a web URL" ... but @link is a valid command
in Doxygen, which means an entirely different kind of link (an internal link to somewhere, so that you can separate
documentation and implementation). The result is a mess, and the best solution I can see is to use "@see" instead of "@link".
* Warning: argument `nourl' of command @param is not found in the argument list of Linker::makeMediaLinkObj($title,$text='')
* Moving few class descriptions to right above classes, and/or formatting into Javadoc style.
* "@addtogroup Special Pages" --> "@addtogroup SpecialPage" so that all special pages have the same @addtogroup tag.
* @fixme --> @todo (must have missed these before)
* "@param $specialPage @see" remove the "@" in the "@see" to stop warning.
* @throws wants type, then a brief description, to stop warning.
This last one is for PHPdocumentor only, but it fixes something for PHPDocumentor, and should be neutral for Doxygen:
* WARNING in includes/api/ApiFormatYaml_spyc.php on line 860: docblock template never terminated with /**#@-*/
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/21343
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/21203
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Convert "$dbw =& wfGetDB( DB_MASTER );" --> "$dbw = wfGetDB( DB_MASTER );"
* convert "$skin =& $wgUser->getSkin();" --> "$skin = $wgUser->getSkin();"
For the time being have not changed the function definitions of wfGetDB() or User::getSkin() [i.e. they are still both return-by-ref], so as to ensure the interface does not change for extensions [some of which may still be trying to run on PHP4 environments]. However presumably at some point this can be changed too.
Also includes tiny tweak to newlines in parserTests - will show 1 rather than 2 newlines between the "Reading tests from" strings when in quiet mode.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/19598
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/19492
|
|
|
|
|
|
|
|
| |
Run maintenance/mwdocgen.php to generate doc in ./docs/html/ .
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/13740
|
|
|
|
|
|
|
| |
defined() is expensive
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/12671
|
|
|
|
|
|
|
| |
to the shell to return nonzero when we crap out with an error.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/12660
|
|
Recent changes can now be filtered by categories (AND and OR)
To enable, set $wgAllowCategorizedRecentChanges = true ; in LocalSettings
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/12546
|