Commit graph

21060 commits

Author SHA1 Message Date
Sam Reed
e8e63594de Make a method static per the comment, update the only non static usage (in Parser) itself 2011-05-01 23:59:41 +00:00
Sam Reed
018a22d827 Documentation tweaks, additions and updates 2011-05-01 23:54:41 +00:00
Sam Reed
6f9897cffe * (bug 28265) allow outputting of comments for action=expandtemplates 2011-05-01 22:11:05 +00:00
Sam Reed
c8079f0b81 * (bug 27185) API: Add Special:ComparePages 2011-05-01 21:56:02 +00:00
Chad Horohoe
cdb32fe37b When we failed to detect a DB driver, put the help info in the failure box, rather than hiding it in a little help box nobody's going to find 2011-05-01 21:48:15 +00:00
Sam Reed
f8fb526ea6 Refactor out common code 2011-05-01 21:28:00 +00:00
Max Semenik
2f3a13e3a4 Use HTML5 for formatted API output 2011-05-01 21:19:40 +00:00
Chad Horohoe
9502fbb44d (bug 28343) Kill unused contextlines/contextchars 2011-05-01 21:14:32 +00:00
Raimond Spekking
2c0452aa20 Localisation updates for core and extension messages from translatewiki.net (2011-05-01 20:01:00 UTC) 2011-05-01 20:17:55 +00:00
Krinkle
351ad488fd Added wgIsMainPage (Title->isMainPage) to mw.config
* Instead of ugly javascript construction to compare href-attributes or re-constructing proper pagenames, let's use Title->isMainPage which does this much better
* Kept function for compatibility. mw.util.isMainPage() was never released, should probably be removed before 1.18 branch point.
2011-05-01 19:46:09 +00:00
Roan Kattouw
f56afa36a6 (bug 28738) Implement request splitting in mw.loader so ResourceLoader requests with query strings longer than a certain value are split up. The maximum query string length is configurable, and this behavior is disabled by default. It's needed in rare cases where there is a query string length or GET variable length limit in place that the wiki admin can't raise. 2011-05-01 18:41:42 +00:00
Sam Reed
0b96c67a9e Remove unneeded manual quoting from r87180 2011-05-01 11:20:14 +00:00
Sam Reed
5283490bdd * (bug 28225) Allow hiding of user groups in list=allusers
Yay, a LEFT OUTER JOIN
2011-05-01 00:24:39 +00:00
Sam Reed
c3b1500161 $db is already defined, don't use $this->getDB() again 2011-05-01 00:17:39 +00:00
Sam Reed
ab28af877c Followup r85884
Fixup the APIs strange way of doing table aliases on a join....

Only used in very few places
2011-04-30 23:18:34 +00:00
Bryan Tong Minh
128b544632 Fix bug in Status::getItemXML 2011-04-30 22:12:51 +00:00
Raimond Spekking
d79681edd9 Localisation updates for core and extension messages from translatewiki.net (2011-04-30 20:50:00 UTC) 2011-04-30 21:21:47 +00:00
Bryan Tong Minh
ceb435837c (bug 28076) Thumbnail height limited to 360 pixels on Special:Listfiles 2011-04-30 18:50:37 +00:00
Sam Reed
6d7f0c510d Followup r87150
Reuse SpecialVersions arrayToString (made it explicitly public!) in an array_amp for the formatting of arrays/objects (Yay for all the different ways we accept things ;P)
2011-04-30 16:52:28 +00:00
Sam Reed
272a146f46 Followup r87147, let the formatters do teh escaping 2011-04-30 16:38:59 +00:00
Alexandre Emsenhuber
b345db080f I have no idea where that count() pass in r87165 2011-04-30 15:14:12 +00:00
Alexandre Emsenhuber
1679309cb5 Properly escape the ouput in action=credits (and in page footer), using wfMessage() to be able to replace some parameters before and some after 2011-04-30 15:12:33 +00:00
Alexandre Emsenhuber
ca7bcb1fac Recommit r87129 and follow-ups but with a fix for the bug Brion found (sorry) 2011-04-30 14:08:12 +00:00
Daniel Friesen
8ae8bd5a98 Use a reversed magnify image for framed image thumbnails when on a RTL wiki. 2011-04-30 12:04:00 +00:00
Brion Vibber
85d99c4c52 Revert r87129 "(bug 21196) Article::getContributors() no longer fail on PostgreSQL" -- breaks stuff under MySQL like this:
SkinTemplate::makeTalkUrlDetails given invalid pagename User:

Backtrace:

#0 /var/www/trunk/includes/SkinTemplate.php(691): SkinTemplate->makeTalkUrlDetails('User:')
#1 /var/www/trunk/includes/SkinTemplate.php(495): SkinTemplate->buildPersonalUrls(Object(OutputPage))
#2 /var/www/trunk/includes/OutputPage.php(1906): SkinTemplate->outputPage(Object(OutputPage))
#3 /var/www/trunk/includes/Wiki.php(402): OutputPage->output()
#4 /var/www/trunk/index.php(146): MediaWiki->finalCleanup()
#5 {main}


