jenkins-bot [Wed, 13 Aug 2014 22:42:57 +0000 (22:42 +0000)]
Merge "Use camel case for variable names in Article.php"
jenkins-bot [Wed, 13 Aug 2014 22:30:55 +0000 (22:30 +0000)]
Merge "Don't set the session name in CLI or when sessions are deactivated"
jenkins-bot [Wed, 13 Aug 2014 22:24:39 +0000 (22:24 +0000)]
Merge "Allow to send the memory usage with UDP profiler."
Aaron Schulz [Tue, 12 Aug 2014 17:55:05 +0000 (10:55 -0700)]
Enabled $wgUseLinkNamespaceDBFields
Change-Id: I7aa64c3ef50cd0bc210ea755a0c9d6ee1b7abb7c
jenkins-bot [Wed, 13 Aug 2014 21:21:07 +0000 (21:21 +0000)]
Merge "Pass $name to default Skin constructor for backwards-compatability"
jenkins-bot [Wed, 13 Aug 2014 21:06:52 +0000 (21:06 +0000)]
Merge "Added --lastUpdatedId option to backlink namespace population script"
jenkins-bot [Wed, 13 Aug 2014 21:02:56 +0000 (21:02 +0000)]
Merge "Run some parser tests with tidy."
jenkins-bot [Wed, 13 Aug 2014 21:01:36 +0000 (21:01 +0000)]
Merge "Revert "Made LCStoreDB try to use a separate DB connection""
jenkins-bot [Wed, 13 Aug 2014 20:48:48 +0000 (20:48 +0000)]
Merge "includes/actions/: Use Config instead of globals"
Kunal Mehta [Wed, 13 Aug 2014 20:45:56 +0000 (13:45 -0700)]
Pass $name to default Skin constructor for backwards-compatability
This feature was necessary when it was only possible to specify the
name of the class a skin used, this was the only way for one class to
dynamically serve multiple skins (such as if the skins were purely
template based with no PHP or if one skin had different themes to it).
It also provided an option for other skins to set $this->skinname dynamically.
See code review on I5c442f3c9e.
Change-Id: I7315fadf2e26d164ccc4f47b6d883945fa2570da
Translation updater bot [Wed, 13 Aug 2014 20:42:33 +0000 (20:42 +0000)]
Merge "Localisation updates from https://translatewiki.net."
jenkins-bot [Wed, 13 Aug 2014 20:41:06 +0000 (20:41 +0000)]
Merge "SkinFallbackTemplate: Use SkinFactory instead of $wgValidSkinNames"
Kunal Mehta [Wed, 13 Aug 2014 02:45:55 +0000 (19:45 -0700)]
includes/actions/: Use Config instead of globals
Changed InfoAction::pageCounts to be non-static, so
it's able to access $this to get the Config object.
Also replaced instances of $wgScript with wfScript().
Change-Id: I4a6a3224e762f13640af04a73e2934b887dffedd
jenkins-bot [Wed, 13 Aug 2014 20:27:00 +0000 (20:27 +0000)]
Merge "Fix documentation."
Translation updater bot [Wed, 13 Aug 2014 20:24:45 +0000 (22:24 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Ie88a32c00c27abb72f24c9585884b7253d938b31
jenkins-bot [Wed, 13 Aug 2014 20:24:19 +0000 (20:24 +0000)]
Merge "Update release notes and documentation about skins"
Kunal Mehta [Mon, 11 Aug 2014 12:40:52 +0000 (05:40 -0700)]
SkinFallbackTemplate: Use SkinFactory instead of $wgValidSkinNames
Change-Id: I463d263fc24a3e0c589ddc7176b77dffde17d105
umherirrender [Wed, 13 Aug 2014 17:59:03 +0000 (19:59 +0200)]
Fixed spacing
- Added newline at end of files
- Added/Removed spaces around comma, parentheses and negation
- Added space after function word
Change-Id: I2dd338153aeb5f07702ba015945e95c7d0ae673b
jenkins-bot [Wed, 13 Aug 2014 20:13:37 +0000 (20:13 +0000)]
Merge "Correct variable names in @param to match method declarations"
jenkins-bot [Wed, 13 Aug 2014 20:08:54 +0000 (20:08 +0000)]
Merge "Cleanup - let's make IDEs more useful"
Yuri Astrakhan [Tue, 8 Jul 2014 21:40:06 +0000 (17:40 -0400)]
Cleanup - let's make IDEs more useful
http://phpdoc.org/docs/latest/references/phpdoc/types.html
If IDEs have many warnings, we don't look at them.
Let's minimize the number of warnings, and make them useful again.
* Some function docs fixes
* Removed unused $iwprefixes var in ApiQuerySearch.php
* declared private $blockStatusByUid in SpecialActiveusers
* declared private $repo in UploadFromChunks
Change-Id: Ifd20f78b168b9a913fdb8d89dc26a76a173b1c29
Bartosz Dziewoński [Wed, 13 Aug 2014 19:58:01 +0000 (21:58 +0200)]
Update release notes and documentation about skins
skins/README based on extensions/README. Also updated the latter.
Bug: 68402
Bug: 69372
Change-Id: I6d045af0509aa8fc485255b507554d771d101ee0
umherirrender [Wed, 13 Aug 2014 19:41:39 +0000 (21:41 +0200)]
Correct variable names in @param to match method declarations
Some @param have a typo in the variable name,
some @param's were in wrong order.
Change-Id: Ie25806831027112b398f6f4a909c59147ac3a5fa
Daniel Friesen [Wed, 13 Aug 2014 19:36:28 +0000 (12:36 -0700)]
Fix documentation.
It's true that right now the internal skin name doesn't have to be all-lowercase,
however not doing so leads to side effects such as the changing of case of i18n message keys,
if the documentation makes programmers aware that something other than all-lowercase can
be used, they should also be aware of the side effects of doing so.
Change-Id: Ib1ed192b1ba83ae864313c34b450a1151485750b
umherirrender [Wed, 13 Aug 2014 19:26:20 +0000 (21:26 +0200)]
Use /** for doc comments
/* is only a comment, which is not used when build the documentation
Change-Id: Id5f917928e3a253a90fd17b0d7aad7340f9393f5
jenkins-bot [Wed, 13 Aug 2014 18:58:07 +0000 (18:58 +0000)]
Merge "SkinFactory: Improve documentation and comments"
jenkins-bot [Wed, 13 Aug 2014 18:56:53 +0000 (18:56 +0000)]
Merge "SkinFactory: register skins in Setup.php"
umherirrender [Wed, 13 Aug 2014 18:01:46 +0000 (20:01 +0200)]
Fixed some docs
- Added since to @deprecated
- Use lowercase array on @param
- Added missing type on @param
- Swapped type and variable on @param
- Fixed spelling of @return
Change-Id: Idbbc6b4c8aadb6d98c636f53024ac513346c912b
jenkins-bot [Wed, 13 Aug 2014 17:53:59 +0000 (17:53 +0000)]
Merge "ApiTestCase: Avoid notices about undefined indices"
Bartosz Dziewoński [Wed, 13 Aug 2014 17:47:57 +0000 (19:47 +0200)]
ApiTestCase: Avoid notices about undefined indices
We're going to throw an exception right away here, but this is still
problematic because of PHPUnit:
"By default, PHPUnit converts PHP errors, warnings, and notices that
are triggered during the execution of a test to an exception."
http://phpunit.de/manual/4.2/en/writing-tests-for-phpunit.html#writing-tests-for-phpunit.errors
Also change the exception message to something saner.
Change-Id: I766c36076d34428035be78bbb3cf36cc572b565b
umherirrender [Wed, 13 Aug 2014 17:39:07 +0000 (19:39 +0200)]
Docs: compatability -> compatibility
https://en.wiktionary.org/wiki/compatability
Change-Id: I71d82ae04d4b17609a1d5a7eec4497115e64972e
jenkins-bot [Wed, 13 Aug 2014 16:41:49 +0000 (16:41 +0000)]
Merge "EditPage::newSectionSummary should return a value in all code paths"
umherirrender [Fri, 8 Aug 2014 19:44:01 +0000 (21:44 +0200)]
Set $wgUploadNavigationUrl to false on parser and unit tests
Setting this to default avoids failing parser tests,
when it is set in LocalSettings.php
Bug: 54576
Change-Id: I531d5839e9abe571c6c29f290bb159dabca34798
Bartosz Dziewoński [Wed, 13 Aug 2014 11:55:55 +0000 (13:55 +0200)]
SkinFactory: Improve documentation and comments
* Document parameters to register()
* Document what the "human-readable name" does
* Document the distinction between autodiscovery and $wgValidSkinNames
skins
Change-Id: Iee5bd18b3e68f3e48ccd28e386109e60fee31085
Kunal Mehta [Mon, 11 Aug 2014 11:33:54 +0000 (12:33 +0100)]
SkinFactory: register skins in Setup.php
This un-makes $wgValidSkinNames a legacy thing, and is
more backwards-compatible friendly.
Change-Id: I5c442f3c9e4ee7a4a3980fd02138ee756ef9fa7a
withoutaname [Thu, 31 Jul 2014 03:18:28 +0000 (20:18 -0700)]
Remove deprecated $wgHTCPMulticastAddress, $wgHTCPMulticastRouting and $wgHTCPPort
Change-Id: Icfbc178d823e59f2e305cbc4bca0b194d2786026
jenkins-bot [Wed, 13 Aug 2014 01:31:07 +0000 (01:31 +0000)]
Merge "Remove return from Action::checkCanExecute"
jenkins-bot [Wed, 13 Aug 2014 00:50:10 +0000 (00:50 +0000)]
Merge "resourceloader: Wrap only=script responses in "if(window.mw)""
Timo Tijhof [Wed, 6 Aug 2014 15:54:22 +0000 (15:54 +0000)]
resourceloader: Wrap only=script responses in "if(window.mw)"
We currently have a few legacy requests to the load.php end point
that bypass the ResourceLoader client by coding a request to
load.php via a "<script src>" directly. Most prominently the
request for the 'site' wiki module (aka MediaWiki:Common.js).
Remove the manual wrapping of embedded private modules as this
is now taken are of by ResourceLoader::makeModuleResponse itself.
Misc:
* Mark "jquery" and "mediawiki" as Raw modules. While the startup
module had this already, these didn't. Without this, they'd
get the conditional wrap – which would be a problem since mediawiki.js
can't be conditional on 'window.mw' for that file defines that
namespace itself.
* Strip the cache-key comment in the unit tests because the hash
no longer matches and using the generic 'wiki' dbname was breaking
DB queries.
* Relates to bug 63587.
* See also
05d0f6fefdcc959d which expands the reach of the non-JS
environment to IE6 and helped expose this bug.
Change-Id: Icf6ede09b51ce212aa70ff6be4b341762ec75b4d
addshore [Mon, 11 Aug 2014 20:58:31 +0000 (21:58 +0100)]
Fix phpcs issues in actions and revisiondelete dirs
Change-Id: I54c1e336b8c44ff8720ac38c8b2d68ede42af305
jenkins-bot [Tue, 12 Aug 2014 22:33:18 +0000 (22:33 +0000)]
Merge "actions: Move SubmitAction class out of EditAction.php"
jenkins-bot [Tue, 12 Aug 2014 22:29:06 +0000 (22:29 +0000)]
Merge "resourceloader: Fix undefined variable in ResourceLoaderFileModule::getSkipFunction"
withoutaname [Mon, 4 Aug 2014 00:15:17 +0000 (17:15 -0700)]
actions: Move SubmitAction class out of EditAction.php
Straight move, except for the slight change in the comparison operator
for session_id().
Change-Id: I9404f48ee75ff3d3655f2f5b75a05d66f334b80d
Alexandre Emsenhuber [Tue, 12 Aug 2014 18:15:53 +0000 (20:15 +0200)]
resourceloader: Fix undefined variable in ResourceLoaderFileModule::getSkipFunction
Follows-up
75c08916b02ac87. Looking at the call chain of
validateScriptFile() up to JSTokenzier, the first parameter is the file
name, otherwise "[inline]" is used; so that variable should be $localPath.
Bug: 69214
Change-Id: If7f36449cb352f50ba795a6d306e5d949a3dbd29
jenkins-bot [Tue, 12 Aug 2014 22:12:19 +0000 (22:12 +0000)]
Merge "Change "ENGINE=HEAP" to "ENGINE=MEMORY""
jenkins-bot [Tue, 12 Aug 2014 19:01:07 +0000 (19:01 +0000)]
Merge "Remove duplicate override in SpecialRecentchangeslinked.php"
Reedy [Tue, 12 Aug 2014 18:48:29 +0000 (19:48 +0100)]
Remove duplicate override in SpecialRecentchangeslinked.php
Causes bug in FR
Change-Id: I5efa8953e6e6717ba043fa13a652f1dfcf936bf2
Translation updater bot [Tue, 12 Aug 2014 18:47:37 +0000 (20:47 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I73acb1878dc7e7d2186219f542bf3e8f4ca3d944
withoutaname [Mon, 4 Aug 2014 14:37:43 +0000 (07:37 -0700)]
Change "ENGINE=HEAP" to "ENGINE=MEMORY"
"Memory" is the preferred term, see
https://dev.mysql.com/doc/refman/5.0/en/memory-storage-engine.html
Change-Id: I1fd05d027903af6023002dd357998ce5f2606708
umherirrender [Sun, 3 Aug 2014 18:42:25 +0000 (20:42 +0200)]
Remove return from Action::checkCanExecute
No need to return true on success, because failure gives Exception,
so the return value needs no checking.
Change-Id: Id59bfaebc14bd1c638a721c303f585c1de627508
addshore [Tue, 12 Aug 2014 11:49:02 +0000 (12:49 +0100)]
Make travis notifications go to #mediawiki-feed
Change-Id: If61d0ac868c0932a0bb0aae76db4354190874c35
Addshore [Mon, 11 Aug 2014 20:08:46 +0000 (20:08 +0000)]
Revert "Travis CI: Drop 5.3 as a build target"
This reverts commit
420f55ad976a4929fdc9b1eff9ed2b6044c633d6.
Change-Id: I4c8aa600c72041daf49ed6158b9375bdcc5c9015
addshore [Mon, 11 Aug 2014 21:22:18 +0000 (22:22 +0100)]
Fix visibility in SkinFallback and StubObject
Change-Id: Ie4c1aabd966fcdf87a9129ceb59c058740292f2e
addshore [Mon, 11 Aug 2014 20:44:31 +0000 (21:44 +0100)]
Add @codingStandardsIgnore tags to parser classes
Change-Id: I16d19de3d2b2461a68030afd3a79aa59c9e948d4
addshore [Mon, 11 Aug 2014 20:24:54 +0000 (21:24 +0100)]
Fix phpcs issues in parser
This fixes all issues except for:
- class names
- line length
Change-Id: Ie91b010d5b3eec49d3b80b6e93b125a901ef43c6
addshore [Mon, 11 Aug 2014 21:32:04 +0000 (22:32 +0100)]
Fix phpcs stuff in profileinfo.php
Change-Id: Ia0709ced1ac6365a0c1f7c14c52d2487041a9c3f
Translation updater bot [Mon, 11 Aug 2014 19:37:31 +0000 (21:37 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I13bfc16a2cba749eb74e0657c337eda0f4a3491d
jenkins-bot [Mon, 11 Aug 2014 18:35:42 +0000 (18:35 +0000)]
Merge "Cleanup some docs (tests)"
jenkins-bot [Mon, 11 Aug 2014 18:31:53 +0000 (18:31 +0000)]
Merge "Remove some unnecessary IE 6 hacks"
umherirrender [Thu, 24 Jul 2014 12:55:43 +0000 (14:55 +0200)]
Cleanup some docs (tests)
- Swap "$variable type" to "type $variable"
- Fixed spacing inside docs
- Makes beginning of @param/@var/@throws in capital
- Changed some types to match the more common spelling
Change-Id: Ia041964250d8b7c0349d79dc9b131c5b8696e795
Kunal Mehta [Sun, 10 Aug 2014 23:03:09 +0000 (00:03 +0100)]
Add release notes for Ibe28a69c9fbab00b81c53b1643df722a3f1fbf19
Change-Id: I0a2b2feafcf2561369145bec80ec14c7929beff9
jenkins-bot [Sun, 10 Aug 2014 21:47:22 +0000 (21:47 +0000)]
Merge "Do not allow a user to delete a page they can't edit"
Brad Jorsch [Sun, 10 Aug 2014 20:23:28 +0000 (21:23 +0100)]
Do not allow a user to delete a page they can't edit
This was probably overlooked in the past because usually the only users
who can delete pages also have permission to edit the relevant
protection levels.
Change-Id: Ibe28a69c9fbab00b81c53b1643df722a3f1fbf19
Translation updater bot [Sun, 10 Aug 2014 20:25:28 +0000 (22:25 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I5529c6d8115cc05b3de8d3fde9de948f1719bed3
jenkins-bot [Sun, 10 Aug 2014 14:08:52 +0000 (14:08 +0000)]
Merge "API: Remove action=paraminfo 'props' and 'errors' result properties"
UltrasonicNXT [Wed, 5 Feb 2014 21:03:15 +0000 (21:03 +0000)]
Fix userrights-interwiki when the 'user' table is shared
At present, this function selects the user table from the same DB as the
user_groups, however, in wikifarms this is not often the case, as the user
table is often shared, but the user_groups table not. Adding a check in
here, and passing the shared table, if needed, ONLY to the user query,
should fix.
Change-Id: Ib85630067c402b8e4f50ff11a33fe7f0eadd4f16
Kunal Mehta [Sun, 10 Aug 2014 10:36:59 +0000 (11:36 +0100)]
Require a ResourceLoader instance is passed to ResourceLoaderContext
Change-Id: Ie1e5453b47349fc00664325827f88a1e7a6de43f
jenkins-bot [Sun, 10 Aug 2014 03:20:13 +0000 (03:20 +0000)]
Merge "Make styleguide mobile first"
Matthew Flaschen [Sun, 10 Aug 2014 02:23:27 +0000 (22:23 -0400)]
Fix documentation for Html::closeElement
Follow-up to
d950da075dcb6c6dd3f68a50a0d427569350763a
Change-Id: I916052cf924dd3c6664b6d7d02175fd74a71527b
jenkins-bot [Sun, 10 Aug 2014 01:39:43 +0000 (01:39 +0000)]
Merge "Skin: Don't double-check for non-existing skin in newFromKey()"
Bartosz Dziewoński [Sun, 10 Aug 2014 01:24:58 +0000 (03:24 +0200)]
Skin: Don't double-check for non-existing skin in newFromKey()
normalizeKey() should have already handled this.
Change-Id: Idf2510ec86841ed18d589f392a30db1b41ac0c24
jenkins-bot [Sun, 10 Aug 2014 01:23:59 +0000 (01:23 +0000)]
Merge "Never display empty sections on Special:Version"
Bartosz Dziewoński [Fri, 8 Aug 2014 22:38:14 +0000 (00:38 +0200)]
Never display empty sections on Special:Version
Follow-up to
d423112b.
Change-Id: I44c8bfe6f4ca1350a7e35a253785f772602353c1
Bartosz Dziewoński [Sat, 9 Aug 2014 15:06:33 +0000 (17:06 +0200)]
Move Vector's hooks documentation to mediawiki/skins/Vector
Change-Id: Ide133c1ec0ae701c5864edcbab428be314bd159e
Bartosz Dziewoński [Sun, 10 Aug 2014 01:12:34 +0000 (03:12 +0200)]
Remove some unnecessary IE 6 hacks
We dropped JS support for IE 6. These workarounds for its bugs are no
longer necessary, because this code is no longer loaded. (The CSS
files modified are parts of modules that require JS support.)
We probably have a lot more, these just came up when grepping for
'IE6' and were obvious.
Change-Id: I7588b03f6ade699ddda4ec28be6c6f512e4b0ea8
jenkins-bot [Sat, 9 Aug 2014 23:02:01 +0000 (23:02 +0000)]
Merge "Cleanup some docs (languages)"
jenkins-bot [Sat, 9 Aug 2014 21:05:39 +0000 (21:05 +0000)]
Merge "Cleanup some docs (maintenance)"
jenkins-bot [Sat, 9 Aug 2014 20:49:41 +0000 (20:49 +0000)]
Merge "Introduce SkinFactory"
Kunal Mehta [Sat, 9 Aug 2014 12:36:35 +0000 (13:36 +0100)]
Introduce SkinFactory
Modeled similar to ConfigFactory, this lets skins
register themselves via a callback, allowing for
proper dependency injection.
Loading via $wgValidSkinNames is still supported,
but considered "legacy", not deprecated though.
Skin::newFromKey is now deprecated (and had only
one caller in an extension, which I'll update
afterwards).
Change-Id: I1960483f87c2ef55c994545239b728fa376f17f4
umherirrender [Thu, 24 Jul 2014 12:55:43 +0000 (14:55 +0200)]
Cleanup some docs (languages)
- Makes beginning of @param in capital
- Removed return void
Change-Id: Ie05436c1ef886cb23c62ccde95384f253f83694c
umherirrender [Sat, 9 Aug 2014 19:26:14 +0000 (21:26 +0200)]
Cleanup some docs (maintenance)
- Fixed spacing inside docs
- Makes beginning of @param/@return in capital
Change-Id: I864b8b3f1f67e34e369aba7aadaf87e7752c894d
jenkins-bot [Sat, 9 Aug 2014 19:06:54 +0000 (19:06 +0000)]
Merge "Special:Allpages replace table with unordered list"
Translation updater bot [Sat, 9 Aug 2014 17:14:04 +0000 (19:14 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I0a3841a41e7f3ff5c19a756f1e7ce36779025204
Chad Horohoe [Sat, 9 Aug 2014 16:36:07 +0000 (17:36 +0100)]
Followup
248ac9e: set $wgAutoloadClasses to an array after declaring
Change-Id: I07cc526ff3145c38bc08cd9b83fb266dc20a47c1
jenkins-bot [Sat, 9 Aug 2014 16:25:30 +0000 (16:25 +0000)]
Merge "Support GENDER in MediaWiki:Blockip and Special:Block"
jenkins-bot [Sat, 9 Aug 2014 15:06:22 +0000 (15:06 +0000)]
Merge "mediawiki.content.json.css: Don't use funny fonts"
Bartosz Dziewoński [Sat, 9 Aug 2014 14:58:39 +0000 (16:58 +0200)]
mediawiki.content.json.css: Don't use funny fonts
* Allow skin-provided fonts for .mw-json.
* Use standard monospace font for .mw-json .value. We need to write
'monospace, monospace' because of old browsers, see design/monospace.html.
Change-Id: I4ed850408895dd1962a0503227ccb384bf479790
Bartosz Dziewoński [Sat, 9 Aug 2014 14:56:06 +0000 (16:56 +0200)]
Make mediawiki.content.json.css not trigger JSDuck
Fun fact: JSDuck tests don't run for .css file changes on Jenkins, but
when they do run for .js file changes, they also process .css files
and the documentation comments in them.
Change /** to /*! to prevent that, like we've done in other files.
Follow-up to
d2a82fcb.
Change-Id: Ib7f9875ea818bc72fe9aaed167b428e570c6df2e
Kunal Mehta [Sat, 9 Aug 2014 13:15:46 +0000 (14:15 +0100)]
Use new static instead of new self
See code review on I957d6bda626b8e749a99717b5c89c4db38a36bf8
Change-Id: I79e4a987636509515df044da7a6951d3e4b4f824
jenkins-bot [Sat, 9 Aug 2014 12:37:50 +0000 (12:37 +0000)]
Merge "Correct variable types in phpdoc"
Tom Arrow [Sat, 9 Aug 2014 12:31:02 +0000 (13:31 +0100)]
Correct variable types in phpdoc
Change-Id: I1a57024868fa47d9537585f1bb738d6f7c725c7a
in: LocalisationCache.php and ImageQueryPage.php
Tom Arrow [Sat, 9 Aug 2014 12:23:08 +0000 (13:23 +0100)]
Remove unreachable return in ChangesList.php
Change-Id: Ic00d7b4eaebdaa795b550c4213c518b1c56bd297
Tom Arrow [Sat, 9 Aug 2014 12:11:54 +0000 (13:11 +0100)]
Split SkinFallback and SkinfallbackTemplate
Change-Id: I55c866c08d4f442021c43068efe64be871afb96b
jenkins-bot [Sat, 9 Aug 2014 11:51:07 +0000 (11:51 +0000)]
Merge "Don't include images/categories when behind a local interwiki prefix"
jenkins-bot [Sat, 9 Aug 2014 11:29:08 +0000 (11:29 +0000)]
Merge "Add $query parameter to OutputPage::addBacklinkSubtitle"
Kunal Mehta [Sat, 9 Aug 2014 11:02:33 +0000 (12:02 +0100)]
JSONContent: Use self() instead of explicit class name to support subclasses
Change-Id: I957d6bda626b8e749a99717b5c89c4db38a36bf8
Kunal Mehta [Sat, 9 Aug 2014 10:51:11 +0000 (11:51 +0100)]
JSONContent: Add HTML escaping test from EventLogging
Change-Id: I73908c7614b39bdab953aec079c8dfb991fa463b
aude [Thu, 24 Jul 2014 13:48:37 +0000 (15:48 +0200)]
Remove @todo in SpecialPage for making it into ContextSource
It is better to have $context as a member variable,
which can be accessed, $special->getContext(), as needed
with a composition approach instead of inheritance.
Having SpecialPage directly inherit makes testing code
a bit more challenging and messy.
Change-Id: I5e5587cbbc9abfb2fa4ab1e7603cd2ddcad1b96d
addshore [Sat, 9 Aug 2014 00:16:43 +0000 (01:16 +0100)]
Move MediaWikiPasswordTestCase to password dir
Change-Id: I423e484929ce1bbc21e8f2ddd78196dee3520677
Legoktm [Sat, 9 Aug 2014 00:29:43 +0000 (00:29 +0000)]
Revert "Pass a real IContextSource to ProtectedTitlesPager"
Turns out the first parameter is actually supposed to be the SpecialPage instance.
This reverts commit
bfe3fb637eae69817ca9c4b1b6027a77d31a921b.
Change-Id: I7605ef60c7ab10a3d164204620714cc68576f7e2