Siebrand Mazeland
5973b719f1
Migrate to JSON i18n
...
Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.
Change-Id: I186d9dde70e75ecd552d36310be44263081a6585
2014-03-26 10:06:27 +01:00
Marius Hoch
847a09be11
Refactor Cite extension JavaScript and make it pass Jshint
...
Moved the scripts and the CSS into the modules folder directly
(like almost all other extensions do), added a .jshintrc to not have
jenkins shout at this change and minor stuff.
After this change Cite will no longer work with anything older than
PHP 5.3!
Change-Id: I1c87af794f2a9894fb0d82a5bd97bd2182f028e1
2013-08-25 22:23:15 +02:00
Siebrand Mazeland
52ca5a1a5a
Maintenance for Cite extension.
...
* Update deprecated calls.
* Remove superfluous newlines.
* Add @todo where uncertain.
Change-Id: Ifc79b199fa551c23fafa190664688c8320059338
2012-08-30 10:41:27 +02:00
Alexandre Emsenhuber
a9e29e17ec
Follow-up I47412b67: pass an array of query parameters to Linker::link()
...
Spotted by the notice throw by that change when Linker::link() gets a
string for query parameters.
Change-Id: I9100e62ebc49cce3611680bce4e9564b823922a3
2012-08-07 22:16:48 +02:00
raymond
bbfb7731ce
Make Special:Cite translatable
...
* Plain text files deleted, content moved to SpecialCite.i18n.php
* Code for c/b still in place
* CSS classes added and styling moved to a new CSS file for the RL
Shortly discussed with Siebrand on mediawiki-i18n-l
Change-Id: Ie8e35cda1492bf1cab8f45ce618bac8402678879
2012-05-17 03:04:21 +01:00
Tim Weyer
00bb69a792
Replacing by in a few of most used extensions and renaming Special....php to ..._body.php
2011-12-18 10:27:44 +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
Robin Pepermans
153748729d
Use static Linker, fixes Fatal error: Call to a member function link() on a non-object in SpecialCite.php, when using monobook skin
2011-09-09 14:49:43 +00:00
Sam Reed
c48d4b674b
Documentation
2011-05-28 20:44:24 +00:00
Happy-melon
1ad54fd581
Fix fatal in SpecialCite introduced in the Context rewrite. Reported on r85302 CR, but not sure which exact revision actually caused it.
2011-04-04 15:26:54 +00:00
Sam Reed
cf0a7358cd
Start removing/fixing calls to deprecated methods in WMF used extensions
2010-10-29 15:14:44 +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
Chad Horohoe
8889add2cf
Revert r66934 (Removing wfLoadExtensionMessages() from everything). I disagree on principle...we branch extensions for this very reason. But people want trunk extensions compatible for several versions back, meh.
2010-05-27 15:56:53 +00:00
Chad Horohoe
695d3db96e
Large commit. Removed 800+ references to no-op wfLoadExtensionMessages()
2010-05-26 22:25:32 +00:00
Raimond Spekking
995a4807db
* Bug 14854 - Add accesskey for 'Cite this page' toolbox link
...
Rename existing tooltip message to be able to use the appropriate core function
2010-04-26 10:34:29 +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
Tobias
020b5e7121
Follow-up on r56832: fixing some minor issues avar brought to attention about patch to bug 20218
2009-09-23 20:54:53 +00:00
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