lhc/web/wiklou.git
13 years agotrailing whitespace fixup
Mark A. Hershberger [Tue, 15 Feb 2011 20:55:54 +0000 (20:55 +0000)]
trailing whitespace fixup

13 years ago* (bug 27338) Gallery in 1.17 breaks for audio/video + ogghandler
Mark A. Hershberger [Tue, 15 Feb 2011 19:39:45 +0000 (19:39 +0000)]
* (bug 27338) Gallery in 1.17 breaks for audio/video + ogghandler

Patch by DieBuche, who explains the CSS:

    If the image height is lower than the line-height, the margin-top
    is applied to the top of the line.  a very short image will not
    follow for 3-4px laters, thus leading to a bigger distance from
    the top than it should be.  vertical-align:text-top moves the
    picture up, so this problem doesn't happen

I've not tested this, but DieBuche and Derk-Jan Hartman tested and
provided screenshots in the bug.

13 years agoResolves remaining issues in r82000 with remapping relative CSS URLs that contained...
Trevor Parscal [Tue, 15 Feb 2011 00:49:34 +0000 (00:49 +0000)]
Resolves remaining issues in r82000 with remapping relative CSS URLs that contained queries.

13 years agoResolves bug #27332 - now using absolute positioning with em measurements to layout...
Trevor Parscal [Tue, 15 Feb 2011 00:23:06 +0000 (00:23 +0000)]
Resolves bug #27332 - now using absolute positioning with em measurements to layout search controls. Tested in Internet Explore (6, 7 & 8) as well as a few Gecko and Webkit browsers.

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Mon, 14 Feb 2011 21:56:30 +0000 (21:56 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-02-14 21:31:00 UTC)

13 years ago(bug 27402) Add support for disabling MWSuggest
Roan Kattouw [Mon, 14 Feb 2011 19:55:20 +0000 (19:55 +0000)]
(bug 27402) Add support for disabling MWSuggest

13 years agoAllow callback to be set by options array, inspired by bug 27391
Chad Horohoe [Mon, 14 Feb 2011 17:16:39 +0000 (17:16 +0000)]
Allow callback to be set by options array, inspired by bug 27391

13 years agoAdd some newlines to generateSitemap output, bug 26134
Chad Horohoe [Mon, 14 Feb 2011 17:01:42 +0000 (17:01 +0000)]
Add some newlines to generateSitemap output, bug 26134

13 years agoExplicitally define $domain
Sam Reed [Mon, 14 Feb 2011 14:09:25 +0000 (14:09 +0000)]
Explicitally define $domain

Documentation

13 years agoFollow-up r82102 for maintenance file
Raimond Spekking [Mon, 14 Feb 2011 07:43:07 +0000 (07:43 +0000)]
Follow-up r82102 for maintenance file

13 years ago* (bug 26298) Throw warning instead of silently saving blank page when php-suhosin...
Brion Vibber [Mon, 14 Feb 2011 03:10:08 +0000 (03:10 +0000)]
* (bug 26298) Throw warning instead of silently saving blank page when php-suhosin removes wpTextbox1 for being 'too long' or some such

To resolve this, edit your php.ini and raise the limits in suhosin.request.max_value_length and suhosin.post.max_value_length settings to more reasonable values.

As a helper for users hit by this, I've made a tweak on trunk in rXXXXX to check for the case of a missing wpTextbox1 field (which I can confirm when installing Suhosin and setting the suhosin.request.max_value_length absurdly low). This extends the previous behavior to check for incomplete form submissions by just checking if the edittime (a late field) is present; and also I added a message to show when it forces those previews.

So now when someone hits this sort of filter, it'll force a preview. Unfortunately that'll show a big empty box, but at least you'll know it's because something went wrong, and it won't save it silently...

Adds UI message 'edit_form_incomplete' with default English value. It's fairly generic as we can't know whether the field was filtered for length, content, or what.

13 years ago* (bug 25571) Xml::encodeJsVar now passes floats natively instead of converting to...
Brion Vibber [Mon, 14 Feb 2011 00:54:40 +0000 (00:54 +0000)]
* (bug 25571) Xml::encodeJsVar now passes floats natively instead of converting to strings

Added unit test cases for int, float, and strings that look like int or float.

