Commit graph

7 commits

Author SHA1 Message Date
Legoktm 212477a083 Revert "Directly use $wgTitle instead of relying on getContextTitle fallback"
This reverts commit b3fb04b463.

The problem is *not* getContextTitle() - that's the correct
function to call here. The problem is that something is creating
an EditPage instance without calling setContextTitle() - that's
what needs to be fixed.

Change-Id: Ibc8280c7434bee4c4697142bcdbc1194f00c53c1
2020-01-01 23:16:28 +00:00
Daimona Eaytoy b3fb04b463 Directly use $wgTitle instead of relying on getContextTitle fallback
This is apparently the only code relying on the fallback. Since it seems to do this most of the time, use $wgTitle directly.

Bug: T176526
Change-Id: I9edc7c3cb7b0f2b024873b2f6fbdb8c275225854
2019-09-30 17:38:56 +00:00
Kunal Mehta fefe8893a4 Set an explicit visibility on getPageLanguage()
Change-Id: I37407f8aa5f0f9d3066583f1a54e79de0c5ca129
2018-04-14 01:44:58 +00:00
libraryupgrader d734e5f1d0 build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment.MissingParamComment

Change-Id: Ib22f4c45d54424fe46e4f2a0c5f0ad7cc3866340
2018-03-29 00:50:06 +00:00
Kunal Mehta 99cd2828eb Move classes into includes/
Change-Id: I9ece489e16d214990191e5077e6271bd95fdb08c
2018-02-09 00:25:20 -08:00
libraryupgrader 88bf55da2f build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
The following sniffs are failing and were disabled:
* Squiz.Scope.MethodScope.Missing

Change-Id: I5da7ebfa10237638a17fe7d1b6c59e8b175247d4
2017-12-29 23:35:43 +00:00
libraryupgrader 83b1685f42 build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
And moved phpcs.xml to .phpcs.xml (T177256).

Change-Id: Iacc57da3938bfde3b528ba5008c1b068eb9d83c8
2017-10-21 04:19:10 +00:00
Renamed from phpcs.xml (Browse further)