lhc/web/wiklou.git
12 years agoMade moveToInternal() check result of Article::insertOn (related to bug 26223)
Aaron Schulz [Wed, 10 Aug 2011 18:32:22 +0000 (18:32 +0000)]
Made moveToInternal() check result of Article::insertOn (related to bug 26223)

12 years agorelease notes for r94171, checked in from the wrong directory
Chad Horohoe [Wed, 10 Aug 2011 17:29:08 +0000 (17:29 +0000)]
release notes for r94171, checked in from the wrong directory

12 years ago(bug 30219) NoLocalSettings.php broken on Windows servers. Per Tim on r70711, can...
Chad Horohoe [Wed, 10 Aug 2011 17:28:25 +0000 (17:28 +0000)]
(bug 30219) NoLocalSettings.php broken on Windows servers. Per Tim on r70711, can't use pathinfo() on url's since the slashes don't match.

12 years agoVarious profiler tweaks:
Chad Horohoe [Wed, 10 Aug 2011 15:35:03 +0000 (15:35 +0000)]
Various profiler tweaks:
* Add some debugging output to bad profiler config
* Make member variables all protected, nothing uses them outside of Profiler and its subclasses
* Allow setting $mProfilerID from the config

12 years ago(bug 30074) Moving user JS subpages resulted in JS errors because #REDIRECT [[Foo...
Roan Kattouw [Wed, 10 Aug 2011 14:23:25 +0000 (14:23 +0000)]
(bug 30074) Moving user JS subpages resulted in JS errors because #REDIRECT [[Foo]] is invalid JS. Fix this by refusing to load redirect pages in ResourceLoaderWikiModule. Patch by John Du Hart

12 years agoreverting my unintended change in DefaultSettings.php
Thomas Gries [Wed, 10 Aug 2011 05:58:21 +0000 (05:58 +0000)]
reverting my unintended change in DefaultSettings.php

12 years agoadding label atttributes for confirm checkboxes in SpecialLockdb and SpecialUnlockdb...
Thomas Gries [Wed, 10 Aug 2011 05:45:41 +0000 (05:45 +0000)]
adding label atttributes for confirm checkboxes in SpecialLockdb and SpecialUnlockdb. Fix for bug30299 .

12 years agoFix doc: wfLoadAllMessages() doesn't exists
Alexandre Emsenhuber [Tue, 9 Aug 2011 20:09:30 +0000 (20:09 +0000)]
Fix doc: wfLoadAllMessages() doesn't exists

12 years agoReverted r91871 per CR: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/91871...
Aaron Schulz [Tue, 9 Aug 2011 18:36:20 +0000 (18:36 +0000)]
Reverted r91871 per CR: mediawiki.org/wiki/Special:Code/MediaWiki/91871#c19474

Also, the related getAction() changes were already reverted.

12 years agoFollow-up r92065: call userForm dynamically. Also made userForm protected as no one...
Aaron Schulz [Tue, 9 Aug 2011 18:30:09 +0000 (18:30 +0000)]
Follow-up r92065: call userForm dynamically. Also made userForm protected as no one else calls it and it's not static anymore.

12 years agoMove the fuzz test into @group Broken so it will shut up about being incomplete
Chad Horohoe [Tue, 9 Aug 2011 16:13:56 +0000 (16:13 +0000)]
Move the fuzz test into @group Broken so it will shut up about being incomplete

12 years agoDrop unused and unset $wgRightsCode from generated LocalSettings.php
Chad Horohoe [Tue, 9 Aug 2011 14:57:55 +0000 (14:57 +0000)]
Drop unused and unset $wgRightsCode from generated LocalSettings.php

12 years ago(bug 30264) MediaWiki installer uses require, de facto is require_once
Chad Horohoe [Tue, 9 Aug 2011 13:59:36 +0000 (13:59 +0000)]
(bug 30264) MediaWiki installer uses require, de facto is require_once

