lhc/web/wiklou.git
12 years agoReplaced wrong order of digits and dollars in params - s/(\d)\$/$\1/g.
Amir E. Aharoni [Fri, 17 Feb 2012 17:46:31 +0000 (17:46 +0000)]
Replaced wrong order of digits and dollars in params - s/(\d)\$/$\1/g.

12 years ago(bug 34421) avoid duplicate Subject headers
Antoine Musso [Fri, 17 Feb 2012 17:02:24 +0000 (17:02 +0000)]
(bug 34421) avoid duplicate Subject headers

r93397 duplicated the Subject header which was passed to the mail() function
as well as to the $headers array.

12 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Fri, 17 Feb 2012 16:09:12 +0000 (16:09 +0000)]
Localisation updates from translatewiki.net.

12 years agoCleanup of MessagesCps.php. Contained a bunch of empty strings.
Siebrand Mazeland [Fri, 17 Feb 2012 15:43:13 +0000 (15:43 +0000)]
Cleanup of MessagesCps.php. Contained a bunch of empty strings.

12 years ago* (bug 34471) Deleted contributions for IP addresses now works again
Alexandre Emsenhuber [Fri, 17 Feb 2012 14:44:14 +0000 (14:44 +0000)]
* (bug 34471) Deleted contributions for IP addresses now works again

12 years agochanging jquery.ui buttons to match assets from brandon, also adding separate graphic...
Ryan Kaldari [Fri, 17 Feb 2012 01:34:53 +0000 (01:34 +0000)]
changing jquery.ui buttons to match assets from brandon, also adding separate graphics for large buttons

12 years agoClarified comment per CR r111701
Tim Starling [Fri, 17 Feb 2012 00:28:17 +0000 (00:28 +0000)]
Clarified comment per CR r111701

12 years ago(bug 34428) Fixed hash mismatch errors in DiffHistoryBlob::patch() by simulating...
Tim Starling [Thu, 16 Feb 2012 23:27:00 +0000 (23:27 +0000)]
(bug 34428) Fixed hash mismatch errors in DiffHistoryBlob::patch() by simulating LibXDiff's broken Adler-32 implementation.

12 years agoMove the IE memory leak prevention voodoo together to after the callback, and put...
Roan Kattouw [Thu, 16 Feb 2012 22:56:44 +0000 (22:56 +0000)]
Move the IE memory leak prevention voodoo together to after the callback, and put it in a try catch block. The first statement after the callback seems to mysteriously fail in IE7 sometimes with a permission denied error. I think the root cause might be the fact that the callback itself also calls addScript()

12 years agoSince I'm sick of all the mw.user-induced problems, break the dependency between...
Roan Kattouw [Thu, 16 Feb 2012 22:51:06 +0000 (22:51 +0000)]
Since I'm sick of all the mw.user-induced problems, break the dependency between mw.user.{options,tokens} and mw.user . With this change, mediawiki.js defines a skeleton object for mw.user containing just the options and tokens maps, and mediawiki.user.js copies those when it sets up the full mw.user object. This way of doing extending is kind of ugly but I don't have time to work on something nicer without breaking backwards compatibility. Because mw.user.{options,tokens} are loaded very early, this also means they're now guaranteed to be available to everything everywhere.

