Commit graph

3813 commits

Author SHA1 Message Date
Rotem Liss 57ae9ae154 (bug 7328) Russian translation for Cite 2006-09-15 14:04:37 +00:00
Rotem Liss 780ff22f4b (bug 7296) i18n for Cite, SpecialCite, ConfirmEdit, DynamicPageList2, Filepath extensions (zho series,yue) 2006-09-12 12:31:00 +00:00
Rotem Liss d9b2f958f7 Several EOL fixes. 2006-08-28 13:27:59 +00:00
Ævar Arnfjörð Bjarmason ebd508c388 * Tim wrecked havoc to my odd name in r15145, *accusations of terrorism* 2006-08-28 01:08:30 +00:00
Rotem Liss dded9a7bcb (bug 7034) [PATCH] Dutch strings for Cite.i18n.php 2006-08-18 09:16:26 +00:00
Jens Frank 2227f787e2 (bug 7000) updated Polish messages 2006-08-13 17:42:19 +00:00
Rotem Liss 42fa6c006d Moved all the extension messages from Walloon (wa) localisation to the extensions themselves (except for Makebot). 2006-08-10 18:22:31 +00:00
Tim Starling 7414029244 Support the new parser entry point 2006-08-06 15:46:00 +00:00
Jimmy Collins 4c3423b10f (bug 6674) Dutch cite_text-nl (nl) 2006-07-30 06:39:24 +00:00
Jimmy Collins 428dd3a36d (bug 6824) French localisation for Cite extension 2006-07-26 19:37:12 +00:00
Brion Vibber 16a26dbd16 Revert 15644; extensions need to remain self-contained 2006-07-16 21:43:23 +00:00
Rotem Liss b3a6f399c7 Using the extAddMessages function for all the internationalised extensions. 2006-07-15 18:06:26 +00:00
Rotem Liss 7b90e823f0 (bug 6694) Indonesian (id) translations for BoardVote, CheckUser, Cite, ConfirmEdit, and SiteMatrix extensions 2006-07-15 16:23:14 +00:00
Rotem Liss 4644bf34c2 * SiteMatrix Internationalisation (en + he)
* Fixing spelling errors
2006-07-15 15:17:32 +00:00
Rotem Liss 9eb9382a6f Cite Internationalisation (en + he) 2006-07-15 14:00:29 +00:00
Rotem Liss c2a446fcdb * Internationalisation for Special:Filepath.
* Using "internationalisation" instead of "internationalization", for Rob Church.
2006-07-13 18:43:07 +00:00
Rotem Liss ed7a63a671 * (bug 6666) Adding nl localisation for Cite
* (bug 6667) Adding nl localisation for Makesysop
* (bug 6669) Adding nl localisation for Newuserlog
* Fixing notice in Special:Cite.
2006-07-13 17:18:50 +00:00
Brion Vibber 9b81afd41d Add parser test for bug 6299 2006-07-10 17:59:37 +00:00
Brion Vibber 34ce1052bc Fix tests for a parser fix with <ol> 2006-07-10 17:56:51 +00:00
Jimmy Collins 2fd483bddb German (de) localisation for extension Cite 2006-07-03 20:08:36 +00:00
Rotem Liss 27c69dc2e4 SpecialCite: internationalization, removing trailing whitespaces from messages, removing use of file contents in the system message itself (instead, getting the file contents if the message is blank). 2006-07-03 13:11:35 +00:00
Tim Starling 1971fcf123 Defer preg_split 2006-07-02 14:19:45 +00:00
Tim Starling 8145ded3a9 Converted a lot of extensions to the new autoload scheme. Moved a number of extensions to their own directory, apologies for the break in backwards compatibility.
This was done because they needed to be split from one file to two, for efficiency, and it makes sense to have two files in their own directory. It probably makes sense to have each extension in its own directory anyway. 
Tested both the inefficient backwards compatible interface and the present interface. Still more to be converted...
2006-06-29 08:07:00 +00:00
Brion Vibber d3aa609189 Add regression test for bug 6164 2006-06-01 21:11:29 +00:00
Brion Vibber dd15a590bb A few test cases for <ref> behavior 2006-06-01 05:58:52 +00:00
Brion Vibber 4b0ea8fa17 Normalize input names to something that is probably legal XHTML identifiers,
as is done with section anchors. This is hideous and ugly and evil, and I
do apologize, but it's the best we can do within XHTML's evilness.
This also corrects the breakage if you use really weird things like
< and > in your names, which would break the wikitext. It might be superior
to reject some such values entirely.
2006-05-26 11:54:38 +00:00
Antoine Musso 920f27f838 Fix #5525: when a source is cited more then 9 times the numbers are shown wrong 2006-05-02 17:02:23 +00:00
Ævar Arnfjörð Bjarmason d33d6671ef * Added trailing ?> to end of file 2006-04-23 18:37:49 +00:00
Tim Starling 4b43c3c155 Avoid infinite recursion on e.g. <ref><references/></ref> 2006-04-16 06:22:42 +00:00
Tim Starling 59076cad46 Removing reference to $wgTitle again. It was making runJobs.php crash. 2006-04-10 13:49:46 +00:00
Brion Vibber eb3a3f7836 Live fix: debugging, trim mysterious extra whitespace 2006-04-02 03:43:47 +00:00
Tim Starling 085b02f0bc Removed $wgTitle references from parser extensions. JobQueue.php may parse articles without setting $wgTitle. 2006-02-28 05:05:07 +00:00
Ævar Arnfjörð Bjarmason 12eb4de999 * (bug 4959) Call $this->outputHeader() so that the standard mechanism for
adding notices at the top of special pages will work with this extension.
2006-02-26 20:45:30 +00:00
Ævar Arnfjörð Bjarmason 8543e91ae8 * Using a real up arrow (���; U+2191) instead of ^ in
msg:cite_references_link_one and msg:cite_references_link_many, we already
  use ��� (U+2190) and ��� (U+2192) in the main distribution so this shouldn't
  cause any issues where this arrow doesn't exist in $popular_os_xyz