12 years agoFollowup r92643: refer to the passed object as $parser, not $this
Chad Horohoe [Tue, 9 Aug 2011 13:30:01 +0000 (13:30 +0000)]
Followup r92643: refer to the passed object as $parser, not $this

12 years agoUse local context instead of global variables
Alexandre Emsenhuber [Mon, 8 Aug 2011 21:07:17 +0000 (21:07 +0000)]
Use local context instead of global variables

12 years agoLocalisation update for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Mon, 8 Aug 2011 17:47:17 +0000 (17:47 +0000)]
Localisation update for core and extension messages from translatewiki.net (2011-08-08 17:15:00)

12 years ago* (bug 28159) Change interwiki name of language kbd to Адыгэбзэ
Sam Reed [Mon, 8 Aug 2011 17:34:37 +0000 (17:34 +0000)]
* (bug 28159) Change interwiki name of language kbd to Адыгэбзэ

12 years agoAdding support for a callback to jquery.byteLimit
Krinkle [Mon, 8 Aug 2011 17:02:29 +0000 (17:02 +0000)]
Adding support for a callback to jquery.byteLimit
* Fixes (bug 29455) Add support for a filter callback function in jQuery byteLimit plugin.
* Adding unit tests for it
* Changing if-statements in mw.Title's helper functions for regular expression matches. It should check wether the value is not null or undefined. Before it was just a plain if-statement which meant that an empty string would also return false, which made the new byteLimit's tests fail (mw.Title.getMain() expects _name to be a valid string when it does ucFirst() and substr() etc.)

12 years agoFollowup r88488, moved some of the prep work in it that was for r88493
Sam Reed [Mon, 8 Aug 2011 16:20:17 +0000 (16:20 +0000)]
Followup r88488, moved some of the prep work in it that was for r88493

Only apply code if needs to be added (more like SpecialWatchlist)

12 years agoMostly revert r89400: not needed since Brion fixed the tests in other ways
Chad Horohoe [Mon, 8 Aug 2011 16:08:48 +0000 (16:08 +0000)]
Mostly revert r89400: not needed since Brion fixed the tests in other ways

12 years agoReverting part of r94011 (in MessagesHe.php): The new alias for Special:ChangePasswor...
Rotem Liss [Mon, 8 Aug 2011 12:48:19 +0000 (12:48 +0000)]
Reverting part of r94011 (in MessagesHe.php): The new alias for Special:ChangePassword is the same as Special:PasswordReset, and means "reset" and not "change".

12 years agoClean up mediawiki.Title test suite:
Krinkle [Mon, 8 Aug 2011 11:11:02 +0000 (11:11 +0000)]
Clean up mediawiki.Title test suite:
* Remove unused variable i and blti
* Change expected to a string instead of a number
** This removes the need for all the comments after 'expected' explaining the choice for that number
* Add assertion to verify exact output of the string, rather than just it's length
* Rename useLimit to hasLimit

12 years agoUse local context instead of global variables
Alexandre Emsenhuber [Sun, 7 Aug 2011 14:41:19 +0000 (14:41 +0000)]
Use local context instead of global variables

12 years agoTemporaray revert of r94031; forgot that this was depending of some other work on...
Alexandre Emsenhuber [Sun, 7 Aug 2011 14:29:28 +0000 (14:29 +0000)]
Temporaray revert of r94031; forgot that this was depending of some other work on my working copy

12 years agoReadd basic headers and <html>...</html> arround error contents that was removed...
Alexandre Emsenhuber [Sun, 7 Aug 2011 12:28:58 +0000 (12:28 +0000)]
Readd basic headers and <html>...</html> arround error contents that was removed in r90993. This caused display errors of UTF-8 characters due to the lack of these things in a DBConnectionError exception.

12 years agoFixed sidebar tests on Windows. Can't use PHP_EOL here because \r\n is used only...
Max Semenik [Sun, 7 Aug 2011 08:08:36 +0000 (08:08 +0000)]
Fixed sidebar tests on Windows. Can't use PHP_EOL here because \r\n is used only in SVN checkouts and not in tarballs