13 years agoNot sure I like the DROP stuff here, but let's exclude it from this script.
Greg Sabino Mullane [Mon, 14 Feb 2011 00:36:36 +0000 (00:36 +0000)]
Not sure I like the DROP stuff here, but let's exclude it from this script.

13 years ago* (bug 25675) Fix search suggestions for Special: pages with spaces
Brion Vibber [Mon, 14 Feb 2011 00:32:13 +0000 (00:32 +0000)]
* (bug 25675) Fix search suggestions for Special: pages with spaces

Patch by Umherirrender on https://bugzilla.wikimedia.org/show_bug.cgi?id=25675 - normalizes spaces to underscores for our direct alias list comparison.

The current English names mostly use CamelCase, but this is visible with eg German localization, where ExpandTemplates extension has [[Spezial:Vorlagen expandieren]].

13 years agoFollow-up r82093: fixed comment :)
Aaron Schulz [Sun, 13 Feb 2011 23:30:26 +0000 (23:30 +0000)]
Follow-up r82093: fixed comment :)

13 years ago* (bug 27353) IPv6 address ending in "::WORD" was not recognized
Aaron Schulz [Sun, 13 Feb 2011 23:24:48 +0000 (23:24 +0000)]
* (bug 27353) IPv6 address ending in "::WORD" was not recognized
* Moved down 'contains no "::"' alternative for clarity (and possibly use frequency too)
* Added more IPv6 tests

13 years agoBroke long line
Aaron Schulz [Sun, 13 Feb 2011 23:20:53 +0000 (23:20 +0000)]
Broke long line

13 years ago* (bug 23817, bug 26250) User Service_JSON's native associative array mode in FormatJ...
Brion Vibber [Sun, 13 Feb 2011 23:08:28 +0000 (23:08 +0000)]
* (bug 23817, bug 26250) User Service_JSON's native associative array mode in FormatJson::decode(), bypassing wfObjectToArray (which is also fixed)

Patches from Tim Yates on https://bugzilla.wikimedia.org/show_bug.cgi?id=23817

13 years ago* (bug 26250, bug 23817) Fix wfObjectToArray() to descend into arrays; fixes processi...
Brion Vibber [Sun, 13 Feb 2011 23:04:34 +0000 (23:04 +0000)]
* (bug 26250, bug 23817) Fix wfObjectToArray() to descend into arrays; fixes processing of JSON return values for ForeignAPIRepo when native json module not present

13 years agoBug 27385 - Set Polish $namespaceGenderAliases (r82029)
Raimond Spekking [Sun, 13 Feb 2011 21:35:25 +0000 (21:35 +0000)]
Bug 27385 - Set Polish $namespaceGenderAliases (r82029)

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Sun, 13 Feb 2011 21:28:13 +0000 (21:28 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-02-13 21:00:00 UTC)

13 years ago* (bug 27377) Fix Special:Listfile user selector when initial form parameters already set
Brion Vibber [Sun, 13 Feb 2011 21:20:02 +0000 (21:20 +0000)]
* (bug 27377) Fix Special:Listfile user selector when initial form parameters already set

Follow-up to r68096: fix field name when blacklisting for hidden fields.
The user field ended up getting copied into the hidden fields due to wrong name in the getHiddenFields() call.

13 years agoFollow-up r82049: Fix strict comparison because MediaHandler::parseParamString()...
Bryan Tong Minh [Sun, 13 Feb 2011 20:38:05 +0000 (20:38 +0000)]
Follow-up r82049: Fix strict comparison because MediaHandler::parseParamString() is not guaranteed to use intval() on the width and height parameters.
Add __METHOD__ to wfDebug() call.

13 years agoAdd profiling to removeWatch
Sam Reed [Sun, 13 Feb 2011 19:12:24 +0000 (19:12 +0000)]
Add profiling to removeWatch

13 years ago* (bug 27376) when using ApiBase::PARAM_TYPE => 'integer' without a min or max value...
Sam Reed [Sun, 13 Feb 2011 17:00:47 +0000 (17:00 +0000)]
* (bug 27376) when using ApiBase::PARAM_TYPE => 'integer' without a min or max value, api doesn't validate the input is actually an integer

Fixup some space indention

13 years ago(follow-up r81558) Per suggestion, make this use media handler's getParamString/parse...
Brian Wolff [Sun, 13 Feb 2011 07:30:49 +0000 (07:30 +0000)]
(follow-up r81558) Per suggestion, make this use media handler's getParamString/parseParamString

