Commit graph

21730 commits

Author SHA1 Message Date
Aaron Schulz
ad34eaa3d4 Code style tweaks 2008-12-10 04:06:14 +00:00
Aaron Schulz
d67b431f5a Set $wgProfileToDatabase = false 2008-12-10 03:59:43 +00:00
Ilmari Karonen
172ba2f08a (bug 14365) skip invalid titles in RepoGroup::findFiles() 2008-12-09 23:20:44 +00:00
Aaron Schulz
b3d0a9767e Whitespace/style consistency 2008-12-09 23:00:28 +00:00
Aaron Schulz
852e962656 Revert r44367; ends up with an extra fetch :/ 2008-12-09 22:28:34 +00:00
Aaron Schulz
5acfd2e095 Delay restriction fetching query 2008-12-09 22:24:21 +00:00
Aaron Schulz
c417448eec Cleanup updateRestrictions() some 2008-12-09 22:12:29 +00:00
Aaron Schulz
6c30ef8f0d Cleanup Title::getTouched() 2008-12-09 22:03:41 +00:00
Aaron Schulz
d5c22de568 Allow curid for filecache 2008-12-09 21:40:06 +00:00
Alexandre Emsenhuber
7b3b006f94 fix doxygen warnings 2008-12-09 19:54:30 +00:00
Rotem Liss
01d1c77556 Localization update. 2008-12-09 16:04:48 +00:00
Raimond Spekking
1150cc5331 Per Brions suggestions http://www.mediawiki.org/wiki/Special:Code/MediaWiki/44245#c829
* Append the reason with a colon rather than wrapping in parens
* Rearrange the file-upload portion of the Special:Import form a bit
* Using one message for the comment field since it'll be identical in both parts of the form
More tweaks:
* Add labels for the transwiki import portion too
* Make the forms proper for RTL wikis
2008-12-09 15:21:07 +00:00
Andrew Garrett
c2ac8f8dfb DB layer compatibility with MySQL 5+ - allow both >Exec_master_log_pos and ->Exec_Master_Log_Pos in SHOW SLAVE STATUS. 2008-12-09 15:00:17 +00:00
Aaron Schulz
ca8eaca30f Tweak profile calls 2008-12-09 11:51:00 +00:00
Aaron Schulz
b2c5dce7d7 Speed up filecache a tad 2008-12-09 11:41:31 +00:00
Siebrand Mazeland
cc663a0406 Localisation updates for core messages from Betawiki (2008-12-09 08:38 CET) 2008-12-09 07:42:23 +00:00
Aaron Schulz
d4213e6c55 * Performance tweaks
* Whitespace
2008-12-09 03:25:02 +00:00
Aaron Schulz
a5b4105921 Tweak check order to be slightly better 2008-12-09 02:55:49 +00:00
Trevor Parscal
6cd1e485ba Fixed empty list of footer links when no footer messages are set. 2008-12-09 01:21:54 +00:00
Brion Vibber
611b224f31 * (bug 14268) SVG image sizes now extracted with proper XML parser
Uses a filter with XmlTypeCheck. Yay!
Now works with UTF-16 sample file uploaded on the bug. Should work with large comments etc as well.
2008-12-09 00:26:09 +00:00
Aryeh Gregor
50c1e9a500 Fix MySQL-centrism in comment 2008-12-08 23:10:24 +00:00
Aaron Schulz
57073ee3b1 Make pageCond() use PK is ID is already cached 2008-12-08 22:30:58 +00:00
Alexandre Emsenhuber
b6f827b739 * fix doxygen warnings
* fix whitespaces
2008-12-08 17:29:24 +00:00
Alexandre Emsenhuber
4b160a4d84 Check if wfDebug() is defined before calling it since AutoLoader.php is loaded before GlobalFunctions.php and may result in fatal error 2008-12-08 15:35:06 +00:00
Aaron Schulz
88d407ed9e Tweak r44296: use autoloader if it is set there 2008-12-08 11:48:08 +00:00
Aaron Schulz
2f584f68a9 *Skip autoloading of skin, always does inefficient strtolower() stuff and fails (returns false) anyway
*Add wfDebug() call on class load failure
2008-12-08 00:35:59 +00:00
Aaron Schulz
4ee40944d7 *Minor cleanup
*Whitespace
2008-12-08 00:10:22 +00:00
Aaron Schulz
fca45856cd Assign by ref to make sure cache fields carry over 2008-12-07 21:57:33 +00:00
Siebrand Mazeland
a011d464d8 Localisation updates for core messages from Betawiki (2008-12-07 20:57 CET) 2008-12-07 20:01:21 +00:00
Alexandre Emsenhuber
6f81a31fd6 Fix doxygen warnings 2008-12-07 19:56:02 +00:00
Siebrand Mazeland
ba4ca6ff2c Localisation updates for core messages from Betawiki (2008-12-07 00:49 CET) 2008-12-06 23:59:44 +00:00
Alexandre Emsenhuber
c1b8d3cf08 (bug 16577) When a blocked user tries to rollback a page, the block message is now only displayed once 2008-12-06 21:16:55 +00:00
Aaron Schulz
e2cf8c08f5 Revert r44130,r44129 - breaks display of message 2008-12-06 18:24:03 +00:00
Aaron Schulz
af10d34286 (bug 12998) Weaken DISPLAYTITLE restictions (patch by 'rememberthedot@gmail.com') 2008-12-06 18:00:17 +00:00
Andrew Garrett
2f23fbac16 Fix up Configure extension logo setting handling:
* Replace annoying button with an onblur preview and server-side conversion of file names into URLs.
2008-12-06 00:32:12 +00:00
Chad Horohoe
a1764b164c Bow out more gracefully if we can't write to the file. We've already got the foreign thumb URL on hand, so just use that. 2008-12-05 20:22:43 +00:00
Aaron Schulz
8452620711 Use boolean searching with '?' char 2008-12-05 18:16:01 +00:00
Chad Horohoe
f36d56a2fe Cleanup to wfGetNull():
* Add override in case /dev/null isn't accessible (bug 11009)
* Use wfGetNull() in ProxyTools rather than hardcoding it
2008-12-05 17:25:22 +00:00
Aaron Schulz
0b0e9f268d Keep form only for "file:" searches 2008-12-05 17:10:35 +00:00
Rotem Liss
b91328bb0c Localization update. 2008-12-05 16:13:56 +00:00
Aaron Schulz
7c97e15de1 XHTML fix 2008-12-05 14:37:58 +00:00
Siebrand Mazeland
609bdf349c Follow up on r44248:
* update messages.inc
* consistency update in message
2008-12-05 08:10:02 +00:00
Tim Starling
c6362060b0 New file upload content type checks using a simulation of IE's content type detection algorithm. 2008-12-05 05:35:22 +00:00
Siebrand Mazeland
07fac9cf4a Follow up on r44245:
* update messages.inc
* rebuild MessagesEn.php
* copy 'filerevert-comment' to 'import-upload-comment', and 'import-comment'
2008-12-05 02:29:52 +00:00
Ariel Glenn
6584a7bb0d handle xmlns for imports (bug #4520) 2008-12-05 02:16:11 +00:00
Ariel Glenn
d82a031eba log comment for imports (bug #12728) 2008-12-05 02:14:11 +00:00
Chad Horohoe
7b6bfe0c5d Actually make exists() useful here. Because of the order in which things are loaded, we've actually _already_ loaded the metadata prior to calling the constructor. It's safe to assume when making a new ForeignAPIFile that we'll want it to exist at that point. However, we'll default to false as it's safer to assume it doesn't exist and skip ourselves some Http requests. You should probably only be using newFromTitle() anyway :) 2008-12-04 21:21:48 +00:00
Chad Horohoe
87c34da6f8 Same as before, hardcoding Image: is safer. 2008-12-04 18:23:52 +00:00
Roan Kattouw
8fc3724a4a API: (bug 16541) Adding block expiry timestamp to list=logevents output (calculated from the block's timestamp and its duration) 2008-12-04 15:59:26 +00:00
Roan Kattouw
95c67c8df6 Revert part of r44232, accidentally committed too much 2008-12-04 15:55:47 +00:00