Commit graph

716 commits

Author SHA1 Message Date
Raimond Spekking 664700431a Localisation updates for core and extension messages from translatewiki.net (2010-09-30 19:59:00 UTC) 2010-09-30 20:11:36 +00:00
Raimond Spekking 706e97f657 Localisation updates for core and extension messages from translatewiki.net (2010-09-29 19:56:00 UTC) 2010-09-29 20:04:42 +00:00
Raimond Spekking 3a30797a91 Localisation updates for core and extension messages from translatewiki.net (2010-09-24 19:02:00 UTC) 2010-09-24 19:22:35 +00:00
Raimond Spekking d37fff6f2e Localisation updates for core and extension messages from translatewiki.net (2010-09-20 19:55:00 UTC) 2010-09-20 20:03:28 +00:00
Siebrand Mazeland db21e3ee86 Re-apply 73306: Follow-up r73304: add "$specialPageAliases = array();" at top of the file.
There was an error in Translate.alias.php that has now been resolved.
2010-09-19 09:13:18 +00:00
Siebrand Mazeland ee1eb4b2cb Revert r73306. Causes many notices. 2010-09-19 09:01:11 +00:00
Siebrand Mazeland 40b672ef7f Follow-up r73304: add "$specialPageAliases = array();" at top of the file. 2010-09-19 08:48:52 +00:00
Siebrand Mazeland 2149d58534 Localisation updates for special page aliases for extensions from translatewiki.net 2010-09-19 07:41:39 +00:00
Raimond Spekking 9eb421ab13 Localisation updates for core and extension messages from translatewiki.net (2010-09-13 19:03:00 UTC) 2010-09-13 19:28:11 +00:00
Platonides 95600c14bc Follow up r72388. Add the hint to the subclass, too. 2010-09-09 22:35:32 +00:00
Raimond Spekking 271ee4a15e Localisation updates for core and extension messages from translatewiki.net (2010-09-08 19:30:00 UTC) 2010-09-08 19:49:40 +00:00
Raimond Spekking 99a1160ac4 Localisation updates for core and extension messages from translatewiki.net (2010-09-07 20:20:00 UTC) 2010-09-07 20:50:14 +00:00
Chad Horohoe 7b3001d705 More php4 constructors. Missed these somehow 2010-08-30 17:18:13 +00:00
Siebrand Mazeland 83e9f8d239 Localisation updates for core and extension messages from translatewiki.net (2010-08-24 22:46 UTC) 2010-08-24 23:02:39 +00:00
Siebrand Mazeland 26f4412853 Localisation updates for extensions from translatewiki.net
* update special page aliases.
2010-08-24 14:06:50 +00:00
Siebrand Mazeland 5d3b0d6e4d Localisation updates for extensions from translatewiki.net
* update magic words.
2010-08-24 13:20:07 +00:00
Siebrand Mazeland a46b419410 Localisation updates for core and extension messages from translatewiki.net (2010-08-24 06:24 UTC) 2010-08-24 06:37:29 +00:00
Siebrand Mazeland c5f9dff258 Localisation updates for core and extension messages from translatewiki.net (2010-08-21 22:44 UTC) 2010-08-21 23:20:48 +00:00
Siebrand Mazeland 13b1cec714 Localisation updates for core and extension messages from translatewiki.net (2010-08-18 21:52 UTC) 2010-08-18 22:11:00 +00:00
Aryeh Gregor 064ce8137b Adapt CategoryTree to the new schema
This should obsolete $wgCategoryTreeMaxScanRows, added in r67179, so I
removed it.  Note that I only tested with very basic usage, since I
don't quite understand all the complicated things this extension can do,
and some code paths are certainly going to remain inefficient, since
arbitrary namespace filtering seems possible here (at least
renderChildren() has support for it).  However, clicking the little plus
sign on category pages should now scan only as many rows as are actually
used, so no limit should be necessary.

Sorting is now by cl_type, cl_sortkey instead of cl_sortkey.  This
change has to be made to all users for efficiency, since the old index
was dropped.  It means the sort order might be somewhat unexpected in
some cases, but for basic CategoryTree use it makes no difference, since
all the results have cl_type = 'subcat' anyway.