Additionally, rename makeThumbParam back to getScale since that makes more sense now.
Also update the version number used in ForeignAPIRepo user-agent, since this is kind of significant change.

13 years ago(Follow-up r75968) r75968 started extracting and displaying some svg metadata, but...
Brian Wolff [Sun, 13 Feb 2011 04:55:35 +0000 (04:55 +0000)]
(Follow-up r75968) r75968 started extracting and displaying some svg metadata, but didn't add the messages it used.

It started to use the messages svg-description, svg-title, svg-width, and svg-height in the metadata table, without
defining those messages. I changed it to use the same messages as are used when displaying the same table on
the image description pages of jpeg files. ( exif-imagewidth and friends ). Personally I feel the metadata
should be about the image, not what format the metadata was stored in (a description of an image is still a
description of the image, regardless of the format of that image. JPEG images for example can have image descriptions in
3 different metadata formats [exif, iptc, xmp], it would be insane to make different messages for them). Furthermore,
I think we should rename all the exif-* messages to something like filemeta-property (but thats an issue for later).

I added one message, 'exif-objectname', since the svg title property didn't really correspond to anything in exif.
However, it does correspond very well to IPTC's object name property, which i hope we will start supporting in 1.18,
so I used that message for that.

13 years agofixing small typo
Krinkle [Sun, 13 Feb 2011 01:17:11 +0000 (01:17 +0000)]
fixing small typo

13 years agoNever serve 304s from RL in debug mode. This causes inadvertent caching of debug...
Roan Kattouw [Sat, 12 Feb 2011 23:41:28 +0000 (23:41 +0000)]
Never serve 304s from RL in debug mode. This causes inadvertent caching of debug responses

13 years agoFollow-up r82038. Calling wfExpandUrl() on remote base path *AFTER* is has been set...
Krinkle [Sat, 12 Feb 2011 23:20:32 +0000 (23:20 +0000)]
Follow-up r82038. Calling wfExpandUrl() on remote base path *AFTER* is has been set in the foreach loop.

(Also ping r81731)

13 years agoFollow-up r81731 CR comments. Calling wfExpandUrl() on remote base path.
Krinkle [Sat, 12 Feb 2011 22:46:41 +0000 (22:46 +0000)]
Follow-up r81731 CR comments. Calling wfExpandUrl() on remote base path.

13 years agoAdd gender aliases per r82029
Raimond Spekking [Sat, 12 Feb 2011 21:47:14 +0000 (21:47 +0000)]
Add gender aliases per r82029

13 years agoMoved wfGetSiteNotice(), wfGetNamespaceNotice() and wfGetCachedNotice() to Skin call...
Alexandre Emsenhuber [Sat, 12 Feb 2011 21:24:05 +0000 (21:24 +0000)]
Moved wfGetSiteNotice(), wfGetNamespaceNotice() and wfGetCachedNotice() to Skin call to allow passing the Skin object to the SiteNoticeBefore and SiteNoticeAfter hooks.
I didn't left compatibility functions since there's no other call to these functions in core or extensions.

13 years agoFollowup r82029 - typo in comment
Niklas Laxström [Sat, 12 Feb 2011 21:05:27 +0000 (21:05 +0000)]
Followup r82029 - typo in comment

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Sat, 12 Feb 2011 20:46:33 +0000 (20:46 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-02-12 20:08:00 UTC)

13 years ago* (bug 17160) Gender specific display text for User namespace
Niklas Laxström [Sat, 12 Feb 2011 20:40:40 +0000 (20:40 +0000)]
* (bug 17160) Gender specific display text for User namespace
Second attempt for this thing..

