Commit graph

71 commits

Author SHA1 Message Date
Chad Horohoe 1db4e16297 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
Siebrand Mazeland cd5deee70b * Babel, CategoryTree, MagicNoNumberedHeadings, RegexFunctions and SmoothGallery: new style magic words
* MagicNoNumberedHeadings: add extension description in i18n file, reindent
* bump versions where applicable
2009-08-14 11:25:54 +00:00
Siebrand Mazeland f30fa2030e * Rename "<ExtName>.i18n.alias.php" to "<ExtName>.alias.php"
* Add support for ConfirmEdit and Mibbit special page localisation to Translate
2009-05-24 22:12:11 +00:00
Shinjiman 0e556756e2 * (bug 18242) Show the Subversion revision number per extensions in Special:Version (currently applied on some extensions to get the entries file) 2009-04-26 05:22:33 +00:00
Chad Horohoe 4ff8be6829 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
Andrew Garrett 47d75cfb22 Bump style version 2009-03-09 11:54:39 +00:00
Daniel Kinzler 85519eadd0 fix squid caching: use $wgSquidMaxage instead of $wgSquidMaxAge 2009-02-04 11:20:39 +00:00
Andrew Garrett 41afc38c73 Revert "Follow up on r43982. Reduce dirname(__FILE__) calls in core and extensions."
Uses $dir in extension files, and assumes that it remains unchanged in require_once( 'maintenance/commandLine.inc' ).
In fact, it is likely that '$dir' will be set when setting up command-line, as some extensions will use the same var.

