Commit graph

898 commits

Author SHA1 Message Date
Yaron Koren 5bd0ef6414 Follow-up to r89547 - re-added compatibility with MW < 1.9 2011-06-06 15:15:43 +00:00
Krinkle 5c6d821000 Use tokens where needed for WatchAction (as of r89545)
* ./MultilingualLiquidThreads/LiquidThreads/classes/Thread.php
* ./extensions/LiquidThreads/classes/Thread.php
* ./extensions/MetavidWiki/includes/articlepages/MV_DataPage.php
** MV_DataPage.php: Per r86041 I replaced the second watch-call in MV_DataPage.php with an unwatch call.
* ./extensions/ReplaceText/ReplaceTextJob.php
2011-06-06 00:32:03 +00:00
Raimond Spekking dc0afd2852 Localisation updates for core and extension messages from translatewiki.net (2011-05-27 20:18:00 UTC) 2011-05-27 20:35:05 +00:00
Siebrand Mazeland 2b58178491 Localisation updates for special page aliases for extensions from http://translatewiki.net. 2011-05-14 00:11:22 +00:00
Daniel Friesen f67bb1c229 Modify callers of makeLinkObj, many of these seam to be passing unescaped text which is actually treated as html and needs to be escaped. 2011-05-08 03:16:03 +00:00
Sam Reed a2eaa7f60c Xml::hidden() --> Html::hidden()
Xml::hidden() killed
2011-05-06 23:13:09 +00:00
Raimond Spekking 8605208dad Localisation updates for core and extension messages from translatewiki.net (2011-05-06 22:02:00 UTC) 2011-05-06 22:11:48 +00:00
Raimond Spekking bc768c944b Localisation updates for core and extension messages from translatewiki.net (2011-05-05 20:28:00 UTC) 2011-05-05 20:38:04 +00:00
Jeroen De Dauw a1e05f5c7c rem dead lang key 2011-05-04 20:40:43 +00:00
Raimond Spekking e589dc70e1 Localisation updates for core and extension messages from translatewiki.net (2011-05-01 20:01:00 UTC) 2011-05-01 20:17:55 +00:00
Raimond Spekking a939442631 Localisation updates for core and extension messages from translatewiki.net (2011-04-28 20:00:00 UTC) 2011-04-28 20:38:36 +00:00
Raimond Spekking 8e7eb43eca Localisation updates for core and extension messages from translatewiki.net (2011-04-27 20:00:00 UTC) 2011-04-27 20:22:02 +00:00
Raimond Spekking d46f6c10bb Localisation updates for core and extension messages from translatewiki.net (2011-04-23 21:50:00 UTC) 2011-04-23 22:13:36 +00:00
Raimond Spekking 01feb550f8 Localisation updates for core and extension messages from translatewiki.net (2011-04-22 19:12:00 UTC) 2011-04-22 19:41:16 +00:00
Happy-melon 3b42b6f365 (bug 28583) chase down and beat to death external calls of functions marked /*private*/, and make those declarations actually binding. Patch by yuvipanda. 2011-04-18 19:03:14 +00:00
Raimond Spekking 53554ca69c Localisation updates for core and extension messages from translatewiki.net (2011-04-15 19:40:00 UTC) 2011-04-15 20:02:58 +00:00
Happy-melon ae37ea1164 Follow-up r 86041 per CR and IRC:
* Article constructor needs to be called with zero as second parameter
* Run stylize.php over new files
* Add Action::getLang() for consistency with other context accessors
* Fix declaration of FormAction::alterForm(), doesn't need to be passed by reference
* Fix inline use of Credits::getCredits() in SkinTemplate and SkinLegacy
2011-04-14 12:17:24 +00:00
Happy-melon 834a49ca93 r86001, now with less scariness :P I took out the delete action and did purge instead, which is a much more self-contained action-with-a-form. Also implement a few changes suggested by Brion on IRC last night. 2011-04-14 10:38:29 +00:00
Happy-melon 5375d862f8 Revert r86001: Brion says it's too scary :D will recommit in pieces 2011-04-13 23:36:27 +00:00
Happy-melon d593e03b14 New infrastructure for actions, as discussed on wikitech-l. Fairly huge commit.
* Actions come in two flavours: the show-a-form-then-do-something-with-the-result (delete, protect, edit, etc) and the just-do-something (watch, rollback, patrol, etc).  Create abstract base classes Action and FormlessAction to support these two cases.  HTMLForm is an integral part of the form-based structure.
* Look mum, no globals!  :D  Fully context-based.
* Implement watch/unwatch, credits and delete actions in the new system as proof-of-concept.  This also gives the delete frontend a much-needed overhaul.
* Stub out the newly-deprecated functions from Article.php.  This already reduces its linecount by about 15%, and there are plenty more actions still to do.
* Centralising actions like this is going to render a lot of hooks type-incompatible.  There's simply nowhere you can put the ArticleConfirmDelete hook, for instance, where it can be passed an OutputPage as the second parameter.  On the other hand, we can implement new hooks like ActionModifyFormFields and ActionBeforeFormDisplay, which can do much prettier stuff to the forms, like adding extra fields the 'right' way.  Update LiquidThreads to use these new hooks where appropriate.
2011-04-13 23:04:07 +00:00
Raimond Spekking a54ff3a9a2 Localisation updates for core and extension messages from translatewiki.net (2011-04-11 18:35:00 UTC) 2011-04-11 19:18:59 +00:00
Raimond Spekking daa58a36ba Localisation updates for core and extension messages from translatewiki.net (2011-04-05 20:23:00 UTC) 2011-04-05 20:55:44 +00:00
Raimond Spekking 272443c781 Localisation updates for core and extension messages from translatewiki.net (2011-04-04 12:51:00 UTC) 2011-04-04 13:21:39 +00:00
Raimond Spekking 5c56a4d6e1 Localisation updates for core and extension messages from translatewiki.net (2011-03-29 20:00:00 UTC) 2011-03-29 20:19:59 +00:00
Chad Horohoe 34a416305d Partial revert r84686: Yaron wants to maintain b/c in these still 2011-03-24 17:38:40 +00:00
Chad Horohoe 1c968e8ae3 Remove wfLoadExtensionMessages() in all trunk extensions (do not backport)
* This function has been a no-op since 1.16
* As of 1.18, this throws warnings to all callers
* It will be removed *entirely* in 1.20 according to documentation
* I skipped Semantic* on purpose