2006-02-25 23:36:18 +00:00
Ævar Arnfjörð Bjarmason 079cc7fc8d * For input like:
Text<ref>Foo</ref> <ref name=one>Bar</ref> <ref name=two>Zar</ref> <ref
  name=two/>
  format the "one" reference as if it were an anonymous reference, this is wise
  because users frequnetly use named references for no practical reason and
  displaying the list of backlinks intended for >1 items with only 1 item looks
  ugly
2006-02-23 21:24:57 +00:00
Brion Vibber cec395d0e5 * (bug 5042) Use the calling parser, so links and templates are recorded in the parent page properly.
Previous bug with markers for other extensions seems fixed.
2006-02-21 19:56:09 +00:00
Brion Vibber 1f74641725 Revert to 1.13, fixes bug which caused first item to fail to render. 2006-01-27 10:14:45 +00:00
Ævar Arnfjörð Bjarmason f545977962 * Optimizing: Only make the parser and backlink labels when we need to
* sprintf( '%d', $key ) === (string)$key ==> ctype_digit( $key )
* die() => die( -1 )
* Moved the message cache initialization into the class
2006-01-23 14:55:26 +00:00
Ævar Arnfjörð Bjarmason a3e03402ef * (bug 4579) changing the default _ref and _note id's so that they can be
styled with CSS2 attribute selectors
* Documentation
2006-01-12 15:14:46 +00:00
Ævar Arnfjörð Bjarmason d5eaf3c294 * <li><cite id=..> => <li id=..> in 'cite_references_link_one' and
'cite_references_link_', only direct references should be wrapped in <cite>
  and since that probably won't apply to everything users put here I'm removing
  it
* Documentation, marked functions as static where applicable
* Using ~ as a regexp delimiter instead of #, ��var like better..
* Killed PersistentObject
2006-01-07 09:24:48 +00:00
Ævar Arnfjörð Bjarmason 800e782118 * Given input like:
The quick<ref name=agility>NASA</ref> brown fox jumped<ref name=agility/> over the lazy<ref>Discovery channel</ref> dog
  generate:
    "The quick[1] brown fox jumped[1] over the lazy[2] dog."
  inline and:
    1. 1.1 1.2 NASA <!-- 1.1 & 1.2 are links -->
    2. Discovery channel
  in the references section, as opposed to:
    The quick[1] brown fox jumped[2] over the lazy[3] dog.
  inline and:
    1. 1 2 NASA <!-- 1 & 2 are links -->
    2. Discovery channel
  like before
2005-12-29 21:56:00 +00:00
Ævar Arnfjörð Bjarmason 6d641db334 * Updated the link to the online documentation on meta 2005-12-25 19:40:11 +00:00
Ævar Arnfjörð Bjarmason 960b7846bb * Updated documentation
* Updated the link to the online documentation, now on meta
2005-12-25 19:39:22 +00:00
Ævar Arnfjörð Bjarmason 6a5fe406eb * Removed a call to wfDebugLog() 2005-12-25 01:47:29 +00:00
Ævar Arnfjörð Bjarmason b50e5ca190 * Passing false to Parser::parse() to not make it clear its state, this along
with the hook in Parser::clearState() makes sure the state of the Object is
  kept in sync with the state of the parser, i.e. works correctly for dumpHTML
2005-12-25 00:27:19 +00:00
Ævar Arnfjörð Bjarmason b271104237 * Using <ref name=str> instead of <ref str> 2005-12-24 18:03:21 +00:00
Ævar Arnfjörð Bjarmason 837fb7cd49 * Wrote error messages for the internal errors
* Hook into Parser::clearState() and clear my state when it does
2005-12-23 06:06:57 +00:00
Ævar Arnfjörð Bjarmason 26e14facce * Corrected documentation error 2005-12-23 05:28:39 +00:00
Ævar Arnfjörð Bjarmason b02933ace8 * Wrap error messages in <strong class="error"></strong> (just like <math>)
* Error message "expecting a key that matched /^[^0-9]+$/" => "expecting a non-integer key"
2005-12-23 05:06:17 +00:00
Ævar Arnfjörð Bjarmason 4c4e35e881 * $wf => $wg
* give <ref> and <references> a css class, reference and references, respectively
* Code cleanup
* Lots of documentation, every function fully documented + code comments
* Split link() into linkRef() and linkReferences()
* Split key() into refKey() and referencesKey()
2005-12-23 02:34:39 +00:00