Commit graph

37 commits

Author SHA1 Message Date
Siebrand Mazeland 72836900dd * 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
Max Semenik 655655cf75 Per Chad's suggestion on r60489 CR, updated compatibilty notice and moved in from source file to README. 2009-12-30 12:02:04 +00:00
Chad Horohoe 169e22e856 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 0355a57d41 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
Chad Horohoe 60e453d99a Update last checked version. Also, the ExtensionDistributor bundles the geshi directory, so make a note in README so people don't download it a 2nd time :) 2009-08-05 22:33:30 +00:00
Shinjiman e63f55da7d show the version information of GeSHi currently using, only show the version when Special:Version is loaded using the SpecialVersionExtensionTypes hook.
Link to r52546, r52550 and r52555 as there have some comments on CodeReview.
2009-07-01 19:34:01 +00:00
Shinjiman bb149b0887 revert r52546 and r52550 for slow loading for the class, per CodeReview. 2009-06-29 17:06:59 +00:00
Shinjiman b7179c44cf tweak for r52546, use require_once() to make the class file only load once. 2009-06-29 16:29:43 +00:00
Shinjiman 261fb2e5d4 show the version information of GeSHi currently using, only show the version when the required geshi.php was found. 2009-06-29 15:07:40 +00:00
Niklas Laxström ba99b4641f * bug (18820) Cannot parse source code containing <source>
-> Added alternative tag <syntaxhighlight>
2009-05-17 15:49:17 +00:00
X! 72521f6b30 Add optional $wgSyntaxHighlightDefaultLang parameter; allows people to set a default language that shows up if the lang parameter is missing. 2009-05-17 15:21:37 +00:00
Shinjiman 7a29a3d88e Follows up r49890, adding file location itself to obtaining the revision number shown in the Special:Version 2009-04-27 03:15:19 +00:00
Chad Horohoe dcff6847ef 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
Niklas Laxström 3fdce00db1 * (bug 15634) Add The Enclosure/Header Type "none" 2008-09-28 15:30:45 +00:00
Niklas Laxström 9bb924174a * Add highlight support: highlight=3,6-7 2008-07-10 12:45:20 +00:00
Niklas Laxström 76a0e4416e * Avoid unstubbing parser too early 2008-05-25 21:09:41 +00:00
Tim Starling 769130f449 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 cefc34361b * 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 64015190b5 Add 'descriptionmsg' for Special:Version 2008-02-06 23:37:30 +00:00
Siebrand Mazeland d31a5dc268 * use wfLoadExtensionMessages for SyntaxHighlight_GeSHi
* add version in extension credits
* update Translate extension
2008-01-11 09:05:18 +00:00
Siebrand Mazeland cdb0223ee8 revert r28371 to r28375 2007-12-16 18:27:23 +00:00
Siebrand Mazeland 5941085371 * complete $wgExtensionCredits
* remove trailing whitespace
2007-12-10 21:33:25 +00:00
Rob Church 86a708ab29 Honour 'LoadAllMessages' hook; make sure messages show up in Special:Allmessages, etc. 2007-07-21 01:26:43 +00:00
Aryeh Gregor 31d38a098d Revert r23618 per Brion. Now, to get phase3 and extensions in the same repo locally so I can commit to both at once . . . 2007-07-02 23:24:19 +00:00
Aryeh Gregor 64f6986768 Remove function that hooks into ShowRawCssJs, which no longer exists (<source> tags can be added manually, and anyway people were complaining that it caused Firefox to hang on very long JS pages) 2007-07-01 19:58:44 +00:00
Rob Church 27ffb0306c Update for r23553, r23554 2007-06-29 13:57:08 +00:00
Rob Church 168e3760e9 * Massive refactor; move a lot of code out of the global function namespace and clean several bits up, including broken use of $wgUser inside parser hook
* Take advantage of the new "ShowRawCssJs" hook and format CSS and JavaScript when viewing those pages
2007-06-29 04:33:14 +00:00
Aryeh Gregor 449f00d6ee Extensions too! 2007-06-29 01:36:09 +00:00
Rob Church 1489ee5a8d Spelling mistake, a hundred lines for the offending developer:
"I must learn to spell 'highlighter'"
2007-06-05 18:30:24 +00:00
Brion Vibber b9278d543a Stick to lowercase message names -- 'geshi.css' rather than 'GeSHi.css' which nobody will get the caps right on 2007-05-21 19:46:25 +00:00
Brion Vibber 51da58b787 please don't fuck over every other extension by canceling their message-add hooks for them 2007-05-21 19:36:17 +00:00
Antoine Musso 716baa3681 Implements #9951 : enable [[MediaWiki:GeSHi.css]]. 2007-05-18 21:29:08 +00:00
Yuri Astrakhan 4a50cf071b Bug 9955: disabled linking keywords to external web sites 2007-05-18 19:39:39 +00:00
Raimond Spekking d37b330ec4 Adding URL to ExtensionCredits 2007-05-15 12:15:34 +00:00
Tim Starling cdbbe459de Support for div mode. Use div mode unconditionally for line-numbered output, for XHTML-compliance. 2007-04-05 18:10:33 +00:00
Ivan Lanin ce5e258e78 * Change function name on i18n file for SyntaxHighlight extension to compy with maintenance/language/checkExtensioni18n.php
* Update i18n.db for SyntaxHighlight
2007-04-04 03:55:01 +00:00
Tim Starling 01e73b1b19 Renaming 2007-04-03 22:44:40 +00:00
Renamed from SyntaxHighlight.php (Browse further)