Commit graph

42 commits

Author SHA1 Message Date
Tobias 22d58ec055 Patch by ireas for bug 20218: adding title attribute for toolbox link, making code nicer using MediaWiki classes 2009-09-23 19:55:45 +00:00
Siebrand Mazeland edcf2ab079 * 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 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
Siebrand Mazeland 029b4e6028 (bug 16182) Use SkinTemplateToolBoxEnd instead of MonoBookTemplateToolboxEnd in Cite. Renamed parameter for consistency. 2008-10-30 16:12:17 +00:00
Raimond Spekking 6027c2e31c * Add special page aliases file 2008-07-09 15:09:55 +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
Aaron Schulz 49005f3173 * Rm extfunctions use
* Enlarge box
2008-05-01 12:48:22 +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
Aryeh Gregor 8135a0af7b Delay message loading for Special:Cite 2008-01-10 20:27:47 +00:00
Siebrand Mazeland 4fc2cbdebc * use wfLoadExtensionMessages for SpecialCite
* add version in extension credits
* update Translate extension
2008-01-09 20:52:38 +00:00
Siebrand Mazeland 429fcd9c80 revert r28340, r28343 to r28349, r28351, r28364 2007-12-16 18:38:50 +00:00
Siebrand Mazeland f63b98dfbd * complete $wgExtensionCredits
* remove trailing whitespace
2007-12-10 19:11:40 +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
Daniel Cannon e2b0718a2c Rather than checking if the page is in the main namespace, check whether it's a content page (if it's in a content namespace) when determining whether or not to display a "Cite this article" link in the toolbox. 2007-06-21 23:03:36 +00:00
Brion Vibber ba49232be3 Revert r21745, r21744, as they don't work properly.
Seems to be taking the raw 'oldid' URL parameter, which is not necessarily the revision ID number being viewed. For instance when paging through versions, the 'oldid' parameter may reference the starting point for a directional page (with 'dir=prev' or 'dir=next' parameter). Also missing the revision number for current-revision views, losing the permalink ability. This should be using the revision number actually being viewed, which should already be known at the output/skin level for permalink etc.
2007-05-01 17:40:30 +00:00
Nick Jenkins c3df856a82 Cast oldid to int to save people injecting random crap into the
oldid parameter (it was HTML escaped, but it could be used to make tidy
whinge about "escaping malformed URI reference"). Also there doesn't seem
to be a need to pass the integer parameters by reference, so remove that.
2007-05-01 09:10:55 +00:00
Nick Jenkins 1a486d5295 Bug 9751: "Cite this page" always returns a citation for the current revision of the page, not the revision that the user was looking at. 2007-05-01 08:38:31 +00:00
Raimond Spekking 64c75ba669 * Adding German template for SpecialCite.php
* Update URL of meta page
* Some minor German updates
2007-02-13 15:19:29 +00:00
Nick Jenkins fa8ef0e38c As per r19835, but for a few extensions (prevent some unnecessary lstat
system calls, generated by include or require directives).
2007-02-09 05:55:23 +00:00
Antoine Musso 4f239aab79 Use Doxygen @addtogroup instead of phpdoc @package && @subpackage
This is like r19502 but for extensions.
2007-01-20 15:10:35 +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
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 4644bf34c2 * SiteMatrix Internationalisation (en + he)
* Fixing spelling errors
2006-07-15 15:17:32 +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 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