Recommended fix: Use $CentralAuth_dir, $EmailPage_dir, etc.
2008-11-30 03:15:22 +00:00
Siebrand Mazeland 793882aeb4 Follow up on r43982. Reduce dirname(__FILE__) calls in core and extensions. 2008-11-26 23:17:15 +00:00
Brion Vibber ed0590ed5e Tweak to r43493 -- trim whitespace on the inside right side of the quote as well as the left (was incorrectly re-stripping outside the quote, where we already stripped whitespace) 2008-11-14 23:40:36 +00:00
Raimond Spekking 06ebf14220 Bump version number for changed CSS per r43492. 2008-11-14 16:41:30 +00:00
Daniel Kinzler d6ed2562e0 strip quotes from parameter values given io parameter function. quotes become optional, like with tags 2008-11-14 13:03:03 +00:00
Alexandre Emsenhuber 6a91ac58e5 PHP 5.3.0alpha1 compatibility (same issue as r38995: E_WARNING: argument 2 cannot be passed by reference, value given) 2008-08-09 14:33:16 +00:00
Daniel Kinzler 63e2567287 adding option for expandable category-bar. not fully functional until skin refactoring is merged in. Just dont use $wgCategoryTreeHijackPageCategories until then. 2008-07-11 23:18:41 +00:00
Daniel Kinzler 20c74ecc5e support special page aliases 2008-07-04 22:58:28 +00:00
Rotem Liss 200485740b Removing 'font-weight: bold' for the subcategories: Seems weird in category pages, as any subcategory is bold, and doesn't help much when only subcategories are shown. Even when both subcategories and articles are shown in Special:CategoryTree, the subcategories are already distinct because of the + sign. 2008-07-04 14:21:12 +00:00
Daniel Kinzler 76e22d15df added EXPERIMENTAL option to hijack category links and make them expandable (inverse) category trees. 2008-07-02 21:16:55 +00:00
Daniel Kinzler bbdba735c6 optionally show category tree in the sidebar (requires skin update from r36917) 2008-07-02 15:13:45 +00:00
Daniel Kinzler 40f8a88138 added noparse flag to parserfunction output, as requested by bug 13028 2008-07-02 09:58:18 +00:00
Daniel Kinzler e366e21edd added inverse mode to navigate parent categories 2008-07-02 09:49:28 +00:00
Daniel Kinzler bd7a5de2bf added to force inclusion of ct scripts on all pages 2008-07-02 08:49:13 +00:00
Daniel Kinzler f1ae48340e introduced configurable namespace filtering (and fixed some glitches) 2008-07-01 21:40:42 +00:00
Daniel Kinzler 30739f8a50 support common tag attributes 2008-06-30 21:35:01 +00:00
Daniel Kinzler d7958d00cf smarter modes for hideprefix option. namespace is now hidden for subcategories per default 2008-06-30 21:22:03 +00:00
Daniel Kinzler 595c3cfaef Show member counts in category tree. Requires r36814 of Category.php and CategoryPage.php. 2008-06-30 14:09:47 +00:00
Daniel Kinzler dbfd3e4833 Restructuring and revamping; more messages, more options, better config, more flexible ajax interface. Should be fully backwards compatible. It will hopefully even work for people with old JS code cached. 2008-06-28 20:13:20 +00:00
Danny B. eb65656ba2 * correcting my last commit (copypasting is evil :-/) 2008-06-25 14:48:56 +00:00
Danny B. dba4199551 * adding to proper group on Special:SpecialPages 2008-06-25 14:45:50 +00:00
Tim Starling 5c2a6236a4 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
Raimond Spekking 56bd285d84 * Add a nice fieldset around the input form
* Use proper XML function
2008-03-18 17:38:32 +00:00
Niklas Laxström de7401f502 * Some performance and validity tweaks 2008-03-02 13:37:26 +00:00
Daniel Kinzler f0e96d91c3 versioning (test for svn:keywords) 2008-02-27 10:37:52 +00:00
Siebrand Mazeland 18ba9f7daa * CategoryTree uses wfLoadExtensionMessages now
* add descriptionmsg and version in extension credits where missing
* update Translate
2008-02-04 10:25:48 +00:00
Siebrand Mazeland bce152a958 Whitespace fixes 2008-02-04 09:22:12 +00:00
Bertrand Grondin 6bddbad132 Add internationalization extension description message in [[Special:Version]] 2008-02-03 17:57:14 +00:00
Tim Starling d9c4d11b84 Use isHTML, noargs/noparse don't exist in the new parser. Can't reproduce the whitespace problem mentioned in the comment, and there are other ways to deal with them anyway. 2008-01-25 10:44:05 +00:00
Siebrand Mazeland d7c3a1eb4e revert r28306, r28308, r28309, r28312 2007-12-16 18:45:23 +00:00
Siebrand Mazeland bcc9ee49dc * complete $wgExtensionCredits
* remove trailing whitespace
2007-12-09 12:56:07 +00:00
Brion Vibber 5ec542b685 Revert r27175: always initialise globals; prevent register_globals exploits. 2007-11-14 17:23:26 +00:00
Jens Frank 047f6c892f Don't initialise wgCategoryTreeDefaultMode and wgCategoryTreeCategoryPageMode if they are already set.
Needed for http://bugzilla.wikimedia.org/show_bug.cgi?id=11776
2007-11-04 17:51:28 +00:00
Daniel Kinzler 5f5e788fe6 support parser-function syntax 2007-09-13 10:23:45 +00:00
Brion Vibber d0b1db56b4 * (bug 11015) Handle HTTP errors for CategoryTree ajax request more gracefully. Instead of dumping the entire error page's HTML inline, display a nice clean bit of text with a functional retry link.
* Added $wgCategoryTreeVersion variable to bump JS and CSS URLs on update
2007-08-25 15:23:20 +00:00
Aryeh Gregor 255dd4eb74 Extensions too! 2007-06-29 01:36:09 +00:00
Nick Jenkins 9a927e234e Minor tweak to prevent E_STRICT mode warning -
Undefined index:  depth in extensions/CategoryTree/CategoryTree.php on line 194
(only happens because this error reporting mode disregards the @ error control operator)
2007-05-02 01:56:43 +00:00
Daniel Kinzler 5edb13009e introducing and options 2007-04-30 21:18:56 +00:00
Daniel Kinzler b6b7bae7a6 Bug 9509, patch by IvanLanin: added to support installation in a non-standard place 2007-04-06 10:30:43 +00:00
Daniel Kinzler 14620fc4af added several comments for incomplete support for depth parameter in ajax mode (follow-up for changes to CategoryTree.php that accidentally slipped into the previous commit) 2007-03-30 13:43:37 +00:00
Daniel Kinzler ad82c9e7d7 removing empty spans for w3c conformity, as suggested by Miki11 2007-03-30 13:28:59 +00:00
Steve Sanbeg 93882a1cc4 Add depth argument to allow auto-expanding tree (to small, configurable limit) 2007-03-13 22:24:38 +00:00
Daniel Kinzler 06647afe4a introducing onlyroot option (and removing obsolete email address) 2007-03-13 11:39:12 +00:00