Niklas Laxström
1a3f73dd8c
Make (Title|User)Array implements Countable
...
count( $results ) always returned 1, now expected number
Bug: 58377
Change-Id: I7d6b3bc1b09b46fe60cb5a74c25f9b28fffa5b73
2013-12-12 09:19:19 +00:00
Yuri Astrakhan
9506e3d812
Spellchecked /includes directory
...
* Ran spell-checker over code comments in /includes/
* A few spellchecking fixes for wfDebug() calls
Found one very strange (NOOP?) line in Linker.php - see "TODO: BUG?"
Change-Id: Ibb86b51073b980eda9ecce2cf0b8dd33f058adbf
2013-03-13 03:42:41 -04:00
Alexandre Emsenhuber
2040d1337e
Added missing GPLv2 headers in some places.
...
Also made file/class documentation more consistent.
Change-Id: Ib46e50da4ec649a6a06cbeed00752effb79ed06e
2012-05-09 20:11:36 +02:00
Aaron Schulz
5a6559d8b1
Reverted r108743 per CR comment. This should at least be discussed first.
2012-01-12 19:41:18 +00:00
Sam Reed
a5c200a25b
Kill "* @return void"
2012-01-12 19:12:24 +00:00
Sam Reed
ba0cbdeeff
More parameter documentation!!
2011-05-28 15:59:57 +00:00
Sam Reed
8775ac3b20
Type hinting
...
Braces
Remove extra whitespace
2011-04-25 21:25:45 +00:00
Aryeh Gregor
a42e23da22
Revert r38165 for now, breaks CentralAuth and I don't have that installed anywhere to debug.
2008-07-29 14:53:10 +00:00
Aryeh Gregor
c51f8ce69d
Merge TitleArray and UserArray into one unified class, ObjectArray. Adding support for a new type of object will now just take a few lines.
2008-07-29 00:51:08 +00:00
Aryeh Gregor
7452677213
* Add count() method to TitleArray and UserArray.
...
* Change PageHistory::fetchRevisions() to return a result object instead of an array of rows.
* Stylistic issues: use foreach( $res as $row ) instead of while( $row = $dbr->fetchObject( $res ) ), change a couple of variable names, use __METHOD__.
There should be no functional changes.
2008-07-27 18:59:46 +00:00
Aryeh Gregor
38473966ea
Add TitleArray, a straight rip-off of UserArray. I couldn't figure out how to make them both inherit from ObjectArray or anything, so code duplication works for now.
2008-07-25 19:03:53 +00:00