12 years agoMade code more readable by moving the check about user being last editor when an...
Alexandre Emsenhuber [Sat, 6 Aug 2011 20:39:15 +0000 (20:39 +0000)]
Made code more readable by moving the check about user being last editor when an edit conflicts occurs near related checks; also removed some variables that were used only once

12 years ago* Moved action=history to use an Action subclass
Alexandre Emsenhuber [Sat, 6 Aug 2011 19:41:49 +0000 (19:41 +0000)]
* Moved action=history to use an Action subclass
* Removed obsolete aliases PageHistory and PageHistoryPager; unused
* Maintained backward compatibility with HistoryPage; extensions using it will still work
* Use local context instead of global variables
* Removed calls to OutputPage::setPageTitleActionText() and OutputPage::setSyndicated(), the first one does nothing and the second one is overriden by the setFeedAppendQuery() call just below
* Call Linker methods statically
* Fixed bug where feedEmpty() was not called on empty history since casting a ResultWrapper object to boolean always returns true even when there's no row

12 years agoWarn user if mod_security is present
Max Semenik [Sat, 6 Aug 2011 16:39:59 +0000 (16:39 +0000)]
Warn user if mod_security is present

12 years agoPartial revert to r94024
Sam Reed [Sat, 6 Aug 2011 12:18:15 +0000 (12:18 +0000)]
Partial revert to r94024

Only 2 lines in Vector needed reverting, not the whole revision

