Commit graph

30 commits

Author SHA1 Message Date
Kunal Mehta df4b7a8fac Add extension.json, empty PHP entry point
Depends upon I9a736a4c0ff73 in MediaWiki core

Bug: T87929
Change-Id: I0ec2d98321b319b4e9e6222b867cc9958dbfe0cf
2015-05-02 23:35:33 -07:00
Kunal Mehta 56470cd3c5 Fix $wgExtensionCredits index
Change-Id: Ie05be8326820d8f3907be29e355642342555d7a5
2015-05-02 23:33:39 -07:00
Kunal Mehta d3a7ce657a Remove i18n shim
Change-Id: I311ba7bfd23810b821ad29e5c41bb3de4df83f6c
2015-05-02 23:33:27 -07:00
Kunal Mehta 4165dd5ae7 Move ParserFirstCallInit hook into static function
Change-Id: Iddaa86a53ad5977e61a0493d48173a8fdd7d3cfd
2015-05-02 23:29:25 -07:00
welterkj d9676dc4ca Add composer support.
Change-Id: I5d41737028a7337021c48a3c70efeba821d6d0c2
2014-06-24 13:56:26 -07:00
Antoine Musso cd635484c9 Introduce a basic parser tests
This change introduce parser tests support for the extension with a
single dummy test case.  That will make it easier to add more tests
later on.

Change-Id: I757f13a3799b771931de8933eb7eabeb3b4b8f8d
2014-06-03 16:00:06 +02:00
Siebrand Mazeland baf4d46b33 Migrate to JSON i18n
Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.

Change-Id: Ibfc3f37d9ea5b8e30e5be4310db1c244d6934951
2014-03-28 08:23:39 +01:00
kghbln 527f092a26 Added or improved file documentation
* the general file documentation was added, expanded or fixed
* added check for the initialisation of the extension

Change-Id: I04a9a22f81ca3df72d7561faae32f8792dea65e8
2013-11-26 20:40:28 +01:00
Siebrand Mazeland f2601b987c Maintenance for ImageMap extension.
* Replace deprecated methods.
* Consistency fixes for error messages and update doc.
* Use __DIR__ instead of dirname( __FILE__ ).
* Update code formatting.
* Correct doc for ImageMap::error().

Change-Id: Ia528deaa6b13136b0379f8dbca7d3b0029f06880
2012-08-30 18:12:52 +02:00
Sam Reed 92dcd85c98 Fix unused variables
Fix trailing whitespace

Add/Improve documentation

Explicit member variable declaration
2012-01-28 17:05:20 +00:00
Brion Vibber 0dfee32f95 Update a butt-ton of extension about URLs to point to https://www.mediawiki.org/ 2011-12-13 23:49:33 +00:00
Siebrand Mazeland b3fbfde9bd * Remove $wgExtensionCredits['description'] where $wgExtensionCredits['descriptionmsg'] present. This feature was introduced in MediaWiki 1.12, and 'description' is not used if 'descriptionmsg' is present.
* Random indentation updates and trailing whitespace removed
2010-02-22 23:41:51 +00:00
Chad Horohoe fd1e4575e0 Nuking fallback code for MW < 1.12 in most extensions (there's like 5 or 6 left I haven't done). Couple of points:
* 1.11 and below aren't supported anymore, so we don't need to be maintaining back-compat code for it anymore. This is why we branch extensions
* The vast majority of these were using $wgParser. This defeats the purpose of ParserFirstCallInit...allowing you to use parsers other than $wgParser. All these extensions now work in any instance of the Parser, not just $wgParser
2009-09-04 22:22:12 +00:00
Tim Starling c526223fad Patches for bugs 20490 and 20491 by Juliano F. Ravasi (improper use of the ParserFirstCallInit hook). If we want to drop support for 1.11, that can be done in a subsequent commit. 2009-09-04 01:05:04 +00:00
Shinjiman c8983489ae Follows up r49890, adding file location itself to obtaining the revision number shown in the Special:Version 2009-04-27 03:53:32 +00:00
Chad Horohoe 58af8af3c3 Big commit. Removing svn-version and svn-date from extensions. Per the list, these versions do not give valuable information and are often wildly inaccurate. 2009-03-26 17:39:49 +00:00
Brion Vibber 0a5773e396 Update a bunch of extensions to avoid unstubbing $wgParser early for setHook() on current MW versions. 2008-06-06 20:38:04 +00:00
Tim Starling cc2737c87c Don't call preg_replace ~80 times per request. Leave the heavy lifting to Special:Version, using the new svn-revision member of $wgExtensionCredits. 2008-05-06 11:59:58 +00:00
Siebrand Mazeland c3c84f6a12 * add svn:keywords 'LastChangedDate'
* replace text 'version' in ExtensionCredits with version based on 'LastChangedDate' for automatic version updating
2008-02-27 14:13:10 +00:00
Raimond Spekking e9b010416a Add 'descriptionmsg' for Special:Version 2008-02-08 08:00:31 +00:00
Siebrand Mazeland 51fe46fae7 * use wfLoadExtensionMessages for ImageMap
* Delay message loading
* add version in extension credits
* update Translate extension
2008-01-11 08:41:57 +00:00
Siebrand Mazeland ed1d88a68f revert r28340, r28343 to r28349, r28351, r28364 2007-12-16 18:38:50 +00:00
Siebrand Mazeland fcdb2c1f25 * complete $wgExtensionCredits
* remove trailing whitespace
2007-12-10 19:11:40 +00:00
Siebrand Mazeland 18173e672f * complete $wgExtensionCredits
* remove trailing whitespace
2007-12-10 12:54:49 +00:00
Aryeh Gregor 8e63292a31 Extensions too! 2007-06-29 01:36:09 +00:00
Tim Starling 629b3a6b0b Removed $wgImageMapAllowExternalLinks, feature enabled unconditionally. Not sure why you wouldn't want that. 2007-06-23 11:01:10 +00:00
Raimond Spekking b14e121c4e * Changing $wgImageMapAllowExternLink -> $wgImageMapAllowExternalLinks
per hint of Rob Church at wikitech-l
* ooops, not every ImageMap use external links...
2007-04-19 06:00:19 +00:00
Raimond Spekking eaa7c09110 * (bug 8746) Support for external links
$wgImageMapAllowExternLink = false per default -> no risk for WMF live sites
2007-04-18 09:14:41 +00:00
Ivan Lanin 83b060dde0 Add descriptions and urls (if available) for 4 extensions used in Wikipedia:
* ConfirmEdit
* EasyTimeline
* ImageMap
* OAIRepository
2007-01-11 05:36:48 +00:00
Tim Starling b60e7d8680 HTML image map extension. Not quite complete, but usable as it is. 2006-11-01 06:34:42 +00:00