Commit graph

16 commits

Author SHA1 Message Date
Æ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
Ævar Arnfjörð Bjarmason ecb285c761 * Use my own $wgParser, $wgOut's had problems with inclusions from templates (they don't work properly though due to parsing order)
* " $and " => $and, avoids space buildup
* Workaround Tidy output with some regular expressions
2005-12-23 00:43:23 +00:00
Ævar Arnfjörð Bjarmason 65aeecf612 * Renamed the class from Cite to SpecialCite so it won't clash with the new Cite.php 2005-12-21 03:39:33 +00:00
Ævar Arnfjörð Bjarmason b714bf0996 * Extension that adds <ref> and <references/> tags 2005-12-21 01:08:25 +00:00
Ævar Arnfjörð Bjarmason f3242ae380 * Support id= for citing a revisison with a given id
* link to title=Special:Cite&page=foo&id=bar in the sidebar rather than Special:Cite/Foo
* Don't gray out the cite link on revision browsing, allows for citing an old revision
* Follow redirects
* Inserting things into the message cache based on the user language is probably going to cause problems
2005-11-28 03:05:00 +00:00
Antoine Musso e81423104e Translation support using files 'cite_text-<languagecode>' 2005-11-27 15:20:43 +00:00
Antoine Musso 227917fdf4 Fix call time by reference issues 2005-11-27 15:03:56 +00:00
Ævar Arnfjörð Bjarmason b0579cedbf * Put the default cite_text in another file and file_get_contents() it 2005-11-27 13:03:05 +00:00
Ævar Arnfjörð Bjarmason d91a7f71a9 * 2005-11-27 05:35:00 version of enwiki MediaWiki:Cite_text 2005-11-27 13:02:10 +00:00
Ævar Arnfjörð Bjarmason 31b0865dd5 * Updated to use the new revid system in the parser 2005-11-27 08:16:59 +00:00
Ævar Arnfjörð Bjarmason 2e67b02cc7 * <cite> => <citation>, <cite> already exists in HTML and is an allowed tag
and therefore conflicts with it.
2005-11-27 04:10:02 +00:00
Ævar Arnfjörð Bjarmason 2c65847227 * Disable tidy while rendering Special:Cite to avoid whitespace problems
* Use new hook registering syntax
* Only display the cite link in the sidebar in the main namespace
* Page => Article since it's only being shown in the main namespace
2005-11-27 02:55:12 +00:00
Ævar Arnfjörð Bjarmason 0bd4d4c8ca * Use wfMsgForContentNoTrans() rather than my own function 2005-11-27 00:02:21 +00:00
Ævar Arnfjörð Bjarmason fcbbd70a55 * A special page extension that adds a special page that generates citations
for pages.
2005-11-26 23:22:24 +00:00