Fixes bug 23682, I think.
2010-08-16 21:57:49 +00:00
Aryeh Gregor e2300181e5 Save up to 200 queries per click in CategoryTree
Remember, people: if you use Titles that don't have all the proper
fields prefetched, LinkCache will fetch them for you, one by one.
Fetching page_id, page_len, page_is_latest, and page_latest will make
everything work without needless queries.
2010-08-16 21:37:26 +00:00
Siebrand Mazeland 2338830d84 Localisation updates for core and extension messages from translatewiki.net (2010-08-13 21:35 UTC) 2010-08-13 23:21:38 +00:00
Aryeh Gregor 6873b490ef Use DB abstraction CategoryTree::renderChildren()
Formerly pieced it all together with strings.  This seems not to have
broken anything for basic usage, but I didn't test thoroughly.  Also
fixed some random style errors and unused variables while I was there.
2010-08-13 22:38:00 +00:00
Aryeh Gregor 07ab72b8aa Fix extensions to work with category sort changes
Three different extensions were copy-pasting all of
CategoryPage::closeShowCategory() just to change which CategoryViewer
descendant was used.  I changed the base class to use a member variable
for the CategoryViewer class, so this reduces code duplication too.  I
only tested this on CategoryTree; MetavidWiki is certainly still broken,
from the looks of it (assumes $this->from is a string), but
PeopleCategories might be okay.  Hard to avoid breaking extensions with
this sort of schema/index change.
2010-08-13 22:07:48 +00:00
Matěj Grabovský a6c63efe65 Removed description in $wgExtensionCredits where descriptionmsg was used 2010-08-10 15:27:44 +00:00
Raimond Spekking 8791e508fb Localisation updates for core and extension messages from translatewiki.net (2010-08-07 18:45:00 UTC) 2010-08-07 19:16:16 +00:00
Raimond Spekking ccaf0c486b Localisation updates for core and extension messages from translatewiki.net (2010-08-06 22:06:00 UTC) 2010-08-06 22:24:01 +00:00
Raimond Spekking bcb95e3a8b Localisation updates for core and extension messages from translatewiki.net (2010-08-05 18:59:00 UTC) 2010-08-05 19:13:11 +00:00
Raimond Spekking 5c734d1974 Localisation updates for core and extension messages from translatewiki.net (2010-07-31 21:16:00 UTC) 2010-07-31 21:28:50 +00:00
Raimond Spekking 052fb7e3f2 Localisation updates for core and extension messages from translatewiki.net (2010-07-26 20:10:00 UTC) 2010-07-26 20:16:35 +00:00
Sam Reed 7beb050639 More wrong static method calls fixed 2010-07-26 13:30:31 +00:00
Sam Reed 78d6b8163d Remove some more unused globals
Kill a couple of other unused variables
2010-07-25 17:12:50 +00:00
Raimond Spekking 6dbac1a865 Localisation updates for core and extension messages from translatewiki.net (2010-07-04 18:27:00 UTC) 2010-07-04 18:55:14 +00:00
Raimond Spekking fd6009dae9 Localisation updates for core and extension messages from translatewiki.net (2010-07-03 18:40:00 UTC) 2010-07-03 19:15:49 +00:00
Raimond Spekking 3902b8fba2 Localisation updates for core and extension messages from translatewiki.net (2010-06-29 19:28:00 UTC) 2010-06-29 19:51:55 +00:00
Raimond Spekking 960d8ff132 Localisation updates for core and extension messages from translatewiki.net (2010-06-24 20:00:00 UTC) 2010-06-24 20:23:20 +00:00
Raimond Spekking 65bce3c46d Localisation updates for core and extension messages from translatewiki.net (2010-06-23 19:10:00 UTC) 2010-06-23 19:23:47 +00:00
Raimond Spekking 2de82dc3c2 Localisation updates for core and extension messages from translatewiki.net (2010-06-17 18:50:00 UTC) 2010-06-17 19:11:20 +00:00
Raimond Spekking 3f74a6d7bc Localisation updates for core and extension messages from translatewiki.net (2010-06-16 19:30:00 UTC) 2010-06-16 19:38:46 +00:00
Raimond Spekking 4dfe08d591 Localisation updates for core and extension messages from translatewiki.net (2010-06-10 18:40:00 UTC) 2010-06-10 19:00:46 +00:00
Raimond Spekking adc77f5d49 Localisation updates for core and extension messages from translatewiki.net (2010-06-09 18:50:00 UTC) 2010-06-09 19:22:07 +00:00
Siebrand Mazeland ebff4d349b Replace Title::makeTitle[Safe]( NS_SPECIAL, 'x' ) with SpecialPage::getTitleFor ( 'x' )
And a few other minor changes.
2010-06-08 19:30:48 +00:00
Raimond Spekking cbfd1b8abf Localisation updates for core and extension messages from translatewiki.net (2010-06-06 18:30:00 UTC) 2010-06-06 18:49:24 +00:00
Alexandre Emsenhuber 261d68c15a 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
Siebrand Mazeland 23525da5df Localisation updates for extension messages from translatewiki.net (2010-06-05 21:01 UTC) 2010-06-05 21:10:36 +00:00
Siebrand Mazeland ea96903185 Localisation updates for extension messages from translatewiki.net (2010-06-03 22:59 UTC) 2010-06-03 23:19:03 +00:00
Daniel Kinzler b719db957d PHP compatibility: 5.3.1 is picky about pass-by-reference. Restrict use of &$foo to actual output parameters. This should probably be done for the entire code base. 2010-06-02 09:10:09 +00:00
Raimond Spekking c490ddfedc Localisation updates for core and extension messages from translatewiki.net (2010-06-01 18:25:00 UTC) 2010-06-01 18:33:40 +00:00
Roan Kattouw 833afe31a3 CategoryTree: Backport r67183 from 1.16wmf4 2010-06-01 14:28:08 +00:00
Tim Starling adca6de0aa * Per Aryeh's suggestion on CR r66987, treat categories larger than a certain size as empty. The visual presentation is not perfect, but it needs some more aggressive treatment than what I can give it right now.
* Get counts into local variables, to make the code slightly more compact.
2010-06-01 08:58:04 +00:00