This means: extensions IN TRUNK now require AT LEAST MediaWiki 1.16 or above.
2011-03-24 17:04:02 +00:00
Brian Wolff f1705b55d5 (follow-up 79778; continuation r84660) Change truncate to count the ellipsis in length. Update extensions that seem to be
expecting the other behaviour. Didn't update extensions that seem to be expecting the behaviour i changed it to.
2011-03-24 03:43:27 +00:00
Raimond Spekking 29dc660fe7 Localisation updates for core and extension messages from translatewiki.net (2011-03-21 19:57:00 UTC) 2011-03-21 20:38:19 +00:00
Yaron Koren f132c3880c Fix for loading a module in MW 1.17 - follow-up to r84165 and r83789 2011-03-17 16:06:58 +00:00
Yaron Koren 23795e4f82 Added backwards compatibility for MW < 1.17 2011-03-17 13:29:01 +00:00
Yaron Koren eb96084ffe New version: 0.9.1 2011-03-16 16:18:20 +00:00
Yaron Koren d0004464b7 Added escaping so that a search string containing a space can be used on page names 2011-03-15 20:30:32 +00:00
Raimond Spekking 4a363816ff Localisation updates for core and extension messages from translatewiki.net (2011-03-14 21:06:00 UTC) 2011-03-14 21:28:18 +00:00
Happy-melon 3ebdc5cc73 Spin out all the CSS used on special pages into their own mediawiki.special module. This comprises about a third of /skins/common/shared.css, so it's definitely worthwhile not loading it for the 99.9% of pageviews which aren't special pages. 2011-03-12 22:42:58 +00:00
Yaron Koren f9ced025f4 Made some improvements to SQL, including use of addQuotes() - follow-up to r82212 2011-03-11 18:39:52 +00:00
Raimond Spekking 7664236b26 Localisation updates for core and extension messages from translatewiki.net (2011-03-10 20:05:00 UTC) 2011-03-10 21:02:36 +00:00
Raimond Spekking 04cb209bcc Localisation updates for core and extension messages from translatewiki.net (2011-03-09 21:26:00 UTC) 2011-03-09 22:15:15 +00:00
Raimond Spekking 5ac6be3e6b Localisation updates for core and extension messages from translatewiki.net (2011-03-07 19:38:00 UTC) 2011-03-07 20:21:17 +00:00
Raimond Spekking 06e6f05d55 Localisation updates for core and extension messages from translatewiki.net (2011-03-04 19:51:00 UTC) 2011-03-04 20:06:34 +00:00
Siebrand Mazeland 1d825ba4d8 Localisation updates from http://translatewiki.net.
* rebuild of all extension i18n files supported by Translate (~440).
2011-03-01 01:10:00 +00:00
Raimond Spekking 0526c322ac Localisation updates for core and extension messages from translatewiki.net (2011-02-26 20:52:00 UTC) 2011-02-26 21:12:01 +00:00
Raimond Spekking f00e70ec71 Localisation updates for core and extension messages from translatewiki.net (2011-02-23 20:13:00 UTC) 2011-02-23 20:29:27 +00:00
Raimond Spekking 10391b6552 Localisation updates for core and extension messages from translatewiki.net (2011-02-22 21:13:00 UTC) 2011-02-22 21:52:34 +00:00
Yaron Koren 74ed1dc630 Changed code to use new linkToTitle() method, for backward compatibility for Linker::makeKnownLinkObj() method 2011-02-22 19:04:28 +00:00
Raimond Spekking c4ef0afd71 Localisation updates for core and extension messages from translatewiki.net (2011-02-21 20:13:00 UTC) 2011-02-21 20:36:18 +00:00
Raimond Spekking 170ed2eed3 Localisation updates for core and extension messages from translatewiki.net (2011-02-19 20:30:00 UTC) 2011-02-19 20:56:36 +00:00
Raimond Spekking bad6562d38 Localisation updates for core and extension messages from translatewiki.net (2011-02-18 20:25:00 UTC) 2011-02-18 21:02:18 +00:00
Raimond Spekking 5657c8723e Localisation updates for core and extension messages from translatewiki.net (2011-02-17 20:45:00 UTC) 2011-02-17 21:07:10 +00:00
Raimond Spekking c1b81cd152 Localisation updates for core and extension messages from translatewiki.net (2011-02-16 20:35:00 UTC) 2011-02-16 21:00:04 +00:00
Yaron Koren 1b8f9a4007 Follow-up to r82212 - simplified and improved namespace check within SQL 2011-02-16 19:04:56 +00:00