Commit graph

64 commits

Author SHA1 Message Date
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 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
Æ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 6d641db334 * Updated the link to the online documentation on meta 2005-12-25 19:40:11 +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 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 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