12 years agoFix r111590 typo.
Platonides [Thu, 16 Feb 2012 21:32:53 +0000 (21:32 +0000)]
Fix r111590 typo.

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Thu, 16 Feb 2012 20:46:56 +0000 (20:46 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years ago* (bug 34445) section edit and TOC hide/show links are excluded from selection and...
Brion Vibber [Thu, 16 Feb 2012 20:29:45 +0000 (20:29 +0000)]
* (bug 34445) section edit and TOC hide/show links are excluded from selection and copy/paste on supporting browsers

Tested on current Firefox, Chrome, Safari, Opera:
* Firefox excludes from select and copy
* Chrome, Safari exclude from select, but they turn up on the copy
* Opera doesn't seem to support the setting (event namespaced)
* IE not tested but 10 should support it if 9 doesn't

12 years agoMerge r111667 into trunk
Sam Reed [Thu, 16 Feb 2012 20:13:35 +0000 (20:13 +0000)]
Merge r111667 into trunk

12 years agoImprove error log formatting and added error message info for InvalidResponseException
Aaron Schulz [Thu, 16 Feb 2012 18:22:09 +0000 (18:22 +0000)]
Improve error log formatting and added error message info for InvalidResponseException

12 years agoUse local context to get message
Alexandre Emsenhuber [Thu, 16 Feb 2012 17:12:20 +0000 (17:12 +0000)]
Use local context to get message

12 years agoWhitespaces fixes
Alexandre Emsenhuber [Thu, 16 Feb 2012 16:09:08 +0000 (16:09 +0000)]
Whitespaces fixes

12 years ago(Bug 31417) Content-holding div needs an ID.
Robin Pepermans [Thu, 16 Feb 2012 16:05:43 +0000 (16:05 +0000)]
(Bug 31417) Content-holding div needs an ID.
Since the introduction of the class mw-content-ltr/rtl, it has been used to get the page text which is very bad because there are two class names and it is not always on the same place (if at all). This ID will always hold the bodytext (excluding categories, ArticleFeedback, ...).

12 years agoremove debug statement from r111643
Antoine Musso [Thu, 16 Feb 2012 15:44:58 +0000 (15:44 +0000)]
remove debug statement from r111643

need REL1_19, 1.19wmf1 backports

12 years ago(bug 34420) - Special:Version should use git
Antoine Musso [Thu, 16 Feb 2012 15:40:32 +0000 (15:40 +0000)]
(bug 34420) - Special:Version should use git

You can test it using git init in our $IP and do a dummy commit with:
  git commit -a RELEASE-NOTES-1.19

Then head to Special:Version and look at the magic version number.

This need a backport in REL1_19 / 1.19wmf1 since WMF is going to use
git "soon" (tm).

12 years agoAdded wfDeprecated() call to wfSpecialList() now there no more calls to that function...
Alexandre Emsenhuber [Thu, 16 Feb 2012 12:59:48 +0000 (12:59 +0000)]
Added wfDeprecated() call to wfSpecialList() now there no more calls to that function in core or extensions

12 years agoalways have $wgDoxyGenerateMan defined
Antoine Musso [Thu, 16 Feb 2012 08:36:36 +0000 (08:36 +0000)]
always have $wgDoxyGenerateMan defined

r101807 introduced a new variable which was not always defined.

12 years agoFixed bogus call to method on a string
Aaron Schulz [Thu, 16 Feb 2012 05:04:17 +0000 (05:04 +0000)]
Fixed bogus call to method on a string

12 years agoMake wfProfileOut call be the last thing before the return
Sam Reed [Thu, 16 Feb 2012 02:52:46 +0000 (02:52 +0000)]
Make wfProfileOut call be the last thing before the return

12 years agoFollowup r107002
Sam Reed [Thu, 16 Feb 2012 02:52:11 +0000 (02:52 +0000)]
Followup r107002

Add a TODO to do this via hook or similar

12 years agoAdd NewParserTest to TestsAutoLoader.php
Sam Reed [Thu, 16 Feb 2012 02:44:31 +0000 (02:44 +0000)]
Add NewParserTest to TestsAutoLoader.php

Fix undefined variable in testHelpers.inc

12 years agoCleanup a few unused globals
Sam Reed [Thu, 16 Feb 2012 02:35:48 +0000 (02:35 +0000)]
Cleanup a few unused globals

12 years agoAdd missing >
Sam Reed [Thu, 16 Feb 2012 02:34:59 +0000 (02:34 +0000)]
Add missing >

Ping r111324

12 years agoBad Aaron
Sam Reed [Thu, 16 Feb 2012 02:05:49 +0000 (02:05 +0000)]
Bad Aaron

12 years agoAdd missing wfProfileOut( __METHOD__ );
Sam Reed [Thu, 16 Feb 2012 02:01:00 +0000 (02:01 +0000)]
Add missing wfProfileOut( __METHOD__ );

12 years agoFix user related direct member variable access
Sam Reed [Thu, 16 Feb 2012 00:54:34 +0000 (00:54 +0000)]
Fix user related direct member variable access

12 years agoTemp patch for bug 34428, merged from 1.19wmf1 r111602
Tim Starling [Thu, 16 Feb 2012 00:51:10 +0000 (00:51 +0000)]
Temp patch for bug 34428, merged from 1.19wmf1 r111602

12 years agoFollowup r110592: rename 'blocking' to 'async', and invert the logic everywhere....
Roan Kattouw [Wed, 15 Feb 2012 23:38:40 +0000 (23:38 +0000)]
Followup r110592: rename 'blocking' to 'async', and invert the logic everywhere. This makes blocking loading (async=false) the default as it was before. r110592 made async loading (blocking=false) the default, which caused backwards compatibility problems when page HTML generated by 1.18 interacted with the 1.19 version of mw.loader

12 years agocomment out inclusion awaiting putting this stuff back after slush
Jeroen De Dauw [Wed, 15 Feb 2012 22:59:06 +0000 (22:59 +0000)]
comment out inclusion awaiting putting this stuff back after slush

12 years agoMove to EP untill slush ends
Jeroen De Dauw [Wed, 15 Feb 2012 22:56:53 +0000 (22:56 +0000)]
Move to EP untill slush ends

12 years agoMove to EP untill slush ends
Jeroen De Dauw [Wed, 15 Feb 2012 22:56:19 +0000 (22:56 +0000)]
Move to EP untill slush ends

12 years agoImprove table comments.
Platonides [Wed, 15 Feb 2012 22:42:09 +0000 (22:42 +0000)]
Improve table comments.

12 years agoimportant fix inside HttpFunctions.php. I noticed that when you call HttpRequest...
Thomas Gries [Wed, 15 Feb 2012 22:40:38 +0000 (22:40 +0000)]
important fix inside HttpFunctions.php. I noticed that when you call HttpRequest::factory with noProxy=true for example inside an intranet, this is ignored in (Curl)HttpRequest because the proxy url is not cleared. This commit makes sure at lowest level - namel in the public function proxySetup() - that a optional(true) value of  noProxy is observed and that it (now) also clears the proxy url. (I have been told that I am allowed to commit this patch. Please carefully review, as usual).

12 years ago(bug 33442) Dont prompt for summary on page creation.
mrbluesky [Wed, 15 Feb 2012 21:20:05 +0000 (21:20 +0000)]
(bug 33442) Dont prompt for summary on page creation.

12 years agogearman has been nuked
Sam Reed [Wed, 15 Feb 2012 21:06:13 +0000 (21:06 +0000)]
gearman has been nuked

Ping r110958

12 years agoBug 34397: align footer so that it doesn't overlap with sidebar in Simple skin
Rob Lanphier [Wed, 15 Feb 2012 20:44:58 +0000 (20:44 +0000)]
Bug 34397: align footer so that it doesn't overlap with sidebar in Simple skin

12 years agoDelete the temp cdb file when an exception is thrown so they don't take up /tmp space
Aaron Schulz [Wed, 15 Feb 2012 20:24:15 +0000 (20:24 +0000)]
Delete the temp cdb file when an exception is thrown so they don't take up /tmp space

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Wed, 15 Feb 2012 20:11:31 +0000 (20:11 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agoPut the filename in more of the exceptions thrown
Aaron Schulz [Wed, 15 Feb 2012 20:06:47 +0000 (20:06 +0000)]
Put the filename in more of the exceptions thrown

12 years agoAdd &useskin=default handling to always display the wiki's default skin.
Daniel Friesen [Wed, 15 Feb 2012 19:44:54 +0000 (19:44 +0000)]
Add &useskin=default handling to always display the wiki's default skin.

12 years agofollow up to r111468 - put in compatibility for php 5.2 using debug_backtrace hack
Jeroen De Dauw [Wed, 15 Feb 2012 19:39:42 +0000 (19:39 +0000)]
follow up to r111468 - put in compatibility for php 5.2 using debug_backtrace hack

12 years agoAdd missing delimiters to the regexp in maintenace/dev/'s router.
Daniel Friesen [Wed, 15 Feb 2012 19:33:13 +0000 (19:33 +0000)]
Add missing delimiters to the regexp in maintenace/dev/'s router.

12 years agoAdd an OutputPage to the EditPage::showEditForm:initial to match the EditPage::showEd...
Daniel Friesen [Wed, 15 Feb 2012 19:32:36 +0000 (19:32 +0000)]
Add an OutputPage to the EditPage::showEditForm:initial to match the EditPage::showEditForm:fields hook so that people will stop global'ing $wgOut. e.g.: In WikiEditor.

12 years agoFollow up to r30985; not by ref
Jeroen De Dauw [Wed, 15 Feb 2012 16:53:50 +0000 (16:53 +0000)]
Follow up to r30985; not by ref

12 years ago* Use local context to get messages
Alexandre Emsenhuber [Wed, 15 Feb 2012 16:21:58 +0000 (16:21 +0000)]
* Use local context to get messages
* Link to Special:Whatlinkshere/Page instead of Special:Whatlinkshere?target=Page for consistency
* Removed to useless empty lines

12 years agoMove wfIncrStats() near other debugging functions
Alexandre Emsenhuber [Wed, 15 Feb 2012 16:17:02 +0000 (16:17 +0000)]
Move wfIncrStats() near other debugging functions

12 years agoFollow-up r111468, there were some changes left.
Platonides [Wed, 15 Feb 2012 16:04:33 +0000 (16:04 +0000)]
Follow-up r111468, there were some changes left.

12 years ago(bug 34192) Gender aliases for Albanian (Aln)
Antoine Musso [Wed, 15 Feb 2012 15:29:22 +0000 (15:29 +0000)]
(bug 34192) Gender aliases for Albanian (Aln)

r111403 already did it for 'sq', this is for 'aln'.

12 years agofix call to protected method and killed dead code
Jeroen De Dauw [Wed, 15 Feb 2012 14:47:25 +0000 (14:47 +0000)]
fix call to protected method and killed dead code

12 years agoSettings $this->mFile to false and checking for !$this->mFile the line after is rathe...
Alexandre Emsenhuber [Wed, 15 Feb 2012 13:34:08 +0000 (13:34 +0000)]
Settings $this->mFile to false and checking for !$this->mFile the line after is rather... useless

12 years agoRemoved assertions calling MWNamespace::isMain() from MWNamespaceTest::testIsSubject...
Alexandre Emsenhuber [Wed, 15 Feb 2012 13:31:20 +0000 (13:31 +0000)]
Removed assertions calling MWNamespace::isMain() from MWNamespaceTest::testIsSubject() that give an error since the former now calls wfDeprecated()

12 years agoFixed green button styles to match colors in actual image files. You're welcome werdna!
Trevor Parscal [Wed, 15 Feb 2012 00:14:45 +0000 (00:14 +0000)]
Fixed green button styles to match colors in actual image files. You're welcome werdna!

12 years agomove method and added warning on count function
Jeroen De Dauw [Tue, 14 Feb 2012 22:27:07 +0000 (22:27 +0000)]
move method and added warning on count function

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Tue, 14 Feb 2012 21:44:34 +0000 (21:44 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agofollow up to r111468 - fixed various issues caused by refactoring
Jeroen De Dauw [Tue, 14 Feb 2012 21:42:22 +0000 (21:42 +0000)]
follow up to r111468 - fixed various issues caused by refactoring

12 years agofollow up to r111468 - moved a bunch of methods from DBDataObject to DBTable and...
Jeroen De Dauw [Tue, 14 Feb 2012 21:16:39 +0000 (21:16 +0000)]
follow up to r111468 - moved a bunch of methods from DBDataObject to DBTable and some minor changes

12 years agoenable purge of HTTPS URLs
Antoine Musso [Tue, 14 Feb 2012 20:20:56 +0000 (20:20 +0000)]
enable purge of HTTPS URLs

12 years agofollow up to r111264; split up class into one representing a table and one representi...
Jeroen De Dauw [Tue, 14 Feb 2012 18:11:52 +0000 (18:11 +0000)]
follow up to r111264; split up class into one representing a table and one representing rows. Also getting rid of staticness, in particular LSB, so this becomes PHP 5.2 compatible. Not done yet, will follow up later

12 years agoAlso call $this->clear() from WikiPage::doDeleteUpdates() so that the object is in...
Alexandre Emsenhuber [Tue, 14 Feb 2012 15:06:13 +0000 (15:06 +0000)]
Also call $this->clear() from WikiPage::doDeleteUpdates() so that the object is in a consistent state after deletion

12 years agoAlways send 1 for "-total" item in wfIncrStats() when destination is UDP; it should...
Alexandre Emsenhuber [Tue, 14 Feb 2012 14:10:32 +0000 (14:10 +0000)]
Always send 1 for "-total" item in wfIncrStats() when destination is UDP; it should not depend on the $count parameter

12 years agosplit ns selector tests for filter / disable options
Antoine Musso [Tue, 14 Feb 2012 09:59:59 +0000 (09:59 +0000)]
split ns selector tests for filter / disable options

ping r111376

12 years agoReverted r111186, r111226: broken per CR
Aaron Schulz [Tue, 14 Feb 2012 07:25:48 +0000 (07:25 +0000)]
Reverted r111186, r111226: broken per CR

12 years agoDocumentations!
Sam Reed [Tue, 14 Feb 2012 04:05:49 +0000 (04:05 +0000)]
Documentations!

12 years agoIntroduce property: and itemprop: support for addMeta to add RDFa <meta property...
Daniel Friesen [Tue, 14 Feb 2012 02:22:02 +0000 (02:22 +0000)]
Introduce property: and itemprop: support for addMeta to add RDFa <meta property="..." content="..."> and Microdata <meta itemprop="..." content="..."> to the <head>.
This is done in a way that can also be feature tested, and technically could be expanded by extensions.

12 years agoModification to jquery.localize.js: For HTML elements, allow a raw="" parameter,...
Andrew Garrett [Mon, 13 Feb 2012 22:39:15 +0000 (22:39 +0000)]
Modification to jquery.localize.js: For HTML elements, allow a raw="" parameter, which prevents escaping. Reviewed by Trevor before I committed it.

12 years agoPort (with changes) r110866 to trunk. Reviewed by Brion before commit.
Andrew Garrett [Mon, 13 Feb 2012 22:32:44 +0000 (22:32 +0000)]
Port (with changes) r110866 to trunk. Reviewed by Brion before commit.

12 years agofollow-up r111342. Document the callerOffset paramter being used per CR.
Brian Wolff [Mon, 13 Feb 2012 20:29:41 +0000 (20:29 +0000)]
follow-up r111342. Document the callerOffset paramter being used per CR.

12 years agoRemove all usage of wfUILang(), deprecated in 1.18. Also some other minor tweaks...
Robin Pepermans [Mon, 13 Feb 2012 20:26:02 +0000 (20:26 +0000)]
Remove all usage of wfUILang(), deprecated in 1.18. Also some other minor tweaks. Didn't remove wfUILang itself yet in case someone uses older versions of the extensions with trunk/1.20.

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Mon, 13 Feb 2012 19:45:00 +0000 (19:45 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years ago* (bug 34192) Namespace gender aliases for Albanian (sq)
Niklas Laxström [Mon, 13 Feb 2012 19:36:49 +0000 (19:36 +0000)]
* (bug 34192) Namespace gender aliases for Albanian (sq)

12 years agofix doc
Jeroen De Dauw [Mon, 13 Feb 2012 19:13:30 +0000 (19:13 +0000)]
fix doc

12 years ago* (bug 34377) action=watch now parses messages using the correct title instead of...
Alexandre Emsenhuber [Mon, 13 Feb 2012 18:42:35 +0000 (18:42 +0000)]
* (bug 34377) action=watch now parses messages using the correct title instead of "API"

12 years agoUse local context to get message
Alexandre Emsenhuber [Mon, 13 Feb 2012 16:43:43 +0000 (16:43 +0000)]
Use local context to get message

12 years agoUse WikiPage instead of Article to call doDeleteArticle
Alexandre Emsenhuber [Mon, 13 Feb 2012 16:38:37 +0000 (16:38 +0000)]
Use WikiPage instead of Article to call doDeleteArticle

12 years agoRemove backslash from @return types
Antoine Musso [Mon, 13 Feb 2012 16:35:59 +0000 (16:35 +0000)]
Remove backslash from @return types

Ping r111103

12 years agoPull 1.19wmf1 related patches/code out of trunk/REL1_19, they exist in 1.18wmf1 and...
Sam Reed [Mon, 13 Feb 2012 15:53:06 +0000 (15:53 +0000)]
Pull 1.19wmf1 related patches/code out of trunk/REL1_19, they exist in 1.18wmf1 and 1.19wmf1 now

12 years ago[mw.debug] Clean up
Krinkle [Mon, 13 Feb 2012 15:25:08 +0000 (15:25 +0000)]
[mw.debug] Clean up
* Instead of inline global variable and lazy-loading, using ResourceLoader (using mw.config and mw.loader)
* Can't use OutputPage::addJsConfigVars / OutputPage::addModules because debug is called after those are handled, using ResourceLoader::makeConfigSetScript instead

12 years ago[RL] Comment mod and other minor changes
Krinkle [Mon, 13 Feb 2012 15:17:15 +0000 (15:17 +0000)]
[RL] Comment mod and other minor changes
_ Add comment about why it casts to (object)
- Modify function comment
- Whitespace (start the function body on a new line in debug mode. In production mode this is trimmed away afterwards)
- Remove the jQuery->$ passage from loader. There is already a global alias for $ by jQuery, and aside from that every module has it's own (function(){}) wrapper that aliases it from jQuery (not from $), so there is no performance gain either by having it locally here since it doesn't use that.

12 years ago[JSTesting] Follow-up r110619: Fix introduced race-condition
Krinkle [Mon, 13 Feb 2012 15:13:09 +0000 (15:13 +0000)]
[JSTesting] Follow-up r110619: Fix introduced race-condition
- mediawiki.util has dependencies as well, load order is important.
- This index.html is very hairy and most people should just ignore it, it predates the automated ResourceLoader-ified Special:JavaScriptTesting page, hence the manual dependency resolution here.

12 years ago[Html] Follow-up r109990: Add support for excluding and disabling options
Krinkle [Mon, 13 Feb 2012 15:08:26 +0000 (15:08 +0000)]
[Html] Follow-up r109990: Add support for excluding and disabling options

12 years ago[Html] Follow-up r109990: Add category to example namespaces
Krinkle [Mon, 13 Feb 2012 14:53:40 +0000 (14:53 +0000)]
[Html] Follow-up r109990: Add category to example namespaces
- Category is a special case since it is not moveable  by default, useful to keep in the test

12 years agoBug 34353 - Fix for RELEASE-NOTES-1.19: diff colors are no longer from French Wikipedia
Sam Reed [Mon, 13 Feb 2012 14:22:37 +0000 (14:22 +0000)]
Bug 34353 - Fix for RELEASE-NOTES-1.19: diff colors are no longer from French Wikipedia

12 years agoRemoved FakeTitle::userCanEditCssJsSubpage() for consistency since Title::userCanEdit...
Alexandre Emsenhuber [Mon, 13 Feb 2012 14:01:32 +0000 (14:01 +0000)]
Removed FakeTitle::userCanEditCssJsSubpage() for consistency since Title::userCanEditCssJsSubpage() doesn't exist anymore

12 years agorevert r111225 and r111201
Mark A. Hershberger [Mon, 13 Feb 2012 12:40:21 +0000 (12:40 +0000)]
revert r111225 and r111201

12 years agoUpdated the message preload list for Vector and other changes since r52503
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

12 years agoRevert r106393; I do not find it acceptible for MediaWiki to ship by-default strangli...
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.

12 years agoGive a warning when people use $wgArticle. Add's a class that can be used to give...
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.

12 years agoadd warning note to isKnown() per r111017
Robin Pepermans [Sun, 12 Feb 2012 23:42:39 +0000 (23:42 +0000)]
add warning note to isKnown() per r111017

12 years agofollow up to r111017, move hook to isAlwatsKnown as per discussion on CR
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

12 years agoFix some injection from r110871
Antoine Musso [Sun, 12 Feb 2012 19:51:03 +0000 (19:51 +0000)]
Fix some injection from r110871

12 years agorevert core part of r111231
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.

12 years agorevert r111028 (attempt to fix bug 34254)
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*  :-]

12 years agov2, not v3
Jeroen De Dauw [Sun, 12 Feb 2012 19:27:09 +0000 (19:27 +0000)]
v2, not v3

12 years agorevert r111234 (deprecated methods removal)
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

12 years agoAdded missing directories to findHooks.php and missing quote in hooks.txt that made...
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