Commit graph

15 commits

Author SHA1 Message Date
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 &nbsp 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
Renamed from SpecialEditcount_body.php (Browse further)