Commit graph

18294 commits

Author SHA1 Message Date
Bryan Tong Minh
0204ede45d Forgot to remove one debug statement. 2008-05-20 17:09:59 +00:00
Bryan Tong Minh
06c09e9835 Add RepoGroup::findFiles to efficiently find many files if the repo supports it. Added support for this in ApiQueryImageInfo. 2008-05-20 17:05:57 +00:00
Raimond Spekking
7bf7bb03c1 Localisation updates German 2008-05-20 14:56:25 +00:00
Bryan Tong Minh
bad5057d7d Forgot one $this => self when making ApiQueryImageInfo::getInfo static. 2008-05-20 14:34:19 +00:00
Bryan Tong Minh
28babe0e65 Use ApiQueryImageInfo::getInfo for both ApiQueryAllimages and ApiQueryImageInfo. Should also give some more consistency between the two modules. 2008-05-20 14:32:52 +00:00
Shinjiman
fd42f40fd0 Localisation updates Cantonese, Chinese and Old/Late Time Chinese 2008-05-20 14:17:38 +00:00
Raimond Spekking
27e96c68fd Add bug per r35065 2008-05-20 13:31:21 +00:00
Rotem Liss
5532312a4f Update. 2008-05-20 09:42:22 +00:00
Roan Kattouw
168f93e4a8 Unified aiprop and iiprop somewhat by adding iiprop=mime and aiprop=metadata. The size vs. dimensions discrepancy is weird, but won't be fixed for backwards compatibility. Also iiprop has user, comment and archivename because it handles file *revisions*, whereas allimages doesn't. 2008-05-20 09:16:01 +00:00
Bryan Tong Minh
50bcc3c8f5 Force reindexation of User::mRights. Hooks have the possibility to unset rights, leaving the array out of order. 2008-05-20 08:06:43 +00:00
Siebrand Mazeland
4a790d0ae6 Localisation updates. Rebuilt all language files. 2008-05-20 07:41:33 +00:00
Siebrand Mazeland
18aff2b432 Localisation updates for core messages from Betawiki (2008-05-20 09:15 CEST) 2008-05-20 07:26:11 +00:00
Brion Vibber
2c65904fb0 Got sick of testing local copies of Wikipedia articles with no images handy.
Threw together a really quick hack FileRepo class to grab images from the remote wiki using the MediaWiki API.

Amazingly it sort of works -- be warned however:
* no scaling seems to be done yet -- multi-megapixel images in your browser :D
* no caching of lookups -- verrrry slow
* lookups are done one at a time, not in any kind of batching
* probably doesn't properly support lots and lots of things
2008-05-20 06:30:36 +00:00
Raimond Spekking
9b2ab1b0e2 Add corresponding messages to have a chance to find the usage of these messages via grep 2008-05-20 05:23:38 +00:00
Raimond Spekking
2d7d007ed8 Add a new section for parser/template warnings 2008-05-20 04:55:52 +00:00
Raimond Spekking
ed024dcd76 Follow up for r35065:
* Add new message 'categoriesfrom' to messages.inc
* Add default existing 'categories-summary' as optional message 
* Stick together all Special:Categories messages
2008-05-20 04:11:00 +00:00
Aaron Schulz
829b50956b * Use lazy initialization with loadFile()
* Add $current/$time to field list
* Fix some ugly coding style
2008-05-20 03:26:59 +00:00
Aaron Schulz
40ef91f329 Tweak $time default 2008-05-20 03:15:07 +00:00
Aaron Schulz
fe3ab4ade2 Add functions to get an image via sha-1 2008-05-20 02:58:40 +00:00
Brion Vibber
aeccf6592d Toss in a "display from" input field on Special:Categories
I'm not 100% happy with this yet as it doesn't play nice with initial-lowercase input.
2008-05-19 23:53:01 +00:00
Brion Vibber
36b19314a4 * (bug 12773) addOnloadHook() now calls functions immediately when scripts are
loaded after the primary page completion, instead of dropping them
* (bug 13232) importScript(), importStylesheet() funcs available to custom JS

