AntiCompositeNumber
df873f577b
Fix hardcoded non-prefixed table in editsInNs query
...
Hardcoding the table here causes a database error if $wgDBprefix is set.
This fix should be backported to 1.35
Bug: T289902
Change-Id: Id22b696d00069e26edfa7bc4e109e1e6b74fbecf
2021-08-28 00:21:02 +00:00
Reedy
4c4f43c81f
Remove hardcoded non prefixed page table in join
...
Bug: T267993
Change-Id: I9d79eb169833b3e27a94bf74f2cd0bc48dbfc032
(cherry picked from commit c7588ea1ea
)
2020-11-17 19:00:19 +00:00
Ostrzyciel
13a0a67ea6
Editcount: support the actor table
...
Add support for the actor table and the temporary actor revision table.
Bug: T240893
Change-Id: I1db8cb74d808093a357af0f430f7d4b9d43e50b8
2019-12-18 17:27:56 +01:00
Thiemo Kreuz
551649bdd1
Fix all PHPCS errors and update code to modern standards
...
There are still some exceptions in .phpcs.xml, but now they are for
blacklisted files only, instead of disabling the rules entirely.
Change-Id: I8101eb66fad39c2a87b2af397597b5a9b7729ed2
2019-11-12 10:06:27 +01:00
Jack Phoenix
3a4503d991
Fix silly typo in method name
...
Change-Id: I5046b88836e10f5d1e03b6e17a67da3783be5e34
2019-08-28 21:32:22 +00:00
Jack Phoenix
3ae702b39a
Properly mark private functions as such for function visibilities have been a thing for a while now
...
Change-Id: I48e81cd18e4cf9ccc7e2b63a7523fae696834763
2019-07-28 19:35:17 +00:00
Jack Phoenix
ddf6cc8fb8
Replace $wgContLang global with MediaWikiServices
...
Globals? What globals?
Change-Id: Ieb9249214d83772bfae7c45432ff12e02c51a475
2019-07-28 07:03:28 +00:00
libraryupgrader
c42a33ebed
build: Updating mediawiki/mediawiki-codesniffer to 24.0.0
...
The following sniffs are failing and were disabled:
* MediaWiki.Usage.DeprecatedGlobalVariables.Deprecated$wgContLang
Change-Id: I3442d2d77f7dbe03552ecc722108c35574084bf9
2019-02-06 13:07:47 +00:00
Jayprakash12345
5e00bced59
Convert Special:Editcount to use OOUI
...
Bug: T204380
Change-Id: I685165f7e51189f461f5f396f938b07b1cb83df6
2018-09-15 01:21:00 +05:30
Kunal Mehta
845913bc83
Autofixing MediaWiki.Usage.DeprecatedConstantUsage.DB_SLAVE errors
...
Change-Id: Id5f6804262a86de6f0682c476ae4d1b2018ff112
2018-07-27 00:34:01 -07:00
Kunal Mehta
f3559ba849
Autofixing MediaWiki.Commenting.* errors
...
Change-Id: Idb326bc8c63170930e741feaaa794a1a0003442b
2018-07-27 00:34:00 -07:00
Kunal Mehta
cd3d28a0fd
Autofixing Generic.Functions.FunctionCallArgumentSpacing.SpaceBeforeComma errors
...
Change-Id: I1f9b01d420991b7967ab14304bfeab26ca3e1221
2018-07-27 00:33:59 -07:00
Kunal Mehta
ef551ef2cc
Autofixing Generic.Arrays.DisallowLongArraySyntax.Found errors
...
Change-Id: Ia0ca1944331fc77b453c83bf4469fa46721f1a56
2018-07-27 00:33:58 -07:00
Jack Phoenix
e7cf420d72
Fix fatal under MediaWiki 1.24
...
Change-Id: I6c989eb90878376c42f06d5da59b3473075dc3e5
2014-12-08 12:16:04 +02:00
Jack Phoenix
4a789ab18b
Coding style tweaks & removed one unused variable from the setup file.
...
Change-Id: Ia523e2e9cbf374a5feb357290218ebb276652664
2014-06-18 17:50:48 +03:00
Kunal Mehta
e474200b47
Cleanup and modernize extension
...
Got rid of wfMsg*, uneeded globals, etc.
Added in a few @fixmes.
Change-Id: Ia8e3f14dafbd63407d7a429464526731ace422fd
2014-06-15 22:49:51 -07:00
Siebrand Mazeland
d785847c3e
Replace usage of deprecated Title::escapeLocalURL()
...
Change-Id: I95556b6b1665239433235f0b998617b2fe556f1e
2013-12-29 15:27:50 +01:00
Chad Horohoe
451fcaee86
Remove wfLoadExtensionMessages() in all trunk extensions (do not backport)
...
* This function has been a no-op since 1.16
* As of 1.18, this throws warnings to all callers
* It will be removed *entirely* in 1.20 according to documentation
* I skipped Semantic* on purpose
This means: extensions IN TRUNK now require AT LEAST MediaWiki 1.16 or above.
2011-03-24 17:04:02 +00:00
Yaron Koren
c9b14d6cc2
Reverted r76064 - it's too soon to remove wfLoadExtensionMessages(), which is still needed by MW 1.15 and earlier
2010-11-05 16:22:08 +00:00
Sam Reed
e867f493ea
Kill numerous wfLoadExtensionMessages calls
...
344 usages left...
2010-11-04 23:55:29 +00:00
Aryeh Gregor
5e667e9625
Remove most named character references from output
...
Recommit of r66254 to trunk. This was just
find extensions phase3 -iname '*.php' \! -iname '*.i18n.php' \! -iname 'Messages*.php' \! -iname '*_Messages.php' -exec sed -i 's/ /\ /g;s/—/―/g;s/•/•/g;s/á/á/g;s/´/´/g;s/à/à/g;s/α/α/g;s/ä/ä/g;s/ç/ç/g;s/©/©/g;s/↓/↓/g;s/°/°/g;s/é/é/g;s/ê/ê/g;s/ë/ë/g;s/è/è/g;s/€/€/g;s/↔//g;s/…/…/g;s/í/í/g;s/ì/ì/g;s/←/←/g;s/“/“/g;s/·/·/g;s/−/−/g;s/–/–/g;s/ó/ó/g;s/ô/ô/g;s/œ/œ/g;s/ò/ò/g;s/õ/õ/g;s/ö/ö/g;s/£/£/g;s/′/′/g;s/″/″/g;s/»/»/g;s/→/→/g;s/”/”/g;s/Σ/Σ/g;s/×/×/g;s/ú/ú/g;s/↑/↑/g;s/ü/ü/g;s/¥/¥/g' {} +
followed by reading over every single line of the resulting diff and
fixing a whole bunch of false positives. The reason for this change is
given in <http://lists.wikimedia.org/pipermail/wikitech-l/2010-April/047617.html >.
I cleared it with Tim and Brion on IRC before committing. It might
cause a few problems, but I tried to be careful; please report any
issues.
I skipped all messages files. I plan to make a follow-up commit that
alters wfMsgExt() with 'escapenoentities' to sanitize all the entities.
That way, the only messages that will be problems will be ones that
output raw HTML, and we want to get rid of those anyway.
This should get rid of all named entities everywhere except messages. I
skipped a few things like   that I noticed in manual inspection,
because they weren't well-formed XML anyway.
Also, to everyone who uses non-breaking spaces when they could use a
normal space, or nothing at all, or CSS padding: I still hate you. Die.
2010-05-30 17:33:59 +00:00
Chad Horohoe
3dac39972d
Revert r66934 (Removing wfLoadExtensionMessages() from everything). I disagree on principle...we branch extensions for this very reason. But people want trunk extensions compatible for several versions back, meh.
2010-05-27 15:56:53 +00:00
Chad Horohoe
d25d7ba78d
Large commit. Removed 800+ references to no-op wfLoadExtensionMessages()
2010-05-26 22:25:32 +00:00
Siebrand Mazeland
995e55b718
Rename to remove "Special" prefix from filenames. Update Configure and Translate accordingly.
2010-04-15 19:29:55 +00:00