12 years agoRevert r89123 -- caused bug 30259 (switched correct calls with incorrect calls becaus...
Brion Vibber [Sat, 6 Aug 2011 12:06:11 +0000 (12:06 +0000)]
Revert r89123 -- caused bug 30259 (switched correct calls with incorrect calls because of some interpretation of 'deprecation', causing invalid HTML output and breakage of watch tab on edit page)

12 years agoLocalisation updates for magic words from http://translatewiki.net.
Siebrand Mazeland [Sat, 6 Aug 2011 09:35:25 +0000 (09:35 +0000)]
Localisation updates for magic words from translatewiki.net.

12 years agoLocalisation updates for namespace names from http://translatewiki.net.
Siebrand Mazeland [Sat, 6 Aug 2011 09:21:05 +0000 (09:21 +0000)]
Localisation updates for namespace names from translatewiki.net.

12 years agoLocalisation updates for special page aliases from http://translatewiki.net.
Siebrand Mazeland [Sat, 6 Aug 2011 08:35:42 +0000 (08:35 +0000)]
Localisation updates for special page aliases from translatewiki.net.

12 years agoDocumentation!
Sam Reed [Sat, 6 Aug 2011 00:24:18 +0000 (00:24 +0000)]
Documentation!

12 years agoStandardize comments, wrap lines at 80 chars
Chad Horohoe [Fri, 5 Aug 2011 21:47:37 +0000 (21:47 +0000)]
Standardize comments, wrap lines at 80 chars

12 years agoReverting r84309 (New pages log doesn't remove/update item after suppression redirect...
Chad Horohoe [Fri, 5 Aug 2011 17:03:35 +0000 (17:03 +0000)]
Reverting r84309 (New pages log doesn't remove/update item after suppression redirect). Per the patch author and committer's own admission, this doesn't seem like the correct fix. I haven't dug into it deeply, but I tend to agree. Reverting to the status quo rather than have this make it into a release half-baked. Reopening bug 17463 so this can get some more discussion (also this definitely needed RELEASE-NOTES)

12 years agoWhitespace and comment updates
Sam Reed [Fri, 5 Aug 2011 16:05:41 +0000 (16:05 +0000)]
Whitespace and comment updates

12 years ago* Call Linker methods statically
Alexandre Emsenhuber [Fri, 5 Aug 2011 15:17:19 +0000 (15:17 +0000)]
* Call Linker methods statically
* Use INSERT IGNORE for the site_stats row (as for the interwiki entries); was throwing query error about duplicate row on my installation

12 years ago$wgLanguageCode applies to $wgContLang, not $wgLang. This was breaking the test suite...
Alexandre Emsenhuber [Fri, 5 Aug 2011 15:10:08 +0000 (15:10 +0000)]
$wgLanguageCode applies to $wgContLang, not $wgLang. This was breaking the test suite by dying with a "nooo!" in when reaching LanguageConverterTest.

12 years ago* Use local context instead of global variables
Alexandre Emsenhuber [Fri, 5 Aug 2011 14:58:37 +0000 (14:58 +0000)]
* Use local context instead of global variables
* Call Linker methods statically

12 years agoFollowup r93905 per comment on bug 30230
Sam Reed [Fri, 5 Aug 2011 14:55:53 +0000 (14:55 +0000)]
Followup r93905 per comment on bug 30230

Make text parameter of ApiExpandTemplates required

12 years agoLocalisation update for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Fri, 5 Aug 2011 14:40:09 +0000 (14:40 +0000)]
Localisation update for core and extension messages from translatewiki.net (2011-08-05 14:15:00)

12 years ago* (bug 18634) Create API to fetch MediaWiki's language fallback tree structure
Sam Reed [Fri, 5 Aug 2011 13:34:22 +0000 (13:34 +0000)]
* (bug 18634) Create API to fetch MediaWiki's language fallback tree structure

Patch by "merl"

Tested with pt-br, seems to work fine, listing pt and en for the fallback languages

12 years agoSome annotation for (bug 29907) action=parse only fetches from the parser cache,...
Sam Reed [Fri, 5 Aug 2011 13:07:09 +0000 (13:07 +0000)]
Some annotation for (bug 29907) action=parse only fetches from the parser cache, it does not store to it

12 years agore: r93889: clarify that only registered users get movefile right by default.
Mark A. Hershberger [Fri, 5 Aug 2011 12:40:49 +0000 (12:40 +0000)]
re: r93889: clarify that only registered users get movefile right by default.

12 years agoAdd @since to Revision::newFromRow per Nikerabbit
Sam Reed [Fri, 5 Aug 2011 12:29:39 +0000 (12:29 +0000)]
Add @since to Revision::newFromRow per Nikerabbit

Follows up r93935

12 years agodont use deprecated function WebRequest::getFileSize
Jan Gerber [Fri, 5 Aug 2011 08:49:43 +0000 (08:49 +0000)]
dont use deprecated function WebRequest::getFileSize

12 years ago$wgVersionNumber renamed to $wmfVersionNumber
Aaron Schulz [Fri, 5 Aug 2011 02:36:59 +0000 (02:36 +0000)]
$wgVersionNumber renamed to $wmfVersionNumber

12 years agoAdd documentation
Sam Reed [Fri, 5 Aug 2011 00:33:03 +0000 (00:33 +0000)]
Add documentation

Minor whitespace/brace additions

12 years agoRemoved interwiki list per r89431 CR
Aaron Schulz [Thu, 4 Aug 2011 23:33:50 +0000 (23:33 +0000)]
Removed interwiki list per r89431 CR

12 years agoFollowup r89564
Sam Reed [Thu, 4 Aug 2011 23:26:53 +0000 (23:26 +0000)]
Followup r89564

Switch from newFromTitle to the new newFromRow in r93935

12 years agoAdding Revision::newFromRow() function as alias for new Revision()
Sam Reed [Thu, 4 Aug 2011 23:25:34 +0000 (23:25 +0000)]
Adding Revision::newFromRow() function as alias for new Revision()

More consistent with how we do stuff everywhere else

12 years agoPartial fix for r88772: no need for IGNORE on site_stats, just interwiki
Chad Horohoe [Thu, 4 Aug 2011 23:14:17 +0000 (23:14 +0000)]
Partial fix for r88772: no need for IGNORE on site_stats, just interwiki

12 years agoFix profiling in Article::getParserOutput()
Chad Horohoe [Thu, 4 Aug 2011 23:00:02 +0000 (23:00 +0000)]
Fix profiling in Article::getParserOutput()

12 years agoFollowup r93928: forgot to remove this
Chad Horohoe [Thu, 4 Aug 2011 22:34:26 +0000 (22:34 +0000)]
Followup r93928: forgot to remove this

12 years agoFixes for r92251:
Chad Horohoe [Thu, 4 Aug 2011 22:33:04 +0000 (22:33 +0000)]
Fixes for r92251:
* Move Imagick check into getImageWriteMethod(), adjust exception catching. Previously this was bailing on the test if you have convert but not the PHP Imagick extension. Now all these tests are passing for me again.
* Rm unused member variable, whitespace, etc

12 years agost47 == Dan Collins
Sam Reed [Thu, 4 Aug 2011 22:21:40 +0000 (22:21 +0000)]
st47 == Dan Collins

So might aswell just leave the real name credits

12 years ago* (bug 17119) class Parser: senseless use of non-existing regexp back reference
Sam Reed [Thu, 4 Aug 2011 22:20:52 +0000 (22:20 +0000)]
* (bug 17119) class Parser: senseless use of non-existing regexp back reference

Patch made by Dan Collins,, based on text placed by "seth"

12 years agoFollowup r93921: missed something from testing
Chad Horohoe [Thu, 4 Aug 2011 22:06:05 +0000 (22:06 +0000)]
Followup r93921: missed something from testing

12 years agoMove UNORM_ related defines inside of UtfNormal. $globalScope--;
Chad Horohoe [Thu, 4 Aug 2011 21:54:45 +0000 (21:54 +0000)]
Move UNORM_ related defines inside of UtfNormal. $globalScope--;

12 years agoFixed bug where global wgUploadStashMaxAge wasn't used, removed redundant defaults...
Ian Baker [Thu, 4 Aug 2011 21:19:08 +0000 (21:19 +0000)]
Fixed bug where global wgUploadStashMaxAge wasn't used, removed redundant defaults.  Followup to r93476

12 years agoSelf-revert r91453: not a well thought out addition to the EditPage::showEditForm...
Chad Horohoe [Thu, 4 Aug 2011 21:04:59 +0000 (21:04 +0000)]
Self-revert r91453: not a well thought out addition to the EditPage::showEditForm:initial hook

12 years agoFollowup r88270: comment out globals so I can resolve the fixme. Throw an exception...
Chad Horohoe [Thu, 4 Aug 2011 21:00:40 +0000 (21:00 +0000)]
Followup r88270: comment out globals so I can resolve the fixme. Throw an exception here so nobody tries using it anyway

12 years agoReverted r91548 per CR
Aaron Schulz [Thu, 4 Aug 2011 20:57:20 +0000 (20:57 +0000)]
Reverted r91548 per CR

12 years agoRemove no-op initialise from configuration. Nothing outside of Ext:Configure needs...
Chad Horohoe [Thu, 4 Aug 2011 20:55:20 +0000 (20:55 +0000)]
Remove no-op initialise from configuration. Nothing outside of Ext:Configure needs/uses it

12 years agoAdding new jquery plugins to Resources.php so they'll be available through ResourceLo...
Ian Baker [Thu, 4 Aug 2011 20:52:40 +0000 (20:52 +0000)]
Adding new jquery plugins to Resources.php so they'll be available through ResourceLoader, followup to r93908

12 years agoAdding jquery plugins that UploadWizard and jQueryMsg need for Jasmine tests
Ian Baker [Thu, 4 Aug 2011 20:43:58 +0000 (20:43 +0000)]
Adding jquery plugins that UploadWizard and jQueryMsg need for Jasmine tests

12 years ago* (bug 30230) action=expandtemplates should not silently override invalid title inputs
Sam Reed [Thu, 4 Aug 2011 20:04:09 +0000 (20:04 +0000)]
* (bug 30230) action=expandtemplates should not silently override invalid title inputs

12 years agoAdded filearchive check to isInactiveAccount()
Aaron Schulz [Thu, 4 Aug 2011 17:43:06 +0000 (17:43 +0000)]
Added filearchive check to isInactiveAccount()

12 years ago* Use local context instead of global variables
Alexandre Emsenhuber [Thu, 4 Aug 2011 15:48:36 +0000 (15:48 +0000)]
* Use local context instead of global variables
* Call Linker methods statically

12 years agoExpand all URLs in e-mail notifications to be full HTTP URLs. This prevents protocol...
Roan Kattouw [Thu, 4 Aug 2011 15:13:17 +0000 (15:13 +0000)]
Expand all URLs in e-mail notifications to be full HTTP URLs. This prevents protocol-relative URLs from appearing in e-mail notifications if $wgServer is protocol-relative

12 years agore r93871 — add release notes
Mark A. Hershberger [Thu, 4 Aug 2011 14:25:53 +0000 (14:25 +0000)]
re r93871 — add release notes

12 years agoLocalisation update for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Thu, 4 Aug 2011 13:28:09 +0000 (13:28 +0000)]
Localisation update for core and extension messages from translatewiki.net (2011-08-04 12:30:00)

12 years agoFix embarassing debugging code left in in r93744
Roan Kattouw [Thu, 4 Aug 2011 12:13:01 +0000 (12:13 +0000)]
Fix embarassing debugging code left in in r93744

12 years agoRemoving left-over comment from r67733.
Krinkle [Thu, 4 Aug 2011 05:44:52 +0000 (05:44 +0000)]
Removing left-over comment from r67733.

12 years agoFix bug #27132: Uncomment movefile right in default settings
Mark A. Hershberger [Thu, 4 Aug 2011 00:57:43 +0000 (00:57 +0000)]
Fix bug #27132: Uncomment movefile right in default settings

12 years ago* Refactored SpecialUndelete::revDeleteLink into a Linker::getRevDeleteLink function
Aaron Schulz [Wed, 3 Aug 2011 22:37:20 +0000 (22:37 +0000)]
* Refactored SpecialUndelete::revDeleteLink into a Linker::getRevDeleteLink function
* (bug 21279) Updated DeletedContributions to use type=revision when possible (ar_rev_id exists)

12 years agoReverted r91942,r91943,r91949,r92156 per CR
Aaron Schulz [Wed, 3 Aug 2011 22:08:24 +0000 (22:08 +0000)]
Reverted r91942,r91943,r91949,r92156 per CR

12 years agor93683 missed return in line 1890
Platonides [Wed, 3 Aug 2011 20:23:10 +0000 (20:23 +0000)]
r93683 missed return in line 1890

12 years agoJust call $wgOut->parse() instead of doing a lot of things to call $wgParser->parse()
Alexandre Emsenhuber [Wed, 3 Aug 2011 19:59:33 +0000 (19:59 +0000)]
Just call $wgOut->parse() instead of doing a lot of things to call $wgParser->parse()

12 years ago* Use local context instead of global variables
Alexandre Emsenhuber [Wed, 3 Aug 2011 19:42:34 +0000 (19:42 +0000)]
* Use local context instead of global variables
* Call Linker methods statically

12 years agoFollow-up r93258, r93266, r93266: Move the defines to Defines.php
Platonides [Wed, 3 Aug 2011 18:25:04 +0000 (18:25 +0000)]
Follow-up r93258, r93266, r93266: Move the defines to Defines.php

12 years agoCall Linker methods statically
Alexandre Emsenhuber [Wed, 3 Aug 2011 17:19:32 +0000 (17:19 +0000)]
Call Linker methods statically

12 years ago* Make envCheckPath() specific to each installer, web vs cli
Mark A. Hershberger [Wed, 3 Aug 2011 15:46:06 +0000 (15:46 +0000)]
* Make envCheckPath() specific to each installer, web vs cli
* Add warning during the CLI install that the uploads directory isn't
  being checked for arbitrary script execution

12 years agore: r93635
Mark A. Hershberger [Wed, 3 Aug 2011 14:25:20 +0000 (14:25 +0000)]
re: r93635

* Restore false from envCheckPath() if wgScriptPath isn't found.
* Add message showing complete URL for wiki.

12 years agoCorrect typo in function documentation.
Krinkle [Wed, 3 Aug 2011 13:46:41 +0000 (13:46 +0000)]
Correct typo in function documentation.
* Follows-up r93702 CR

12 years agoFix syntax error in r93820
Roan Kattouw [Wed, 3 Aug 2011 13:12:55 +0000 (13:12 +0000)]
Fix syntax error in r93820

12 years agoFix r93820: PROT_ -> PROTO_
Roan Kattouw [Wed, 3 Aug 2011 13:11:42 +0000 (13:11 +0000)]
Fix r93820: PROT_ -> PROTO_

12 years agoSome random URL protocol forcing for protocol-relative URLs
Roan Kattouw [Wed, 3 Aug 2011 12:58:21 +0000 (12:58 +0000)]
Some random URL protocol forcing for protocol-relative URLs

12 years agoFollowup r93266: also rename PROT_* to PROTO_* in the comments
Roan Kattouw [Wed, 3 Aug 2011 12:52:17 +0000 (12:52 +0000)]
Followup r93266: also rename PROT_* to PROTO_* in the comments

12 years agoIntroduce $wgVaryOnXFPToAPI which sends Vary: X-Forwarded-Proto (and the appropriate...
Roan Kattouw [Wed, 3 Aug 2011 12:00:47 +0000 (12:00 +0000)]
Introduce $wgVaryOnXFPToAPI which sends Vary: X-Forwarded-Proto (and the appropriate XVO, if needed) on cached API requests. This effectively splits the API cache between HTTP and HTTPS for people with an HTTPS termination setup in front of a caching proxy (like, say, WMF)

12 years agoFix noglobals exceptions from QUnit
Krinkle [Wed, 3 Aug 2011 11:59:11 +0000 (11:59 +0000)]
Fix noglobals exceptions from QUnit
* Test results prior to this commit: http://i.imgur.com/m8rbk.png
* http://localhost/trunkw/tests/qunit/?noglobals=1

- Missing var-statement, causes global scope implication
- Missing semi colon, causing next to be global

12 years agoremoving a comment that doesn't make any sense after r91441 refactoring :-)
Domas Mituzas [Wed, 3 Aug 2011 08:00:23 +0000 (08:00 +0000)]
removing a comment that doesn't make any sense after r91441 refactoring :-)

12 years agoRevert r93802 per CR. Will avoid cache pollution by splitting the cache instead
Roan Kattouw [Wed, 3 Aug 2011 07:54:23 +0000 (07:54 +0000)]
Revert r93802 per CR. Will avoid cache pollution by splitting the cache instead

12 years agoFollows-up r89848 CR: Cleaner solution
Krinkle [Wed, 3 Aug 2011 07:45:54 +0000 (07:45 +0000)]
Follows-up r89848 CR: Cleaner solution

12 years agoIn the protection form, show the current protection expiry time in the local time...
Rotem Liss [Wed, 3 Aug 2011 07:33:00 +0000 (07:33 +0000)]
In the protection form, show the current protection expiry time in the local time and not in UTC.

12 years agoFollowup r92044: force HTTP on URLs output by the API, now that wfExpandUrl() has...
Roan Kattouw [Wed, 3 Aug 2011 07:05:21 +0000 (07:05 +0000)]
Followup r92044: force HTTP on URLs output by the API, now that wfExpandUrl() has a flag for this

12 years agoTweak/add to documentation
Sam Reed [Wed, 3 Aug 2011 00:19:27 +0000 (00:19 +0000)]
Tweak/add to documentation

Remove old compat constants for "1.6 compatibility"

12 years agow/s fix for r92882
Chad Horohoe [Tue, 2 Aug 2011 23:16:44 +0000 (23:16 +0000)]
w/s fix for r92882