Increases wikibits.js by 1k or so, but it should help with those custom scripts :D
2008-05-19 22:52:12 +00:00
Brion Vibber
09edeb70bb Reverting r35060 -- can't reproduce the reported problem so far, but if it exists this should be moved upstream so User::getGroups() and User::getRights() return consistent values themselves 2008-05-19 22:15:17 +00:00
Siebrand Mazeland
6e5c77127d Fix syntax error 2008-05-19 21:50:05 +00:00
Siebrand Mazeland
f1cde1a6b8 Tweaks to recently added messages 2008-05-19 21:48:48 +00:00
Bryan Tong Minh
fdaf603064 Force indices of groups and rights array to be in order so that the JSON formatter recognizes it as a list instead of a dict in case for some reason rights or groups are removed somewhere in between (as done for sysops on testwiki). 2008-05-19 21:43:52 +00:00
Nicolas Dumazet
bddd428304 #14094 When the expansion size is reached, the editor is not warned about it :
Adding 2 messages + 2 categories, similarly to "Warning: This page contains too many expensive parser function calls" to warn the user when template post include size (or template argument post include size) is too large
2008-05-19 21:33:47 +00:00
Bryan Tong Minh
917587f08e API: Merge file deletion code from ApiEdit_Vodafone branch. 2008-05-19 21:30:03 +00:00
Brion Vibber
3dda804bd6 * (bug 1701) Korean Hangul syllables now broken down properly in Category lists even if the wiki's overall content language is not Korean
Nothing else left in LanguageKo class, so ditching it.
2008-05-19 20:20:33 +00:00
Aaron Schulz
c651692075 Stabilize image description links 2008-05-19 18:55:48 +00:00
Aaron Schulz
973713b2e9 $join_conds 2008-05-19 17:02:58 +00:00
Brion Vibber
69dd51f03b Don't fall into an infinite loop o' death if the pipes get broken.
Exit out if we can't read from stdin anymore, instead of interpreting the 'false' error code as text ID 0...
2008-05-19 15:49:05 +00:00
Raimond Spekking
2ae276360f Localisation updates German 2008-05-19 15:39:07 +00:00
Aaron Schulz
a1f9401982 *Remove extra space
*Make revisiondelete links more compact
*Make user links clearer
2008-05-19 15:21:29 +00:00
Siebrand Mazeland
812b3cafbb Localisation updates for core messages from Betawiki (2008-05-19 08:00 CEST) 2008-05-19 06:05:15 +00:00
Aaron Schulz
99c13c58da Make space breakable 2008-05-19 02:34:42 +00:00
Aaron Schulz
0f4cd44520 Oh, and remove comment 2008-05-19 02:21:54 +00:00
Aaron Schulz
9301fdec63 Default to $updated = false 2008-05-19 02:21:32 +00:00
Brion Vibber
272f0cc529 forgot to bump the ver 2008-05-19 01:57:37 +00:00
Roan Kattouw
72b793a695 Remove deprecated ApiMain::scheduleCommit() 2008-05-18 20:15:56 +00:00
Alexandre Emsenhuber
b492502167 * Document a bit
* Pull out read only check from SqlBagOStuff class MediaWikiBagOStuff
2008-05-18 19:50:33 +00:00
Brion Vibber
ca95603d4f Cut a few more kb out of wikibits.js... broke edit-page specific things (toolbar, edit box scrolling, insertTags) out to edit.js 2008-05-18 18:33:38 +00:00
Siebrand Mazeland
91b36216bd Update $fallback from zh-cn (empty) to zh-hans (to which zh-cn falls back) 2008-05-18 16:30:22 +00:00
Aaron Schulz
9b3b97a967 $parents is an array (bug 14169) 2008-05-18 16:09:56 +00:00
Siebrand Mazeland
4640dd726a Localisation updates. Removing messages in English. 2008-05-18 13:36:09 +00:00
Siebrand Mazeland
ee8744d0ea Localisation updates for core messages from Betawiki (2008-05-18 15:17 CEST) 2008-05-18 13:25:31 +00:00
Siebrand Mazeland
ed6859ba21 Add display text for link 'nospecialpagetext' 2008-05-18 12:07:01 +00:00
Siebrand Mazeland
7720f0d2b9 Localisation updates. Remove template as message. 2008-05-18 09:16:03 +00:00
Siebrand Mazeland
96c6ffa37c Actually alphabetise the alphabetical list of Wikipedia sites 2008-05-18 07:56:03 +00:00
Mohamed Magdy
f492a44c08 Update. Not sure if this completes the list though. 2008-05-18 03:40:11 +00:00
Mohamed Magdy
a56e77796d update, change إصدار to نسخة .. version means نسخة while release means إصدار .. 2008-05-18 00:49:34 +00:00