Niklas Laxström [Fri, 11 Jul 2008 18:08:18 +0000 (18:08 +0000)]
* (bug 8604) padright: and similar functions fail with non-ASCII arguments
Niklas Laxström [Fri, 11 Jul 2008 17:37:45 +0000 (17:37 +0000)]
* (bug 12487) Rights log is not fully internationalized
* Use listToText for lists
Niklas Laxström [Fri, 11 Jul 2008 17:34:09 +0000 (17:34 +0000)]
* Removing unused messages
Siebrand Mazeland [Fri, 11 Jul 2008 11:01:42 +0000 (11:01 +0000)]
Localisation updates for cpre messages from Betawiki
* mainly consistency fixes
Siebrand Mazeland [Fri, 11 Jul 2008 10:33:01 +0000 (10:33 +0000)]
Localisation updates for cpre messages from Betawiki (2008-07-11 12:26 CEST)
* mainly consistency fixes
Siebrand Mazeland [Fri, 11 Jul 2008 09:26:10 +0000 (09:26 +0000)]
Localisation updates for extension messages from Betawiki (2008-07-11 11:00 CEST)
* all languages: update 'extlink_sample' to use a .org RFC2606 compliant example URL
Siebrand Mazeland [Fri, 11 Jul 2008 08:57:12 +0000 (08:57 +0000)]
Use a .org RFC2606 compliant example URL
Raimond Spekking [Fri, 11 Jul 2008 07:22:04 +0000 (07:22 +0000)]
Add the new sidebar keywords to reflect the new possibilities. No change in sequence.
Shinjiman [Fri, 11 Jul 2008 04:44:59 +0000 (04:44 +0000)]
fix header comments
Raimond Spekking [Thu, 10 Jul 2008 23:18:31 +0000 (23:18 +0000)]
Localisation updates German
Siebrand Mazeland [Thu, 10 Jul 2008 22:24:13 +0000 (22:24 +0000)]
Localisation updates for core messages from Betawiki (2008-07-11 00:09 CEST)
Brion Vibber [Thu, 10 Jul 2008 22:11:11 +0000 (22:11 +0000)]
Hold back $wgTrackLinkChanges for a little bit; reverting r37322, 37430, 37432, 37435.
Even disabled, it's started interfering with regular tasks like running the parser tests.
Daniel Friesen [Thu, 10 Jul 2008 22:00:04 +0000 (22:00 +0000)]
Change all uses of TYPE= in MySQL to ENGINE=
According to the MySQL manual, TYPE= has been depreciated since MySQL 4.0, starting in 5.1 database warnings are issued when TYPE= is used instead of ENGINE=, and in MySQL 5.2 TYPE= will be removed.
Using ENGINE= inside of sql should serve the best compatibility since we require at least MySQL 4.0
Brion Vibber [Thu, 10 Jul 2008 21:53:14 +0000 (21:53 +0000)]
Revert 37530 -- removes the control option for image moving
Brion Vibber [Thu, 10 Jul 2008 21:34:19 +0000 (21:34 +0000)]
Revert r37508 for now ((bug 14778) 'limit' parameter now applies to history feeds as well as history pages)
The $limit parameter isn't validated properly as a limit, and is passed to the database producing an SQL error if negative.
Roan Kattouw [Thu, 10 Jul 2008 21:20:43 +0000 (21:20 +0000)]
Revert most of r37534, which was an over-revert: just changing addQuotes() back to strencode() was enough.
Brion Vibber [Thu, 10 Jul 2008 21:08:37 +0000 (21:08 +0000)]
Partial revert of r37502, 37503: double-quoting of SQL strings
Victor Vasiliev [Thu, 10 Jul 2008 20:28:52 +0000 (20:28 +0000)]
* Make image moving no longer experimental
Niklas Laxström [Thu, 10 Jul 2008 19:51:25 +0000 (19:51 +0000)]
* Escaping, should also fix the weird double transform bug recently found
Aryeh Gregor [Thu, 10 Jul 2008 19:18:00 +0000 (19:18 +0000)]
Revert r37299. It's causing some extremely strange behavior that I can't pin down. Try copying the text =={{[[Navbox]]}}== into a page, where [[Template:Navbox]] is copied from enwiki. An exhibit is up at <en.wikipedia.org/wiki/User:Simetrical/Tl_test> until this fix goes live. This was reported at <http://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#Problem_with_.7B.7Btl.7D.7D_in_section_headers> by CapitalR; thanks to RockMFR for tracking down the revision that was causing it.
As a general rule, it would be a good idea to first split the functions off into their own file without changing them, and then refactor them in a separate commit. Otherwise it's very hard to follow what's actually being changed. (git actually tracks changes to functions when they're moved across files, incidentally, which is quite awesome.)
Rotem Liss [Thu, 10 Jul 2008 18:34:01 +0000 (18:34 +0000)]
Fixes.
Aryeh Gregor [Thu, 10 Jul 2008 18:05:52 +0000 (18:05 +0000)]
Add overly wordy comment explaining why logs can't be filtered by prefix in $wgMiserMode, since I keep on forgetting.
Aryeh Gregor [Thu, 10 Jul 2008 18:04:32 +0000 (18:04 +0000)]
Fixes for r37489:
* Don't pass $data or $flags by reference. They're never accessed again, so it makes no sense.
* Document in hooks.txt.
The interface for this hook seems very messy. It seems like it would be much cleaner to expose $data as $url (null if stored locally); and $flags as an array, or something like that. If the text is gzipped, the text can be extracted from the Revision and re-gzipped if you really want to for some strange reason.
Brion Vibber [Thu, 10 Jul 2008 17:02:39 +0000 (17:02 +0000)]
Revert r37490, 37493 for now -- 'NotifyOnPageChangeComplete hook added'
The hook seems a bit odd; it triggers on some of the composes, but not all. There's another loop right after this one.
Also, there's no need to pass objects as references here.
Huji [Thu, 10 Jul 2008 16:17:04 +0000 (16:17 +0000)]
Localisation updates: Adding/updating Persian translations
Chad Horohoe [Thu, 10 Jul 2008 14:53:00 +0000 (14:53 +0000)]
(bug 14778) 'limit' parameter now applies to history feeds as well as history pages
Roan Kattouw [Thu, 10 Jul 2008 14:28:09 +0000 (14:28 +0000)]
API: More cleanup:
* Cleaning up some comments
* Breaking the description for iiurlwidth in two lines
* Clarifying the descriptions for amfilter and amlang
Roan Kattouw [Thu, 10 Jul 2008 14:19:06 +0000 (14:19 +0000)]
Forgot to change one strencode() to addQuotes()
Roan Kattouw [Thu, 10 Jul 2008 14:13:11 +0000 (14:13 +0000)]
API: Some cleanup and fixes before 1.13 is released:
* Fix regression from r37270: prop=categories paging was broken in generator mode.
* Fix drlimit=max, which was broken since r31384
* Use titleToKey() and keyToTitle() on title parts of the continue parameters in prop={links,templatelinks,categories,images}
* Use addQuotes() rather than strencode() in those same modules
* Don't trim message names in ammessages, it's stupid and undocumented
* Add $wgAPI{Meta,Prop,List}Modules to DefaultSettings.php explicitly
Shinjiman [Thu, 10 Jul 2008 13:56:23 +0000 (13:56 +0000)]
some tweaks for the Language Converter
patch by fdcn
Rotem Liss [Thu, 10 Jul 2008 13:47:57 +0000 (13:47 +0000)]
Update.
Shinjiman [Thu, 10 Jul 2008 13:40:12 +0000 (13:40 +0000)]
update Chinese conversion database
Bryan Tong Minh [Thu, 10 Jul 2008 13:24:42 +0000 (13:24 +0000)]
* Consistent use of capitalization
* Add documentation
Shinjiman [Thu, 10 Jul 2008 12:32:33 +0000 (12:32 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Krzysztof Krzyzaniak [Thu, 10 Jul 2008 12:23:21 +0000 (12:23 +0000)]
NotifyOnPageChangeComplete description
Huji [Thu, 10 Jul 2008 11:33:32 +0000 (11:33 +0000)]
Localisation updates: Adding/updating Persian translations
Also, messages.inc is updated to include the newly added message 'historysize'
Krzysztof Krzyzaniak [Thu, 10 Jul 2008 11:10:48 +0000 (11:10 +0000)]
NotifyOnPageChangeComplete hook added
Aaron Schulz [Thu, 10 Jul 2008 10:30:45 +0000 (10:30 +0000)]
Extend RevisionInsertComplete hook (bug 14780)
Victor Vasiliev [Thu, 10 Jul 2008 08:57:13 +0000 (08:57 +0000)]
Fix message
Niklas Laxström [Thu, 10 Jul 2008 08:33:50 +0000 (08:33 +0000)]
* Why on earth is this using content language
Victor Vasiliev [Thu, 10 Jul 2008 08:32:34 +0000 (08:32 +0000)]
Fix previous commit (removed accidentally commited wfVarDump change + whitespace fix)
Niklas Laxström [Thu, 10 Jul 2008 08:17:17 +0000 (08:17 +0000)]
* Date formats for Khmer
Victor Vasiliev [Thu, 10 Jul 2008 08:16:58 +0000 (08:16 +0000)]
* (bug 14772) Disallow moving images to invalid titles
Victor Vasiliev [Thu, 10 Jul 2008 08:02:52 +0000 (08:02 +0000)]
* Optimize image size for common/images/cyrl/*
Shinjiman [Thu, 10 Jul 2008 07:51:15 +0000 (07:51 +0000)]
* (bug 451) Improve the phrase mappings of the Chinese converter arrays.
Niklas Laxström [Thu, 10 Jul 2008 07:44:32 +0000 (07:44 +0000)]
* WTF was I thinking...
Niklas Laxström [Thu, 10 Jul 2008 07:37:45 +0000 (07:37 +0000)]
* Plural for Maltese
Niklas Laxström [Thu, 10 Jul 2008 07:09:46 +0000 (07:09 +0000)]
* Fix regression in 37317, random content going into logs
Brion Vibber [Thu, 10 Jul 2008 04:47:25 +0000 (04:47 +0000)]
Revert r37443 for the moment:
* Code duplication of validity checks between wfIsValidFileName() and UploadForm::internalProcessUpload() -- this guarantees behavior will become inconsistent over time. Move the normalization into a single place.
* The additional chars excluded for Windows don't cover the entire set of illegal chars. There are several more punctuation characters, plus general issues such as all non-ASCII characters.
* Application of filesystem rules based on OS could result in strange inconsistent behavior; alternate filestore backends could support different sets of legal characters.
* No clear reason for the change to wfVarDump(); var_export works just fine and doesn't use the fragile output buffering
Victor Vasiliev [Wed, 9 Jul 2008 21:11:08 +0000 (21:11 +0000)]
* Forbid files with * and ? to be uploaded under Windows (it caused internal errors since such characters are illegal there)
* Forbid files to be moved to invalid filenames
* wfVarDump() should use var_dump(), not var_export()
Greg Sabino Mullane [Wed, 9 Jul 2008 20:01:25 +0000 (20:01 +0000)]
Add recentlinkchanges table.
Greg Sabino Mullane [Wed, 9 Jul 2008 19:33:21 +0000 (19:33 +0000)]
Support latest schema changes.
Greg Sabino Mullane [Wed, 9 Jul 2008 19:32:48 +0000 (19:32 +0000)]
That (1) qualifier on tinyint - I do not think it means what you think it means.
Greg Sabino Mullane [Wed, 9 Jul 2008 19:25:47 +0000 (19:25 +0000)]
Add recentlinkchanges table for Postgres
Greg Sabino Mullane [Wed, 9 Jul 2008 19:07:07 +0000 (19:07 +0000)]
No tabs, please. Other minor whitespace fixes.
Chad Horohoe [Wed, 9 Jul 2008 18:14:01 +0000 (18:14 +0000)]
(bug 14763) Strict standards issue in DatabasePostgres (also happened with DatabaseOracle, no one reported it though).
Brion Vibber [Wed, 9 Jul 2008 17:49:51 +0000 (17:49 +0000)]
Revert the rest of r37393 -- appears to be debugging stuff accidentally committed
Brion Vibber [Wed, 9 Jul 2008 17:41:02 +0000 (17:41 +0000)]
Tweak to r37385: put the timestamp format normalization on the input read (Revision::getTimestampFromId()) instead of the middle tier (Skin::lastModified())
Niklas Laxström [Wed, 9 Jul 2008 16:56:26 +0000 (16:56 +0000)]
* Let's still keep the historysize, it is used by extensions currently
Brion Vibber [Wed, 9 Jul 2008 16:49:44 +0000 (16:49 +0000)]
fix to r37375 -- spell fieldset correctly :)
Huji [Wed, 9 Jul 2008 16:04:24 +0000 (16:04 +0000)]
Localisation updates: Adding/updating Persian translations
Alexandre Emsenhuber [Wed, 9 Jul 2008 15:42:14 +0000 (15:42 +0000)]
Partial revert of r37393
Daniel Kinzler [Wed, 9 Jul 2008 15:05:25 +0000 (15:05 +0000)]
improved integration into category bar. Note: options is not functional until SkinJoinCategoryLinks hook is implemented (merge pending)
Chad Horohoe [Wed, 9 Jul 2008 12:27:34 +0000 (12:27 +0000)]
Fix regression from r37158, Article::lastModified() now works on non-mySQL schemas again. Patch by OverlordQ.
Huji [Wed, 9 Jul 2008 12:06:35 +0000 (12:06 +0000)]
Localisation updates: Adding/updating Persian translations
Bryan Tong Minh [Wed, 9 Jul 2008 11:44:49 +0000 (11:44 +0000)]
* Added flag "top" to list=usercontribs if the user is the last contributor to the page
* Limited API section in RELEASE-NOTES to 80 chars
Raimond Spekking [Wed, 9 Jul 2008 11:30:34 +0000 (11:30 +0000)]
Move the hook 'NewRevisionFromEditComplete'
It should not run if a belated edit conflict occurs.
Issue reported by the German community after some weired revision histories were found.
Rotem Liss [Wed, 9 Jul 2008 09:31:16 +0000 (09:31 +0000)]
Update and fixes.
Rotem Liss [Wed, 9 Jul 2008 09:28:10 +0000 (09:28 +0000)]
Removing the ordered list workaround for Firefox in RTL: Firefox 3, released a few weeks ago, fixes this issue. The workaround causes problems with the numbering in Firefox. I think that it is better to remove this workaround because of its problems.
The unordered list workaround does not seem to cause problems; it should stay until most Firefox users upgrade to Firefox 3.
Niklas Laxström [Wed, 9 Jul 2008 09:17:20 +0000 (09:17 +0000)]
* More fixes to misuse of wfmsg functions
* Should fix bug 14767
Niklas Laxström [Wed, 9 Jul 2008 09:10:23 +0000 (09:10 +0000)]
* Fix some misuse of message functions
* Part of bug 14767
* This code duplication makes me puke
* Removed historysize, redundant when we have nbytes
Andrew Garrett [Wed, 9 Jul 2008 08:21:51 +0000 (08:21 +0000)]
Fatal errors are bad
Shinjiman [Wed, 9 Jul 2008 08:16:39 +0000 (08:16 +0000)]
* (bug 14604) Update LanguageConverter for compatibility on -{*|xxx}- usage
patch by fdcn
Shinjiman [Wed, 9 Jul 2008 08:05:49 +0000 (08:05 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Localisation updates Cantonese and Chinese for extension messages
Andrew Garrett [Wed, 9 Jul 2008 06:44:31 +0000 (06:44 +0000)]
Core change for AbuseFilter extension: allow log entries to specify the doer of the action.
Tim Starling [Wed, 9 Jul 2008 06:20:52 +0000 (06:20 +0000)]
Remove "experimental" tag from MySQL 4.1+ character set options, and warn users against using the "backwards-compatble" mode instead, which, it turns out, is a whole lot worse than any problem we've ever had with the so-called experimental modes. Make mysql5-binary the default. Explain the difference between the two 4.1+ modes.
Tim Starling [Wed, 9 Jul 2008 05:50:05 +0000 (05:50 +0000)]
Updated various things in the docs directory. Completely rewrote skin.txt, updated database.txt, memcached.txt and title.txt.
Brion Vibber [Wed, 9 Jul 2008 01:17:41 +0000 (01:17 +0000)]
Cleanup r37317 -- let's make this a little more legible. :)
Brion Vibber [Wed, 9 Jul 2008 01:07:49 +0000 (01:07 +0000)]
Revert r37295 "(bug 14159) Use of MEMCACHE_COMPRESSED constant causes an E_NOTICE on PHP installs with the Memcache module installed. Renamed to MEMCACHE_MCOMPRESSED."
No such constant is modified here... there's a class constant instead which is being renamed, apparently for no reason.
Siebrand Mazeland [Tue, 8 Jul 2008 23:02:00 +0000 (23:02 +0000)]
Localisation updates for core messages from Betawiki (2008-07-08 23:21 CEST)
Raimond Spekking [Tue, 8 Jul 2008 21:29:02 +0000 (21:29 +0000)]
Localisation updates German
Roan Kattouw [Tue, 8 Jul 2008 20:53:41 +0000 (20:53 +0000)]
(bug 14758) unknown_action message was output twice, once formatted and once unformatted
Rotem Liss [Tue, 8 Jul 2008 20:49:20 +0000 (20:49 +0000)]
* Removing sitesupport messages from core.
* Moving sitesupport tooltip to WikimediaMessages.
Chad Horohoe [Tue, 8 Jul 2008 18:18:47 +0000 (18:18 +0000)]
Buuuump for r37320
Alexandre Emsenhuber [Tue, 8 Jul 2008 17:27:50 +0000 (17:27 +0000)]
Missing param to wfDeprecated()
Bryan Tong Minh [Tue, 8 Jul 2008 15:02:07 +0000 (15:02 +0000)]
(bug 13588) Experimentally track link changes if $wgTrackLinkChanges is set to true. Requires schema change.
Chad Horohoe [Tue, 8 Jul 2008 14:49:58 +0000 (14:49 +0000)]
Wikibits no longer uses document.write() (fixes bug 2186).
Chad Horohoe [Tue, 8 Jul 2008 13:53:38 +0000 (13:53 +0000)]
Redirects on Special:FewestRevisions are now marked as such (bug 9736)
Andrew Garrett [Tue, 8 Jul 2008 13:45:40 +0000 (13:45 +0000)]
Fix weirdness in Userrights and derived pages where no groups didn't appear as (none)
Rotem Liss [Tue, 8 Jul 2008 13:10:44 +0000 (13:10 +0000)]
Update for he.
Tim Starling [Tue, 8 Jul 2008 12:59:51 +0000 (12:59 +0000)]
* Slightly less crackolicious implementation of --compare, which doesn't require writing all the test results to a transactional database and then rolling them back. Write the results only with --record, and compare with PHP instead of SQL.
* Revert revert r37284 and fix --record/--compare
* Fix interaction of --record/--compare with --regex
* Use a separate DB connection for writing test results, so that it can actually be rolled back, say on ctrl-c. Uses the fun new LBFactory feature from r37302.
Tim Starling [Tue, 8 Jul 2008 10:41:08 +0000 (10:41 +0000)]
* LBFactory is not really much of a factory if it doesn't have new*() functions, is it? Introduced them, for use in parserTests.inc.
* Came up with a neater way to micro-optimise local section determination.
* Renamed LBFactory::destroy() to LBFactory::destroyInstance(), and made it close connections since apparently that's not done by default when the connection resources are destroyed.
* Removed Database::$mOut, hasn't been used for a while and it dirties up var_dump($db)
Jon Harald Søby [Tue, 8 Jul 2008 10:35:34 +0000 (10:35 +0000)]
Removing segment in Simple's main.css that was adding (!) English text for every language, without possibility of localisation.
Bryan Tong Minh [Tue, 8 Jul 2008 08:42:27 +0000 (08:42 +0000)]
User::editToken expects the salt as an array, not as variable length argument list.
Niklas Laxström [Tue, 8 Jul 2008 08:05:54 +0000 (08:05 +0000)]
* Move message functions to own file
* Improve documentation
* Reduce code duplication
* Fix the braindamage that wfMsg and friends were doing transform, but in the wrong language
Shinjiman [Tue, 8 Jul 2008 02:34:11 +0000 (02:34 +0000)]
* tweak some -{}- parsings
* adding namespace aliases for the Chinese language (zh)
patches by fdcn
Shinjiman [Tue, 8 Jul 2008 02:20:23 +0000 (02:20 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Chad Horohoe [Tue, 8 Jul 2008 00:43:24 +0000 (00:43 +0000)]
(bug 14159) Use of MEMCACHE_COMPRESSED constant causes an E_NOTICE on PHP installs with the Memcache module installed. Renamed to MEMCACHE_MCOMPRESSED.
Ryan Schmidt [Mon, 7 Jul 2008 22:37:42 +0000 (22:37 +0000)]
* Add new hook NormalizeMessageKey to allow extensions to change what system message is being shown before any queries are made
Raimond Spekking [Mon, 7 Jul 2008 20:41:47 +0000 (20:41 +0000)]
Localisation updates German