13 years agoAdding a convenience function to check if a variable is a dom element (instead of...
Krinkle [Sat, 12 Feb 2011 20:40:35 +0000 (20:40 +0000)]
Adding a convenience function to check if a variable is a dom element (instead of a jQuery object, array of dom elements or something totally different).

Note: jQuery itself uses this same check (internally).

13 years agowhitespace
Niklas Laxström [Sat, 12 Feb 2011 20:09:12 +0000 (20:09 +0000)]
whitespace

13 years agoSince mwsuggest.js is no longer used in core, wgMWSuggestTemplate is not defined...
Krinkle [Sat, 12 Feb 2011 20:08:55 +0000 (20:08 +0000)]
Since mwsuggest.js is no longer used in core, wgMWSuggestTemplate is not defined either.
This variable was previously defined by default.

Gadgets using this broke with 1.17 since they assumed wgMWSuggestTemplate was defined just like mwsuggest.js did.
I've added the definition for it inside the file itself.

13 years ago* Fix hook name
Alexandre Emsenhuber [Sat, 12 Feb 2011 17:15:24 +0000 (17:15 +0000)]
* Fix hook name
* Update paths in findhooks script

13 years agoDo r82017 the right way. Fix pointed by Bryan.
Platonides [Sat, 12 Feb 2011 15:18:59 +0000 (15:18 +0000)]
Do r82017 the right way. Fix pointed by Bryan.

13 years agoFollow up r81883. Readd the extension. This kind of breaks the tempnam() guarantee...
Platonides [Sat, 12 Feb 2011 14:58:16 +0000 (14:58 +0000)]
Follow up r81883. Readd the extension. This kind of breaks the tempnam() guarantee, but otherwise with no extension the uploader returns UploadBase::FILETYPE_MISSING, not UploadBase::SUCCESS.

13 years agoFollow-up r81971: Can't use $this->setWarning() in static context, so append the...
Bryan Tong Minh [Sat, 12 Feb 2011 14:49:34 +0000 (14:49 +0000)]
Follow-up r81971: Can't use $this->setWarning() in static context, so append the error to the imageinfo array instead

13 years agoNo need to set a new MediaWiki_I18N object, already done when creating a QuickTemplat...
Alexandre Emsenhuber [Sat, 12 Feb 2011 14:42:20 +0000 (14:42 +0000)]
No need to set a new MediaWiki_I18N object, already done when creating a QuickTemplate object

13 years agow/s fixups
Mark A. Hershberger [Sat, 12 Feb 2011 04:06:22 +0000 (04:06 +0000)]
w/s fixups

13 years agoFix up bug #26016 by applying the more descriptive comment suggested
Mark A. Hershberger [Sat, 12 Feb 2011 04:01:06 +0000 (04:01 +0000)]
Fix up bug #26016 by applying the more descriptive comment suggested
there.  Code Reviewers: have at it!!

13 years ago* (bug 27333) Fix repetitive last-seen time queries on page history
Brion Vibber [Sat, 12 Feb 2011 01:10:48 +0000 (01:10 +0000)]
* (bug 27333) Fix repetitive last-seen time queries on page history

Title::getNotificationTimestamp() is called for every line in HistoryPager, to compare against the revision's timestamp to determine if it's a new edit since the viewer's last visit to the page.
The function kept an internal cache within the Title object to avoid having to make the query over and over in this situation, but in the case that it returns null, the cached entry would be accidentally ignored on the next round due to use of isset() to check for the array entry. (Most of the time it's great, but if the value of the key actually *is* null, isset() returns false.) Switched to array_key_exists(), which doesn't have this false negative. Now only one query gets issued for this on a history page, even if the answer is null.

13 years agoResolves bug #27328 by supporting URL rewriting for CSS that comes from the Wiki...
Trevor Parscal [Fri, 11 Feb 2011 22:57:32 +0000 (22:57 +0000)]
Resolves bug #27328 by supporting URL rewriting for CSS that comes from the Wiki, such as user and site scripts.

13 years agoFixing issue with multiple premade toggles in a non-custom collapsible element.
Krinkle [Fri, 11 Feb 2011 22:30:14 +0000 (22:30 +0000)]
Fixing issue with multiple premade toggles in a non-custom collapsible element.
The problem is that when one of the toggles is clicked the classname is only changed on the toggle that was clicked. The others will stil have the wrong class. On of the areas in which this may lead to weird behaviour is the :hover styles for the up- and downarrow cursors.

Previously would bind to all of them :

<pre>
 = .find( '> .mw-collapsible-toggle' );
// ^ may match multiple ones
</pre>

...  which is good. But in the click handler:

<pre>
[..].bind( 'click.mw-collapse', function( e ){
toggleLinkPremade( this, e );
} );
</pre>

... only called the function with 'this'. This has been changed to pass all of  instead.

This problem was discovered in the following scenario. Where an .mw-collapsible has three children. The first two are clickable and are the togglers for the third child.
http://translatewiki.net/w/i.php?title=Sandbox&oldid=2692006

13 years agoFixup a couple of parameter documentation bits
Sam Reed [Fri, 11 Feb 2011 22:06:46 +0000 (22:06 +0000)]
Fixup a couple of parameter documentation bits

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Fri, 11 Feb 2011 20:37:31 +0000 (20:37 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-02-11 20:17:00 UTC)

13 years agoComment cleanup, unused vars
Niklas Laxström [Fri, 11 Feb 2011 19:30:35 +0000 (19:30 +0000)]
Comment cleanup, unused vars

13 years agoAdd a content type and encoding header to profileinfo.php, encoding was borked
Niklas Laxström [Fri, 11 Feb 2011 19:28:04 +0000 (19:28 +0000)]
Add a content type and encoding header to profileinfo.php, encoding was borked

13 years agoFollow-up r81984: Fix function name.
Bryan Tong Minh [Fri, 11 Feb 2011 19:13:27 +0000 (19:13 +0000)]
Follow-up r81984: Fix function name.

Apologies for the double commit, but my diff is broken locally.

13 years ago* Remove code duplication for UploadStash: Move all thumbName generation code to...
Bryan Tong Minh [Fri, 11 Feb 2011 19:10:31 +0000 (19:10 +0000)]
* Remove code duplication for UploadStash:  Move all thumbName generation code to its own function File::generateThumbName which accepts a $name parameter which can be called by File::thumbName() and any other functions that require it. The essentially duplicate function StashFile::getParamThumbName() has been removed.
* Add a small url encoding fix

13 years agoUse self:: when it's possible
Niklas Laxström [Fri, 11 Feb 2011 19:03:05 +0000 (19:03 +0000)]
Use self:: when it's possible

13 years agoPartial fix for bug 27310. Add domain information when doing password resets. Also...
Ryan Lane [Fri, 11 Feb 2011 17:38:56 +0000 (17:38 +0000)]
Partial fix for bug 27310. Add domain information when doing password resets. Also, the login form being used for non-logged in users was failing because of a missing login token, so this adds a login token before the form is executed.

13 years agoFollow-up r81971: Fix error handling
Bryan Tong Minh [Fri, 11 Feb 2011 15:42:28 +0000 (15:42 +0000)]
Follow-up r81971: Fix error handling

13 years ago* (bug 27199) Thumbnail urls can be fetched for old files as well
Bryan Tong Minh [Fri, 11 Feb 2011 15:40:39 +0000 (15:40 +0000)]
* (bug 27199) Thumbnail urls can be fetched for old files as well

13 years agoFollow-up r81558: Only raise a warning if no image handler could be found
Bryan Tong Minh [Fri, 11 Feb 2011 15:31:52 +0000 (15:31 +0000)]
Follow-up r81558: Only raise a warning if no image handler could be found

13 years agoSince 1.17 a whole lot of extensions have sprouted *.i18n.magic.php files. Most of...
Tim Starling [Fri, 11 Feb 2011 11:53:00 +0000 (11:53 +0000)]
Since 1.17 a whole lot of extensions have sprouted *.i18n.magic.php files. Most of these files have entries which erroneously omit the English synonym for a magic word. This breaks the extension completely when an affected language is selected.

This patch automatically includes synonyms from the fallback localisation, and prevents the case flag from being overridden, thus making extensions resistant to translator error.

13 years agoMerge callback fixes from 1.17wmf1. /e is evil.
Chad Horohoe [Fri, 11 Feb 2011 10:27:07 +0000 (10:27 +0000)]
Merge callback fixes from 1.17wmf1. /e is evil.

13 years agoWrap old toolbar addButton() calls in a document ready, so they're not run early...
Roan Kattouw [Fri, 11 Feb 2011 09:38:38 +0000 (09:38 +0000)]
Wrap old toolbar addButton() calls in a document ready, so they're not run early and explode in debug mode

13 years agoApply $wgContLang-based flip logic to site and user modules too. I swear we did this...
Roan Kattouw [Fri, 11 Feb 2011 09:27:02 +0000 (09:27 +0000)]
Apply $wgContLang-based flip logic to site and user modules too. I swear we did this at some point

13 years agoFixes for r81936 per Tim's review
Roan Kattouw [Fri, 11 Feb 2011 08:29:55 +0000 (08:29 +0000)]
Fixes for r81936 per Tim's review

13 years agoFix getMsgBlobMtime() to also cause a cache invalidation if a module has messages...
Roan Kattouw [Fri, 11 Feb 2011 08:07:47 +0000 (08:07 +0000)]
Fix getMsgBlobMtime() to also cause a cache invalidation if a module has messages but no stored message blob

13 years agoFix a small bug in SkinLegacy.
Daniel Friesen [Fri, 11 Feb 2011 06:42:40 +0000 (06:42 +0000)]
Fix a small bug in SkinLegacy.

13 years agoAdd a new maintenance script to reset the user_token of all users if you think someon...
Daniel Friesen [Fri, 11 Feb 2011 02:46:08 +0000 (02:46 +0000)]
Add a new maintenance script to reset the user_token of all users if you think someone got ahold of your user table.

13 years ago$wgDBts2schema was removed in r81132
Platonides [Thu, 10 Feb 2011 23:57:30 +0000 (23:57 +0000)]
$wgDBts2schema was removed in r81132

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Thu, 10 Feb 2011 21:27:12 +0000 (21:27 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-02-10 21:02:00 UTC)

13 years agoMonoBook is now tooltip() and tooltipAndAccesskeyAttribs() free!
Platonides [Thu, 10 Feb 2011 20:46:50 +0000 (20:46 +0000)]
MonoBook is now tooltip() and tooltipAndAccesskeyAttribs() free!

13 years agoFollow up r81914. Don't build the <li> manually.
Platonides [Thu, 10 Feb 2011 20:36:18 +0000 (20:36 +0000)]
Follow up r81914. Don't build the <li> manually.

13 years agoKill calls to tooltip() and tooltipAndAccesskeyAttribs() from MonoBook and Modern
Platonides [Thu, 10 Feb 2011 19:46:36 +0000 (19:46 +0000)]
Kill calls to tooltip() and tooltipAndAccesskeyAttribs() from MonoBook and Modern

13 years agoRemove unused initial_setup(), last $wgDBts2schema user. Follow up to r81132
Platonides [Thu, 10 Feb 2011 19:12:33 +0000 (19:12 +0000)]
Remove unused initial_setup(), last $wgDBts2schema user. Follow up to r81132

13 years agoFollow-up r70137: Unconditionalize the asyncdownload params and throw asynccopyupload...
Bryan Tong Minh [Thu, 10 Feb 2011 18:24:19 +0000 (18:24 +0000)]
Follow-up r70137: Unconditionalize the asyncdownload params and throw asynccopyuploadsdisabled if async is requested without $wgAllowAsyncCopyUploads.

13 years agoMove LanguageGetMagic hook to its own function
Platonides [Thu, 10 Feb 2011 18:15:58 +0000 (18:15 +0000)]
Move LanguageGetMagic hook to its own function

13 years agoConvert the if into an early exit. Whitespace ignoring diff recommended.
Platonides [Thu, 10 Feb 2011 17:13:12 +0000 (17:13 +0000)]
Convert the if into an early exit. Whitespace ignoring diff recommended.

13 years agoAdded "context title" to replace $wgTitle, current behavior unchanges, but added...
Alexandre Emsenhuber [Thu, 10 Feb 2011 17:08:37 +0000 (17:08 +0000)]
Added "context title" to replace $wgTitle, current behavior unchanges, but added a comment that this might change in the future to completely remove $wgTitle usage in EditPage

Also removed null check on showEditForm() since $wgTitle is set on ApiEditPage.php, so it won't catch anything

13 years agoMove the overhead computation to another function.
Platonides [Thu, 10 Feb 2011 16:54:51 +0000 (16:54 +0000)]
Move the overhead computation to another function.

13 years agoFix the wrong merge of r81894 after r81893
Platonides [Thu, 10 Feb 2011 16:47:19 +0000 (16:47 +0000)]
Fix the wrong merge of r81894 after r81893

13 years agoRemoved call to OutputPage::disable()
Alexandre Emsenhuber [Thu, 10 Feb 2011 16:45:27 +0000 (16:45 +0000)]
Removed call to OutputPage::disable()

13 years agoAdd profiling to the whole ResourceLoader::makeModuleResponse
Platonides [Thu, 10 Feb 2011 16:44:57 +0000 (16:44 +0000)]
Add profiling to the whole ResourceLoader::makeModuleResponse

13 years agoAdd profiling to DjVuImage::retrieveMetaData
Platonides [Thu, 10 Feb 2011 16:40:59 +0000 (16:40 +0000)]
Add profiling to DjVuImage::retrieveMetaData

13 years agoYet more additions of wfProfileOut()
Platonides [Thu, 10 Feb 2011 16:39:53 +0000 (16:39 +0000)]
Yet more additions of wfProfileOut()

13 years agoAdd a context to SpecialPage, so that subclasses don't need globals anymore. Introduc...
Bryan Tong Minh [Thu, 10 Feb 2011 16:14:56 +0000 (16:14 +0000)]
Add a context to SpecialPage, so that subclasses don't need globals anymore. Introduces $mRequest, $mOutput and $mFullTitle, which can be used instead of $wgRequest, $wgOut and $wgTitle. Introduces msg(), which is a wrapper around wfMessage()->title().

13 years agoAdding more wfProfileOut()
Platonides [Thu, 10 Feb 2011 16:11:34 +0000 (16:11 +0000)]
Adding more wfProfileOut()

13 years agoFix profiling
Niklas Laxström [Thu, 10 Feb 2011 16:08:44 +0000 (16:08 +0000)]
Fix profiling

13 years agoMore wfProfileOut()ing
Platonides [Thu, 10 Feb 2011 16:04:19 +0000 (16:04 +0000)]
More wfProfileOut()ing

13 years agoClose wfProfileIn()s
Platonides [Thu, 10 Feb 2011 15:53:54 +0000 (15:53 +0000)]
Close wfProfileIn()s

13 years agoAdd missing wfProfileOut
Platonides [Thu, 10 Feb 2011 15:47:43 +0000 (15:47 +0000)]
Add missing wfProfileOut

13 years agoRefactor userLinks into it's own method
Niklas Laxström [Thu, 10 Feb 2011 15:29:54 +0000 (15:29 +0000)]
Refactor userLinks into it's own method

13 years ago(bug 25832) query=allimages now outputs ns/title as well
Bryan Tong Minh [Thu, 10 Feb 2011 15:20:47 +0000 (15:20 +0000)]
(bug 25832) query=allimages now outputs ns/title as well

13 years ago* (bug 15905) Nostalgia skin could become more usable by including a Talk:link at...
Sam Reed [Thu, 10 Feb 2011 14:00:51 +0000 (14:00 +0000)]
* (bug 15905) Nostalgia skin could become more usable by including a Talk:link at the top of the page

Shows next to Edit this page "Discuss this page"

13 years agoRELEASE-NOTES for r81868
Sam Reed [Thu, 10 Feb 2011 12:48:43 +0000 (12:48 +0000)]
RELEASE-NOTES for r81868

13 years agoFix for r80992. Remove posix extension requisite. Made to work in non-Unix systems.
Platonides [Thu, 10 Feb 2011 10:48:02 +0000 (10:48 +0000)]
Fix for r80992. Remove posix extension requisite. Made to work in non-Unix systems.
Replaced fseek+fwrite with ftruncate()

13 years agoTests for r81878
Niklas Laxström [Thu, 10 Feb 2011 10:10:44 +0000 (10:10 +0000)]
Tests for r81878

13 years agoFix the completely broken r81880
Platonides [Thu, 10 Feb 2011 10:03:38 +0000 (10:03 +0000)]
Fix the completely broken r81880

13 years agoAdd support of assertEmpty (used since r81596) for phpunit < 3.5.0
Platonides [Thu, 10 Feb 2011 09:51:31 +0000 (09:51 +0000)]
Add support of assertEmpty (used since r81596) for phpunit < 3.5.0

13 years agoFixed two bugs in message parameter handling:
Niklas Laxström [Thu, 10 Feb 2011 09:10:47 +0000 (09:10 +0000)]
Fixed two bugs in message parameter handling:
* missing check for is_array caused $foo["raw"] to return true when $foo is string: bug 27298
* Some parameters could be replaced twice or more: r80764

13 years ago*(bug 27159) make email confirmation code expiration time configurable
Sam Reed [Thu, 10 Feb 2011 02:32:34 +0000 (02:32 +0000)]
*(bug 27159) make email confirmation code expiration time configurable

Added "$wgUserEmailConfirmationTokenExpiry"