Commit graph

29 commits

Author SHA1 Message Date
Amir E. Aharoni 09a1ae5929 Code cleanup for phpcs
Change-Id: I2419c904629e02e1ec4cb24325acd0e2db1297db
2014-09-27 19:56:47 +03:00
addshore f1c78e330f Use public instead of var in classes
Change-Id: I351e0b776497b9cfa9914400048e5ea9f00b5aac
2014-08-17 22:04:15 +01:00
Derk-Jan Hartman d694691982 Special:Cite: Load RL modules of parsed content
Bug: 39049
Change-Id: Ib14a7cbc54e0317d7fa47f5569e54f5e0381613c
2014-06-22 12:00:02 +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
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
Alexandre Emsenhuber f675f24f5d * No need to feed the oldid Article::fetchContent() and retrive it with Article::getRevIdFetched(), just pass it directly to Parser::parse() or use the latest revision when not passed
* Deferred creation of the Article object where it's more likely to be used
* Title also has an exists() method
2011-11-13 14:22:24 +00:00
Sam Reed c48d4b674b Documentation 2011-05-28 20:44:24 +00:00
Sam Reed 4149f66a7d Partial revert r87006, for bug 28745 2011-04-29 10:44:56 +00:00
Sam Reed 3e5bbe33e7 Remove whitespace, unneeded globals, and swap and/or for &&/|| 2011-04-27 11:11:54 +00:00
Alexandre Emsenhuber b2a67356a7 * Use $wgScript for the "action" parameter to not break ugly URLs
* Removed another instance of $wgTitle
2011-01-12 15:13:06 +00:00
Sam Reed cf0a7358cd Start removing/fixing calls to deprecated methods in WMF used extensions 2010-10-29 15:14:44 +00:00
Chad Horohoe f5b65afc33 More php4 constructors. Missed these somehow 2010-08-30 17:18:13 +00:00
Chad Horohoe 9ad4b8a37e More php4-style constructors. I think thats most of them 2010-08-30 17:11:45 +00:00
Sam Reed 515192030c More wrong static method calls fixed 2010-07-26 13:30:31 +00:00
Sam Reed ed81a508f4 Remove some more unused variables 2010-07-24 21:32:07 +00:00
Sam Reed 9edea873d9 Nuke some more unused globals 2010-07-24 21:12:27 +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
Sam Reed e532ce62cc Stylize on some used extensions etc 2010-04-17 21:07:37 +00:00
Aaron Schulz e26669a126 Search & replace war on old wf* xml functions 2008-12-20 09:32:47 +00:00
Siebrand Mazeland 08ebbaab0f Consistent casing for addHTML() 2008-11-06 22:20:29 +00:00
Aaron Schulz 49005f3173 * Rm extfunctions use
* Enlarge box
2008-05-01 12:48:22 +00:00
Tim Starling d57fab8b03 Fix fatal on null title error due to type hinting in Article::__construct() 2008-02-08 09:05:06 +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
Aryeh Gregor bb3946f589 Extensions too! 2007-06-29 01:36:09 +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
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