Seen trivially by going to login page while not logged in; some user check is failing and ending up with an improperly initialized object.
2011-04-29 23:57:28 +00:00
Sam Reed
ef6afb5d9e Tweak documentation
Add braces
2011-04-29 23:34:37 +00:00
Sam Reed
dc0d483992 * Get a list of all subscribed hooks, and those subscribers
Essentially what SpecialVersion will give you if wgSpecialVersionShowHooks is true
2011-04-29 23:33:38 +00:00
Sam Reed
8c30f284a7 * (bug 27179) API: List of extension tags
* Get a list of function hooks through meta=siteinfo
2011-04-29 23:02:10 +00:00
Chad Horohoe
8ae2840afb Make this private since nothing outside here calls it 2011-04-29 22:40:31 +00:00
Chad Horohoe
2323830a03 (bug 28752) XCache doesn't work in CLI mode 2011-04-29 22:40:12 +00:00
OverlordQ
676e772a4f Fix group by for Special:MostLinkedTemplates 2011-04-29 22:38:30 +00:00
OverlordQ
245e6b067a Followup to r85907, correctly quote table names.
Followup to r87129, add handling of arrayed GROUP BY/ORDER BY options to match core class so that this will indeed work.
2011-04-29 22:27:34 +00:00
Jeroen De Dauw
f266b1ca15 small doc fix 2011-04-29 22:05:36 +00:00
Sam Reed
4d18298e86 Followup r87132, per Bryan, still return the "limit" to be the current users limit, but return high/low limit 2011-04-29 21:46:17 +00:00
Jeroen De Dauw
0b54ec0e80 added since tag for people that care about compat 2011-04-29 21:29:20 +00:00
Sam Reed
32f8443064 * (bug 28238) paraminfo: output both limits for multi param 2011-04-29 20:52:57 +00:00
Raimond Spekking
1e4ba66bf2 Localisation updates for core and extension messages from translatewiki.net (2011-04-29 19:47:00 UTC) 2011-04-29 20:09:54 +00:00
Alexandre Emsenhuber
4fdddc9292 * (bug 21196) Article::getContributors() no longer fail on PostgreSQL
Changed User::loadFromRow() to allow partial row (user_id, user_name, user_real_name can be set independently from other fields) userand removed User::$mDataLoaded, replaced by User::$mLoadedItems (marked as private) that can be an array with already loaded items or true when all data has been loaded. Changed GlobalFunctions.php and Database.php accordingly, no use of User::$mDataLoaded in extensions.
2011-04-29 18:27:44 +00:00
Jeroen De Dauw
22cd74d272 fix return type descriptions 2011-04-29 15:41:57 +00:00
Jeroen De Dauw
f8dc68bd98 fix typo 2011-04-29 15:37:01 +00:00
Raimond Spekking
6551a9015b Localisation updates for core and extension messages from translatewiki.net (2011-04-28 20:00:00 UTC) 2011-04-28 20:38:36 +00:00
Mark A. Hershberger
653fa75fb3 Provisional fix for Bug #28631 to remove artifacts from GIF. This
seems better in my (very) limited testing than leaving it in, but I'd
like to get more tests.
2011-04-28 20:18:32 +00:00
Jure Kajzer
955385cee7 * close connection in class destructor (unlike MySql, Oracle does not commit on close) 2011-04-28 12:44:19 +00:00
Raimond Spekking
41c430021a Localisation updates for core and extension messages from translatewiki.net (2011-04-27 20:00:00 UTC) 2011-04-27 20:22:02 +00:00
Sam Reed
409b547cae * (bug 28719) Do not call mLinkHolders __destruct explicitly
Patch by Vitaliy Filippov
2011-04-27 20:05:39 +00:00
Mark A. Hershberger
cbcc75067a revert r76127, r76129, and r83535 b/c I'm backing out the fix for bug #542. Fixing ancient bugs causes grief for many people. 2011-04-27 19:13:34 +00:00
Max Semenik
a80cfe3425 Bug 28039 - Boldface all fatals. Moved showError() from WebInstaller to base class, added its call to all env checks wherever appropriate. Also fixed a fatal in CLI installer when no DB drivers are present. 2011-04-27 18:22:01 +00:00
Raimond Spekking
6b4b5454c4 Localisation updates for core and extension messages from translatewiki.net (2011-04-26 20:00:00 UTC) 2011-04-26 20:24:56 +00:00
Max Semenik
2da3d34301 Oops, forgot to revert r86954 in r86973, not needed anymore 2011-04-26 19:23:23 +00:00
Max Semenik
40294d93ba Follow-up r86954: make one centralised call to array_values(), there are more breakages of this kind 2011-04-26 19:20:19 +00:00