Umherirrender
472891385d
Use namespaced classes (2)
...
Changes to the use statements done automatically via script
Addition of missing use statement done manually
Change-Id: Id9f3e775e143d1a17b6b96812a8230cfba14d9d3
2024-06-16 20:23:55 +02:00
Pppery
876e9883aa
Allow MergeHistory to split up joined revisions with same timestamp
...
Bug: T183501
Change-Id: Iedd818a83838683fb07334aade11754557828062
2024-01-05 23:09:15 +00:00
James D. Forrester
459cbb0494
Namespace remaining 'specialpage' files under \MediaWiki\SpecialPage
...
SpecialPageFactory is already here, but none of the others were yet.
Bug: T166010
Change-Id: I9689bf0a1ab329625e23669b99f019b96295fffd
2023-09-18 18:23:13 +01:00
James D. Forrester
ad06527fb4
Reorg: Namespace the Title class
...
This is moderately messy.
Process was principally:
* xargs rg --files-with-matches '^use Title;' | grep 'php$' | \
xargs -P 1 -n 1 sed -i -z 's/use Title;/use MediaWiki\\Title\\Title;/1'
* rg --files-without-match 'MediaWiki\\Title\\Title;' . | grep 'php$' | \
xargs rg --files-with-matches 'Title\b' | \
xargs -P 1 -n 1 sed -i -z 's/\nuse /\nuse MediaWiki\\Title\\Title;\nuse /1'
* composer fix
Then manual fix-ups for a few files that don't have any use statements.
Bug: T166010
Follows-Up: Ia5d8cb759dc3bc9e9bbe217d0fb109e2f8c4101a
Change-Id: If8fc9d0d95fc1a114021e282a706fc3e7da3524b
2023-03-02 08:46:53 -05:00
Petr Pchelko
3a5c8f0f25
Convert logging namespace to Authority
...
Change-Id: Icb44acf275a7f9231c4d229b3886ed8a36d5cbd4
2021-02-23 21:58:37 +00:00
Petr Pchelko
7b4eafda0d
Replace usages of deprecated User::isAllowed. Step 2.
...
Bug: T220191
Depends-On: I509cd88355cfd0cc074f4135ec86399b4075f89f
Change-Id: I2341e6f1d108c92924620fba3c64ec090cb09918
2019-09-11 16:00:03 -07:00
Kunal Mehta
e0193327bd
Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors
...
Change-Id: I936c3f5fca1a0061f215e80469f5d882cb32ee29
2018-05-23 16:23:42 -07:00
Matěj Suchánek
d0fa4e8d15
Use LogFormatter::getLinkRenderer in LogFormatter extensions
...
And additionally, migrate another two usages of deprecated
Linker methods.
Bug: T149346
Change-Id: I222da144a37f7d77eaf4bdde901b58c992f1af85
2017-07-12 09:58:18 +02:00
Kunal Mehta
6e9b4f0e9c
Convert all array() syntax to []
...
Per wikitech-l consensus:
https://lists.wikimedia.org/pipermail/wikitech-l/2016-February/084821.html
Notes:
* Disabled CallTimePassByReference due to false positives (T127163)
Change-Id: I2c8ce713ce6600a0bb7bf67537c87044c7a45c4b
2016-02-17 01:33:00 -08:00
Brad Jorsch
61233fc847
API: Move parameter formatting into LogFormatter
...
This allows for extensions to format their log entry parameters, and
keeps the code for formatting API log entry parameters in the same place
as for other formatting.
This also takes the opportunity to rearrange the output format slightly
to avoid conflicts like what's happening in T73020.
Bug: T35235
Bug: T73020
Bug: T91466
Change-Id: I6846ce09322eb404c506b5a51780a44ce9279fe2
2015-04-17 04:59:41 +00:00
umherirrender
7fb05cc84e
Apply time adjust on merge log
...
The merge log params contains a revision timestamp in UTC, this needs
time adjust in case of users with a timezone in the settings.
Change-Id: I1612a33307667fa767e80a6061c013ea0f10b0a6
2014-12-28 20:36:00 +01:00
umherirrender
daa4d556bb
Move MergeLogFormatter to 1.25
...
Follow-Up: I0557a0d2751540cf0d7967333ffd767b934011c6
Change-Id: Id18ba7d925062d795bd129af255cc902e48d30f6
2014-10-21 21:56:46 +02:00
umherirrender
52f5634ba0
Migrate merge log to new log system
...
This allows use of gender on Special:Log
Old message is kept for use in irc,
a test is added to ensure a unchanged irc message.
Change-Id: I0557a0d2751540cf0d7967333ffd767b934011c6
2014-10-21 16:49:06 +00:00