Commit graph

90 commits

Author SHA1 Message Date
Max Semenik 2c2c5b522e Follow-up r102160: disable popups by default 2012-02-07 07:04:21 +00:00
Brion Vibber 3351f7c540 Update a butt-ton of extension about URLs to point to https://www.mediawiki.org/ 2011-12-13 23:49:33 +00:00
Sam Reed 00750eb2a1 Documentation 2011-12-02 17:00:19 +00:00
Sam Reed 3f200aad13 Followup r102160
Also, bad werdna
2011-11-06 12:25:34 +00:00
Max Semenik 7e1bad9bec Merging ReferenceTooltips into Cite step 2: rename/register 2011-11-06 08:02:39 +00:00
Platonides 9fc91b9899 Remove Cite singleton. Store it inside each associated parser at $parser->extCite
This fixes bug 20748 and bug 15819 without breaking the other tests. Reverts r88971.
The conflict with CategoryTree was the old problem of a message being called inside 
of a parser callback, this time with clearState for which the hook is global.
2011-05-31 17:49:22 +00:00
Sam Reed c48d4b674b Documentation 2011-05-28 20:44:24 +00:00
Platonides 286a80efc1 Make Cite properly register to any parser instead of just $wgParser.
Makes CiteParserTests work with r82867 code.
2011-02-26 22:39:53 +00:00
Siebrand Mazeland 68f070657e Removed most checks for MW_SUPPORTS_PARSERFIRSTCALLINIT introduced in MediaWiki 1.12.0 (released 2008-03-20). 2010-08-05 18:08:03 +00:00
Alexandre Emsenhuber a015b8f170 Big changes to extensions' documentation:
* changed all @addtogroup to @ingroup
* added some @file where needed
* changed some @package/@subpackage to @ingroup
2010-06-06 15:12:22 +00:00
Siebrand Mazeland 3c6f7de8f3 Update description message key and update Translate accordingly. 2010-04-18 17:05:37 +00:00
Sam Reed e532ce62cc Stylize on some used extensions etc 2010-04-17 21:07:37 +00:00
Siebrand Mazeland 8a460c693b * 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
Ævar Arnfjörð Bjarmason a19ef239f5 * Updated link to documentation, now at mediawiki.org not meta
* Removed links to HTML <cite> element, confusing
2009-07-10 13:51:26 +00:00
Shinjiman 9f510a9bc2 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 8616d047e5 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 43a4822175 Improve Cite references caching by making it dependent on a config setting, which defaults to off.
This way, we can still use it as emergency optimisation if the need arises.
2009-02-12 18:02:27 +00:00
Andrew Garrett e08e8e3248 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 b5f50008cb Follow up on r43982. Reduce dirname(__FILE__) calls in core and extensions. 2008-11-26 23:17:15 +00:00
Danny B. e1d0b185fc * adding to proper group on Special:SpecialPages 2008-07-12 01:15:55 +00:00
Brion Vibber 933caf85db Update a bunch of extensions to avoid unstubbing $wgParser early for setHook() on current MW versions. 2008-06-06 20:38:04 +00:00
Brion Vibber 2c6ece7e58 Revert r34398 for now; near-duplicate of existing tag seems a bit odd to me 2008-05-07 21:05:21 +00:00
Steve Sanbeg dafe593dc1 add parallel note/footnotes tags for alphabetic footnotes, which incidently allow 1 level of nesting 2008-05-07 20:57:36 +00:00
Tim Starling efbfbd44a4 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
Tim Starling 876ebf56e5 Support #tag properly, allow <references></references> 2008-04-10 09:37:17 +00:00
Brion Vibber 3705fad742 Revert part of r32492 -- don't spew errors for <references/> when no <ref>s are defined for that group.
The <ref>s may be quite legitimately removed over time, or a <references/> may be added before it's needed.
For back-compat and general pleasantness, just stay blank.
2008-04-09 01:22:24 +00:00
Raimond Spekking e1a1da382d * Fix a PHP notice when <references group="foo" /> is used but "foo" is not defined by any <ref>. New message 'cite_error_references_invalid_group'
* Add new message 'cite_error_references_invalid_parameters_group' to clarify error message when $wgAllowCiteGroups=true (default)
* Rephrase 'cite_error_references_no_backlink_label' a bit to make it clearer that 'cite_references_link_many_format_backlink_labels' is a MediaWiki message
2008-03-27 10:09:36 +00:00
Steve Sanbeg 50e0b396d3 emergency fix, named refs are throwing off numbering for subsequent anon refs 2008-03-21 22:31:55 +00:00
Steve Sanbeg 448a99da51 add group option, initialize structures when we start group, clear them when finished 2008-03-21 15:25:26 +00:00
Brion Vibber 58f061fadf Revert r32256 -- lots of notice errors about undefined index & such seen while running tests 2008-03-21 00:19:18 +00:00
Steve Sanbeg b9db9c27e4 add "group" parameter to allow multiple reference/footnote groups 2008-03-20 21:26:54 +00:00
Ævar Arnfjörð Bjarmason e1dc391792 typo: Languague => Language 2008-03-01 02:12:15 +00:00
Siebrand Mazeland 19fc5ed90a * 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 cb81218070 * (bug 10365) Localization of Special:Version
Extension descriptions can be localized by adding the new keyword 'descriptionmsg' to $wgExtensionCredits with a message name.
See the Cite extension as example. Patches for other extensions will follow in the next days.
2008-01-31 14:38:12 +00:00
Brion Vibber eebfc51c57 Apply live hack from Wikimedia code base: more profiling points in Cite.php 2008-01-29 01:48:21 +00:00
Aryeh Gregor cbf94c2eda Fix it for real now, no pretending. 2008-01-10 20:09:12 +00:00
Aryeh Gregor c85f250dd1 Fix Cite so it only loads messages when necessary 2008-01-10 20:02:19 +00:00
Aryeh Gregor a03e2a48d5 Improve clarity of error message when no text is given for a reference. 2008-01-04 13:58:40 +00:00
Brion Vibber 57a761acb5 Fix regression -- don't forbid all names which contain integers, but rather those which are them.
Note that that's still a bad check probably; the ID issue is that a digit isn't a valid first char.
2007-12-27 22:18:40 +00:00
Aryeh Gregor b3b7be4e85 Changed messages to be a more standard format, to help localization with BetaWiki et al., at request of siebrand. Thanks to help from siebrand. All Cite parser tests pass. 2007-12-16 20:18:33 +00:00
Aryeh Gregor 7e700530b8 Reduce nesting and code duplication in guardedRef; add comments. This is preparatory to possibly adding new attributes, like group or HTML attributes. Also, add a new parser test to verify failure on errors, improve should-never-occur messages slightly. 2007-12-16 18:49:10 +00:00
Siebrand Mazeland 0ffcab3539 revert r28306, r28308, r28309, r28312 2007-12-16 18:45:23 +00:00
Siebrand Mazeland 86a1bf9801 * complete $wgExtensionCredits
* remove trailing whitespace
2007-12-09 12:56:07 +00:00
Rob Church e2d2219bdf Spacing 2007-10-02 22:43:28 +00:00
Thomas Dalton 69f694f947 Correcting r26045, references with no text which are used multiple times should still link back to each use, rather than just the last one. 2007-10-02 21:54:43 +00:00
Aryeh Gregor 19d69a96f7 (bug 11426) Give error if no text is supplied for a reference. Patch by Thomas Dalton. All parser tests passed. 2007-09-23 23:38:12 +00:00
Raimond Spekking 0e7d961a52 Error messages should be shown in the user preferred language, not the site content language. 2007-08-07 06:32:20 +00:00
Raimond Spekking 3dbf8d7891 * Add Finish translation
by Jack Phoenix
* Update Cite extension credit URLs
2007-07-04 17:53:24 +00:00
Aryeh Gregor bb3946f589 Extensions too! 2007-06-29 01:36:09 +00:00
Brion Vibber 775ddb2f1c * (bug 9807) Don't return invalid empty HTML list from <references/> if no <ref>s present 2007-05-08 21:20:48 +00:00