Tim Starling [Mon, 13 Feb 2012 06:17:56 +0000 (06:17 +0000)]
Updated the message preload list for Vector and other changes since r52503
Daniel Friesen [Mon, 13 Feb 2012 00:35:35 +0000 (00:35 +0000)]
Revert r106393; I do not find it acceptible for MediaWiki to ship by-default strangling it's deprecation notices.
Extension authors are supposed to be notified of deprecated code they are using that may disappear. This config variable was added so that devs who had an explicit reason to hide specific ranges of deprecation notices from MediaWiki (as opposed to all MediaWiki deprecation notices, or all php deprecation notices) not as a method of hiding notices that people are supposed to see from everyone.
Any dev who wants to should shoot themselves in the foot, that's their job. It is NOT our job to shoot everyone in the foot because some devs are too lazy to shoot themselves.
Brian Wolff [Mon, 13 Feb 2012 00:19:06 +0000 (00:19 +0000)]
Give a warning when people use $wgArticle. Add's a class that can be used to give warnings for other globals too.
See discussion on r111168.
Of course no one will see warning because trunk has $wgDeprecationReleaseLimit set to 1.17 by default
(<rant>have I mentioned how I don't like that variable. People enable warnings to be *warned* about
things. Making it so people won't get warned about things until a couple months after we've decided people
should stop using function/interface/etc defeats the purpose of having warnings</rant>)
p.s. Wasn't sure if this waranted something in the release notes, I don't think it does (It's just adding a warning)
but wasn't sure.
Robin Pepermans [Sun, 12 Feb 2012 23:42:39 +0000 (23:42 +0000)]
add warning note to isKnown() per r111017
Jeroen De Dauw [Sun, 12 Feb 2012 23:10:06 +0000 (23:10 +0000)]
follow up to r111017, move hook to isAlwatsKnown as per discussion on CR
Antoine Musso [Sun, 12 Feb 2012 19:51:03 +0000 (19:51 +0000)]
Fix some injection from r110871
Antoine Musso [Sun, 12 Feb 2012 19:40:13 +0000 (19:40 +0000)]
revert core part of r111231
That one removed wfLoadExtensionMessages() . We do not want to break
back compatiliblity right now.
Antoine Musso [Sun, 12 Feb 2012 19:33:52 +0000 (19:33 +0000)]
revert r111028 (attempt to fix bug 34254)
That patch was obviously wrong, it disabled compression for any
requests *blushes* :-]
Jeroen De Dauw [Sun, 12 Feb 2012 19:27:09 +0000 (19:27 +0000)]
v2, not v3
Antoine Musso [Sun, 12 Feb 2012 19:25:28 +0000 (19:25 +0000)]
revert r111234 (deprecated methods removal)
Reasons invoked by Rob Lanphier are:
* ongoing code slush
* backwards compatilibility issues
Alexandre Emsenhuber [Sun, 12 Feb 2012 19:18:36 +0000 (19:18 +0000)]
Added missing directories to findHooks.php and missing quote in hooks.txt that made LoginAuthenticateAudit show up as undocumented when running findHooks.php
Krinkle [Sun, 12 Feb 2012 18:58:28 +0000 (18:58 +0000)]
[Html.php] Follow-up r110275, comment fixes.
* $options does not contain <option> elements, but associative array between option-values and option-labels
Jeroen De Dauw [Sun, 12 Feb 2012 18:11:23 +0000 (18:11 +0000)]
Follow up to r111309; fix if condition and style fix
Platonides [Sun, 12 Feb 2012 17:47:39 +0000 (17:47 +0000)]
Useless wrapping on an anonymous function. Follow-up r111264
Platonides [Sun, 12 Feb 2012 17:36:06 +0000 (17:36 +0000)]
Convert rawSelect() into rawSelectRow()
Get rid of odd foreach().
The database select() is able to handle empty arrays.
Jeroen De Dauw [Sun, 12 Feb 2012 15:51:24 +0000 (15:51 +0000)]
follow up to r111264 - get rid of wgDBDataObjects as per suggestion by Platonides
Alexandre Emsenhuber [Sun, 12 Feb 2012 15:37:29 +0000 (15:37 +0000)]
Fix exception's text: use __construct() instead of class name for constructor and WikiPage::doEditUpdates() instead of Article::editUpdates()
Alexandre Emsenhuber [Sun, 12 Feb 2012 15:22:01 +0000 (15:22 +0000)]
* Use WikiPage instead of Article to call doEdit()
* Use a local user object and pass it WikiPage::doEdit()
* User::$mRights is a flat array of permissions, not a 2-D array like $wgGroupPermissions
Sam Reed [Sun, 12 Feb 2012 15:21:52 +0000 (15:21 +0000)]
Fixup documentation
Alexandre Emsenhuber [Sun, 12 Feb 2012 14:38:42 +0000 (14:38 +0000)]
Revert r111168 (removed of $wgArticle) since it seems that this is too early for some people; also removed the comment stating the removal was due in 1.20 (might want to be merged in 1.19).
Jeroen De Dauw [Sun, 12 Feb 2012 14:05:58 +0000 (14:05 +0000)]
rename canHas to canHave
Jeroen De Dauw [Sun, 12 Feb 2012 13:58:22 +0000 (13:58 +0000)]
follow up to r111266, missed these :/
Jeroen De Dauw [Sun, 12 Feb 2012 13:52:11 +0000 (13:52 +0000)]
use array_diff instead of self written equivalent
Thomas Gries [Sun, 12 Feb 2012 09:13:53 +0000 (09:13 +0000)]
fix for bug 29135 - please carefully review as it touched the PasswordReset behaviour. Aashish's fix only presets the PasswordReset username field with the logged-in username. This is exactly what users want when they reset their own password via mail. It is also needed by OpenID extension to allow OpenID-only logged-in users to create a regular password for several purposes and security.
Amir E. Aharoni [Sun, 12 Feb 2012 07:08:46 +0000 (07:08 +0000)]
Added Bhojpuri to the list of languages that have the line height fix.
Thomas Gries [Sat, 11 Feb 2012 23:46:37 +0000 (23:46 +0000)]
Aashish's fix for bug33997 (SpecialPasswordReset does not always has the correct returnto= page on the login / create account portlet and returns to SpecialPasswortReset instead to Main page )
Jeroen De Dauw [Sat, 11 Feb 2012 21:49:55 +0000 (21:49 +0000)]
Follow up to r111264; update @since tags
Jeroen De Dauw [Sat, 11 Feb 2012 21:34:01 +0000 (21:34 +0000)]
adding DBDataObject class after having some people review it and posting on the list. docs can currently be found at https://mediawiki.org/wiki/User:Jeroen_De_Dauw/DBDataObject
Raimond Spekking [Sat, 11 Feb 2012 21:23:46 +0000 (21:23 +0000)]
Localisation updates for core and extension messages from translatewiki.net
Mark A. Hershberger [Sat, 11 Feb 2012 18:11:01 +0000 (18:11 +0000)]
fixes Bug 34198 - first item in the history shows no information about its size
Regression in 1.19 found and fixed by Umherirrender
With MediaWiki 1.19 the history page was changed from showing the
size to showing the diff and giving the size in the tooltip.
But now the first item in the history has no information about it size.
Alexandre Emsenhuber [Sat, 11 Feb 2012 16:37:04 +0000 (16:37 +0000)]
Use local context to get messages
Alexandre Emsenhuber [Sat, 11 Feb 2012 15:36:49 +0000 (15:36 +0000)]
Fix casing on OutputPage::setPageTitle() call and pass it a Message object
Sam Reed [Sat, 11 Feb 2012 15:14:15 +0000 (15:14 +0000)]
Drag in a change noticed in wmf branches
Sam Reed [Sat, 11 Feb 2012 15:13:01 +0000 (15:13 +0000)]
Followup r11120, wfParseUrl() can return false, if it does, the host isn't going to be valid
Alexandre Emsenhuber [Sat, 11 Feb 2012 14:36:36 +0000 (14:36 +0000)]
Remove some methods marked for removal in 1.20 and update FakeTitle accordingly.
No more callers in core or extensions.
Siebrand Mazeland [Sat, 11 Feb 2012 12:17:58 +0000 (12:17 +0000)]
* Remove last remaining traces of wfLoadExtensionMessages().
* Add missing action message and remove unused global in UploadLocal.
* Some whitespace updates in Maps.
Mark A. Hershberger [Sat, 11 Feb 2012 01:53:17 +0000 (01:53 +0000)]
re r111186: remove extra form tag.
Mark A. Hershberger [Sat, 11 Feb 2012 01:43:34 +0000 (01:43 +0000)]
ugh, missed this global var
Mark A. Hershberger [Sat, 11 Feb 2012 01:33:20 +0000 (01:33 +0000)]
w/s
mrbluesky [Sat, 11 Feb 2012 01:11:07 +0000 (01:11 +0000)]
Follow-up to r111091. Dont paste md5 in the code.
Aaron Schulz [Sat, 11 Feb 2012 00:41:07 +0000 (00:41 +0000)]
Reverted r111188: backport conflict fodder
Antoine Musso [Fri, 10 Feb 2012 23:01:15 +0000 (23:01 +0000)]
Release note for bug 12021
was missing from r111180
Antoine Musso [Fri, 10 Feb 2012 22:59:37 +0000 (22:59 +0000)]
uses wfMessage() instead of wgLang->getMessage()
minor space
follow r111180 for bug 12021
mrbluesky [Fri, 10 Feb 2012 21:47:37 +0000 (21:47 +0000)]
(bug 32210) UserMailer.php: New edit emails should offer a single-diff link.
Mark A. Hershberger [Fri, 10 Feb 2012 21:13:42 +0000 (21:13 +0000)]
part 1 of fix for Bug 30332 - API spamblocklist error should provide *all* blocked URLs, not just one
Patch from Jarry1250
Raimond Spekking [Fri, 10 Feb 2012 20:57:24 +0000 (20:57 +0000)]
Localisation updates for core and extension messages from translatewiki.net
Aaron Schulz [Fri, 10 Feb 2012 20:52:57 +0000 (20:52 +0000)]
* Removed thumb.php comment about ProofreadPage, page numbers are more general.
* Added ExtractThumbParameters hook handlers for ogg and tiff handler extensions.
Mark A. Hershberger [Fri, 10 Feb 2012 20:37:21 +0000 (20:37 +0000)]
Re r111197 Fix Bug 33691 - PHP Warning on showing Release Notes due to the fact that file does not exist
Patch from moejoe0000
Mark A. Hershberger [Fri, 10 Feb 2012 20:36:30 +0000 (20:36 +0000)]
Fix Bug 33691 - PHP Warning on showing Release Notes due to the fact that file does not exist
Patch from moejoe0000
Mark A. Hershberger [Fri, 10 Feb 2012 20:28:12 +0000 (20:28 +0000)]
fixes Bug 26459 - The renderNavigation and renderPortals functions should be protected or public instead of private
Patch from Christian Neubauer
Mark A. Hershberger [Fri, 10 Feb 2012 19:46:38 +0000 (19:46 +0000)]
Fixes Bug 18775 - Redirect preview rendering stops prematurely, hides categories
Patch from Brad Jorsch.
Alexandre Emsenhuber [Fri, 10 Feb 2012 19:46:04 +0000 (19:46 +0000)]
* Use local context instead of global variables
* Same for messages
* Pass the Message object to OutputPage::setPageTitle() and OutputPage::setSubtitle()
* Fixed casing of OutputPage::setPageTitle()
Alexandre Emsenhuber [Fri, 10 Feb 2012 19:35:14 +0000 (19:35 +0000)]
* Don't issue a write query to the database if the wl_notificationtimestamp is already null, so we don't to do at COMMIT et al. on every view request on an user watching the page
* Made WatchedItem select wl_notificationtimestamp instead of "1"
* Added loading mechanism, accessor to wl_notificationtimestamp and method to reset that timestamp
Mark A. Hershberger [Fri, 10 Feb 2012 19:34:03 +0000 (19:34 +0000)]
w/s
Mark A. Hershberger [Fri, 10 Feb 2012 19:29:28 +0000 (19:29 +0000)]
Fixes Bug 18704 - Add an unique CSS class or ID to the tagfilter table row at RecentChanges
Patch from Jarry1250
Mark A. Hershberger [Fri, 10 Feb 2012 19:10:29 +0000 (19:10 +0000)]
Fix bug 12021 - Provide additional links on Special:Listusers
Patch from John N.
Alexandre Emsenhuber [Fri, 10 Feb 2012 17:00:21 +0000 (17:00 +0000)]
GOOD BYE $wgArticle!
It was stated that it would be removed in 1.20 and we are in 1.20.
Sam Reed [Fri, 10 Feb 2012 15:37:33 +0000 (15:37 +0000)]
Documentation followups from lastnight
Sam Reed [Fri, 10 Feb 2012 14:39:12 +0000 (14:39 +0000)]
* (bug 34313) MediaWiki API intro message about "HTML format" should mention the format parameter.
Sam Reed [Fri, 10 Feb 2012 14:27:50 +0000 (14:27 +0000)]
* (bug 34316) Add ability to retrieve maximum upload size from MediaWiki API.
mrbluesky [Fri, 10 Feb 2012 14:21:45 +0000 (14:21 +0000)]
Follow-up to r111150. Update parsertests, remove item from release notes.
mrbluesky [Fri, 10 Feb 2012 12:20:23 +0000 (12:20 +0000)]
(bug 32626) Add CSS class to backlinks in reference sections.
Aaron Schulz [Fri, 10 Feb 2012 01:35:13 +0000 (01:35 +0000)]
r111076: url decode the 'rel404' path...*ahem*. Archived files and files with special chars are otherwise broken.
Sam Reed [Fri, 10 Feb 2012 00:49:56 +0000 (00:49 +0000)]
Work in progress (can kill another patch hanging around in my working copy)
Maintenance script to kill off ancient tables, and drop old fields/indexes in tables
Includes cleanup of the text table, dropping it's old fields and indexes
More to come at a later date
Aaron Schulz [Fri, 10 Feb 2012 00:49:10 +0000 (00:49 +0000)]
Cleaned up some docs after r111101
Sam Reed [Fri, 10 Feb 2012 00:05:36 +0000 (00:05 +0000)]
Move config to 1.20 tooooo
Tim Starling [Thu, 9 Feb 2012 23:56:48 +0000 (23:56 +0000)]
Fix for r106752: let TempFSFile deletions happen when the object goes out of scope, as you would expect with this RAII pattern, rather than leaving it until shutdown. PHP has lots of bugs in its shutdown process so doing the file delete at scope destruction means it's more likely to happen.
Sam Reed [Thu, 9 Feb 2012 23:22:38 +0000 (23:22 +0000)]
* (bug 32341) Add upload by URL domain limitation.
Essentially reverts r109741 live again
Which was r109562, r109564, r109570
Sam Reed [Thu, 9 Feb 2012 21:36:14 +0000 (21:36 +0000)]
More return documentation
Sam Reed [Thu, 9 Feb 2012 21:35:05 +0000 (21:35 +0000)]
More return documentation
Sam Reed [Thu, 9 Feb 2012 21:33:27 +0000 (21:33 +0000)]
More return documentation
Sam Reed [Thu, 9 Feb 2012 21:17:18 +0000 (21:17 +0000)]
More documentation improvements
Sam Reed [Thu, 9 Feb 2012 21:08:06 +0000 (21:08 +0000)]
Fixing up undefined types in maintenance documentation
mrbluesky [Thu, 9 Feb 2012 21:06:19 +0000 (21:06 +0000)]
(bug 17416) Don't prompt for summary when summary is preset using &summary=
Raimond Spekking [Thu, 9 Feb 2012 21:05:06 +0000 (21:05 +0000)]
Localisation updates for core and extension messages from translatewiki.net
Max Semenik [Thu, 9 Feb 2012 20:39:16 +0000 (20:39 +0000)]
(bug 28936, bug 5280) Broken or invalid titles can't be removed from watchlist. Now titles are fixed or deleted, if unfixable, upon loading Special:EditWatchlist.
Aaron Schulz [Thu, 9 Feb 2012 19:45:12 +0000 (19:45 +0000)]
(bug 34231) - 'Make thumb.php error or redirect for urls with bogus paths but valid file & thumb names.'
Sam Reed [Thu, 9 Feb 2012 19:30:01 +0000 (19:30 +0000)]
Fixing some of the "@return true" or "@return false", need to be "@return bool" and then the metadata can say true if foo, false if bar
Other documentation improvements
Sam Reed [Thu, 9 Feb 2012 19:29:36 +0000 (19:29 +0000)]
Fixing some of the "@return true" or "@return false", need to be "@return bool" and then the metadata can say true if foo, false if bar
Other documentation improvements
Jeroen De Dauw [Thu, 9 Feb 2012 19:14:25 +0000 (19:14 +0000)]
follow up to r111017 - up rel notes
Roan Kattouw [Thu, 9 Feb 2012 19:02:59 +0000 (19:02 +0000)]
Followup r110988: IE8 throws JS errors if you try to call .append() on a <style> tag (or try to change .innerHTML), so catch the error and fall back to replacing the style tag with a new one
Sam Reed [Thu, 9 Feb 2012 18:57:41 +0000 (18:57 +0000)]
Sync README up with Special:Version
Aaron Schulz [Thu, 9 Feb 2012 18:53:35 +0000 (18:53 +0000)]
Made loadFromFileCache() always disable $wgOut regardless of whether compression is used
Aaron Schulz [Thu, 9 Feb 2012 18:25:58 +0000 (18:25 +0000)]
Removed some $wgUseGzip comments...the LocalSettingsGenerator doesn't do this anymore
Sam Reed [Thu, 9 Feb 2012 18:01:54 +0000 (18:01 +0000)]
Fixing some of the "@return true" or "@return false", need to be "@return bool" and then the metadata can say true if foo, false if bar
Other documentation improvements
Sam Reed [Thu, 9 Feb 2012 18:01:10 +0000 (18:01 +0000)]
Fixing some of the "@return true" or "@return false", need to be "@return bool" and then the metadata can say true if foo, false if bar
Other documentation improvements
Aaron Schulz [Thu, 9 Feb 2012 17:54:14 +0000 (17:54 +0000)]
r111036: some doc tweaks
Sam Reed [Thu, 9 Feb 2012 17:42:35 +0000 (17:42 +0000)]
Fixing some of the "@return true" or "@return false", need to be "@return bool" and then the metadata can say true if foo, false if bar
Other documentation improvements
Sam Reed [Thu, 9 Feb 2012 17:41:50 +0000 (17:41 +0000)]
Fixing some of the "@return true" or "@return false", need to be "@return bool" and then the metadata can say true if foo, false if bar
Other documentation improvements
Antoine Musso [Thu, 9 Feb 2012 14:41:15 +0000 (14:41 +0000)]
reword doc from r110938
Antoine Musso [Thu, 9 Feb 2012 14:34:36 +0000 (14:34 +0000)]
DebugToolbar: drop specific monospace font
Use the defaults coming from skins/common/commonElements.css
ping r105122
Roan Kattouw [Thu, 9 Feb 2012 14:14:45 +0000 (14:14 +0000)]
Make mediawiki.legacy.ajax top-loading too, apparently some people are still using sajax on the live site. Eventually the legacy.ajax module should die entirely
Jeroen De Dauw [Thu, 9 Feb 2012 14:10:59 +0000 (14:10 +0000)]
follow up to r111017 - added docs
Roan Kattouw [Thu, 9 Feb 2012 11:04:24 +0000 (11:04 +0000)]
(bug 34289) user.options CSS loaded twice. Fixed by splitting off the CSS part of user.options into a separate module (user.cssprefs), as per the fixme comment added in r93363. No RELEASE-NOTEs because this is a regression fix that I'm gonna tag for backporting to 1.19
Antoine Musso [Thu, 9 Feb 2012 11:02:36 +0000 (11:02 +0000)]
(bug 34254) fix gzipped file cache double compressing output
A gzipped file cache is enabled by setting $wgUseGzip and $wgUseFileCache.
To save CPU cycles, HTMLFileCache would print the compressed output as is
but WebStart uses an ob_gzhandler so we end up with a double compression.
Roan Kattouw [Thu, 9 Feb 2012 10:59:52 +0000 (10:59 +0000)]
Revert r111023 and r111024, they broke user.options . I'll fix this properly by splitting user.options's CSS part into a separate module; I've apparently known this was needed since r93363
Antoine Musso [Thu, 9 Feb 2012 10:56:36 +0000 (10:56 +0000)]
debug statements for HTMLFileCache / Output
Roan Kattouw [Thu, 9 Feb 2012 10:42:53 +0000 (10:42 +0000)]
Explanatory comment for r111023
Roan Kattouw [Thu, 9 Feb 2012 10:36:12 +0000 (10:36 +0000)]
(bug 34289) user.options CSS loaded twice. Caused by r107534. Made embedded private modules scripts-only, because the styles for user.options are included separately in buildCssLinks(), because they need to be applied without JavaScript and because they need to respect $wgAllowUserCssPrefs. No RELEASE-NOTES because I want to merge this into 1.19 as a regression fix
Antoine Musso [Thu, 9 Feb 2012 09:34:47 +0000 (09:34 +0000)]
Fix some missing doc groups