Brion Vibber [Wed, 16 Jul 2008 10:15:47 +0000 (10:15 +0000)]
Revert r37741 for now "Changed getInternalLinkAttributesInternal parameters: now accepts Title object if available, passes to hook. Also reordered some code in makeKnownLinkObj so that said hook can mangle the Title object. Reordering should have no other side-effects."
This seems a bit icky and inconsistent. If it's necessary to pass titles around here, it should be done consistently, with appropriate fixups and refactoring to the old spaghetti code.
Niklas Laxström [Wed, 16 Jul 2008 08:48:53 +0000 (08:48 +0000)]
* Allow wikitext in file-info, file-info-size, svg-long-desc instead of mix of unescaped and plain
* Format numbers in svg-long-desc
David McCabe [Wed, 16 Jul 2008 07:22:21 +0000 (07:22 +0000)]
Changed getInternalLinkAttributesInternal parameters: now accepts Title object if available, passes to hook. Also reordered some code in makeKnownLinkObj so that said hook can mangle the Title object. Reordering should have no other side-effects.
Roan Kattouw [Tue, 15 Jul 2008 22:03:34 +0000 (22:03 +0000)]
Redoing r37642 ('Added possibility to filter by protocol in "list all links" mode') *really* right this time, the example broke because I had 'http' instead of '' on line 78.
Brion Vibber [Tue, 15 Jul 2008 21:53:36 +0000 (21:53 +0000)]
Revert r37717 -- if you didn't like the other reasons, the fact that it obviously wasn't tested and breaks the example might interest you.
Siebrand Mazeland [Tue, 15 Jul 2008 21:40:16 +0000 (21:40 +0000)]
Localisation updates for core messages from Betawiki (2008-07-15 23:25 CEST)
Brion Vibber [Tue, 15 Jul 2008 21:35:32 +0000 (21:35 +0000)]
Revert r37686, 37687 for now:
"Improving extendibility of the sidebar improvements, css adding, and also JS variables."
"* New hooks:"
"** SkinSidebarSpecialBox and SkinSidebarOutputSpecialBox to allow extensions to add new custom boxes to Tim's new Sidebar system"
"** SkinSetupSiteCss to allow extensions to modify and add new stylesheets to load into the page. This one allows for fine positioning and can be very useful for things like an extension providing global css for a wiki farm."
"** SkinGlobalVariables to allow extensions to add new global variables to export to the JS variables in the page."
At least some of these appear to duplicate existing functionality -- extensions already can add new stylesheets and JS variables, and I'm pretty sure can add portals as well.
Brion Vibber [Tue, 15 Jul 2008 21:33:26 +0000 (21:33 +0000)]
Revert r37709 so I can cleanly revert other changes to these lines
Roan Kattouw [Tue, 15 Jul 2008 21:29:27 +0000 (21:29 +0000)]
Revert r37712 which was itself a revert of r37642 (filter by protocol in list-all-links mode). $protocol is validated already: only protocols in $wgUrlProtocols are accepted (line 168) and the : (and, if required, //) part is added in lines 57-65, making both reasons for the revert moot.
Brion Vibber [Tue, 15 Jul 2008 21:16:32 +0000 (21:16 +0000)]
Revert r37669: LinkerLinkAttributes hook doesn't seem to make a lot of sense. The parameters passed can't be modified, and they are escaped for output, making it unsuitable as a general extension hook.
Brion Vibber [Tue, 15 Jul 2008 21:13:34 +0000 (21:13 +0000)]
Revert r37663 for now:
"* (bug 13815) In the comment for page moves, use the colon-separator message instead of a hardcoded colon."
"* So that this works properly, don't escape HTML entities in edit summaries. I don't see any good reason for them to be escaped there. Of course, this may result in old edit summaries displaying slightly differently if for some reason they included an entity, but in that case there's at least a 50% chance that they intended it to not be escaped in the first place."
This breaks the ability to easily discuss entities in summaries such as "add ".
Brion Vibber [Tue, 15 Jul 2008 20:51:07 +0000 (20:51 +0000)]
Revert r37642 for now ('Added possibility to filter by protocol in "list all links" mode.'):
* doesn't properly validate $protocol when building like query for protocol-only case, could lead to ugly slow arbitrary queries
* no : added to protocol -- will match false positives (eg 'http' matching 'https')
Alexandre Emsenhuber [Tue, 15 Jul 2008 19:51:18 +0000 (19:51 +0000)]
Added some tabs in the generated html so that it is easier to read the <head> element
Siebrand Mazeland [Tue, 15 Jul 2008 19:30:42 +0000 (19:30 +0000)]
Rverting r37705, and r37706.
String freeze in place for core messages awaiting branching of MediaWiki 1.13 and giving translators a chance to localise to the current state. Please hold off on any changes until then.
Rotem Liss [Tue, 15 Jul 2008 19:26:09 +0000 (19:26 +0000)]
Various fixes for Hebrew translation.
Rotem Liss [Tue, 15 Jul 2008 19:24:10 +0000 (19:24 +0000)]
* Adding link to the deletion log in uploadtext.
Rotem Liss [Tue, 15 Jul 2008 19:21:49 +0000 (19:21 +0000)]
Linking to special pages.
Alexandre Emsenhuber [Tue, 15 Jul 2008 17:42:08 +0000 (17:42 +0000)]
Per comment in bug 13949: fix XHTML error in Special:Prefixindex (was already done on Special:Allpages)
Robert Stojnić [Tue, 15 Jul 2008 16:49:57 +0000 (16:49 +0000)]
Fix regreesion in r37662, disabled conversion when interface language variant is different that main wiki language variant.
Chad Horohoe [Tue, 15 Jul 2008 16:00:22 +0000 (16:00 +0000)]
(bug 14778) 'limit' parameter now applies to history feeds as well as history pages (and now doesn't break if the limit is negative)
Chad Horohoe [Tue, 15 Jul 2008 15:43:43 +0000 (15:43 +0000)]
Remove $use_index that has been commented out for about 31000 revisions. Quick testing shows forcing use of rev_timestamp or page_timestamp indexes to be slower, so there's no point in using them instead.
Siebrand Mazeland [Tue, 15 Jul 2008 13:05:33 +0000 (13:05 +0000)]
* Move *-summary from optional to ignored.
* rebuild all messages files
* fix a typo in comment
Daniel Friesen [Tue, 15 Jul 2008 11:14:14 +0000 (11:14 +0000)]
A single syntax error, I tested for validity and still I get one.
Daniel Friesen [Tue, 15 Jul 2008 11:03:04 +0000 (11:03 +0000)]
Improving extendibility of the sidebar improvements, css adding, and also JS variables.
* New hooks:
** SkinSidebarSpecialBox and SkinSidebarOutputSpecialBox to allow extensions to add new custom boxes to Tim's new Sidebar system
** SkinSetupSiteCss to allow extensions to modify and add new stylesheets to load into the page. This one allows for fine positioning and can be very useful for things like an extension providing global css for a wiki farm.
** SkinGlobalVariables to allow extensions to add new global variables to export to the JS variables in the page.
Andrew Garrett [Tue, 15 Jul 2008 08:43:40 +0000 (08:43 +0000)]
Reintroduce some changes which were reverted for causing fatal errors.
Leonardo Gregianin [Tue, 15 Jul 2008 03:42:09 +0000 (03:42 +0000)]
99.95% translated
Siebrand Mazeland [Tue, 15 Jul 2008 00:35:27 +0000 (00:35 +0000)]
Localisation updates for core messages from Betawiki (2008-07-15 02:26 CEST)
Siebrand Mazeland [Tue, 15 Jul 2008 00:21:28 +0000 (00:21 +0000)]
Hit getNonXHTMLMessages for <br> and <hr> too.
Siebrand Mazeland [Mon, 14 Jul 2008 22:31:01 +0000 (22:31 +0000)]
Remove English message
David McCabe [Mon, 14 Jul 2008 22:29:53 +0000 (22:29 +0000)]
Added LinkerLinkAttributes hook.
Robert Stojnić [Mon, 14 Jul 2008 22:20:31 +0000 (22:20 +0000)]
Sequel to r37662: avoid infinite recursion in User when default params are used.
Leonardo Gregianin [Mon, 14 Jul 2008 22:06:58 +0000 (22:06 +0000)]
more review
Chad Horohoe [Mon, 14 Jul 2008 21:53:44 +0000 (21:53 +0000)]
Naming convention is "changes," not "change."
Leonardo Gregianin [Mon, 14 Jul 2008 21:53:05 +0000 (21:53 +0000)]
more review
Aryeh Gregor [Mon, 14 Jul 2008 21:43:27 +0000 (21:43 +0000)]
* (bug 13815) In the comment for page moves, use the colon-separator message instead of a hardcoded colon.
* So that this works properly, don't escape HTML entities in edit summaries. I don't see any good reason for them to be escaped there. Of course, this may result in old edit summaries displaying slightly differently if for some reason they included an entity, but in that case there's at least a 50% chance that they intended it to not be escaped in the first place.
Robert Stojnić [Mon, 14 Jul 2008 21:32:13 +0000 (21:32 +0000)]
* (bug 10837) Language variants overrides languages other than the variant main language.
Explicitely forbid conversion when interface language is different than the main content language.
Alexandre Emsenhuber [Mon, 14 Jul 2008 19:34:12 +0000 (19:34 +0000)]
Fatal error: Call to a member function formatNum() on a non-object in includes/Linker.php on line 1218
Niklas Laxström [Mon, 14 Jul 2008 19:10:47 +0000 (19:10 +0000)]
* Cleanup for r37375. Split duplicated code into function and really fix it
Alexandre Emsenhuber [Mon, 14 Jul 2008 19:07:56 +0000 (19:07 +0000)]
update comment
Alexandre Emsenhuber [Mon, 14 Jul 2008 18:25:43 +0000 (18:25 +0000)]
Added missing settings: $wgDBpassword, $wgDBmwschema and $wgDBts2schema
Leonardo Gregianin [Mon, 14 Jul 2008 18:03:45 +0000 (18:03 +0000)]
update all messages, I will also review
Rotem Liss [Mon, 14 Jul 2008 16:21:15 +0000 (16:21 +0000)]
One more alias.
Siebrand Mazeland [Mon, 14 Jul 2008 14:25:19 +0000 (14:25 +0000)]
Localisation updates for core messages from Betawiki (2008-07-14 16:20 CEST)
Roan Kattouw [Mon, 14 Jul 2008 12:04:04 +0000 (12:04 +0000)]
API list=exturlusage: Added possibility to filter by protocol in "list all links" mode. euprotocol now accepts an empty string too, which is interpreted as "list all links" if euquery is empty, and silently interpreted as 'http' if euquery is not empty, to preserve backwards compatibility.
Rotem Liss [Mon, 14 Jul 2008 09:10:05 +0000 (09:10 +0000)]
Add spacing in Special:Protectedpages.
Siebrand Mazeland [Sun, 13 Jul 2008 20:41:39 +0000 (20:41 +0000)]
Localisation updates for magic, special pages aliases, skin names from Betawiki
Siebrand Mazeland [Sun, 13 Jul 2008 20:17:08 +0000 (20:17 +0000)]
Localisation updates for extencoresion messages from Betawiki (2008-07-13 22:06 CEST)
Niklas Laxström [Sun, 13 Jul 2008 13:59:30 +0000 (13:59 +0000)]
* Number format for Khmer (no thousand separator, ',' as decimal separator)
Rotem Liss [Sun, 13 Jul 2008 12:12:10 +0000 (12:12 +0000)]
Fixing translation.
Rotem Liss [Sun, 13 Jul 2008 10:58:43 +0000 (10:58 +0000)]
Typo in comment.
Siebrand Mazeland [Sun, 13 Jul 2008 10:16:48 +0000 (10:16 +0000)]
Update help
Danny B [Sat, 12 Jul 2008 19:51:32 +0000 (19:51 +0000)]
* new date/time formats according to Czech state norms and The rules of Czech orthography
* adding couple descriptions
* abc ordering of authors
* minor formatting tweaks
Brion Vibber [Sat, 12 Jul 2008 14:11:52 +0000 (14:11 +0000)]
r37552/37553 mysteriously changed all our standard example.com examples to example.org.
Since most web users will be more familiar with .com, and example.com is pretty widely used as an example, let's just stick with it.
(Did a search-and-replace on the results rather than reverting as many of the previous localizations had non-standard translations of the example domain.)
Brion Vibber [Sat, 12 Jul 2008 14:05:04 +0000 (14:05 +0000)]
Revert r37567 for nwo ("(bug 8604) padright: and similar functions fail with non-ASCII arguments")
This implements an mb_str_pad fallback function, but there is no mb_str_pad in PHP documentation, and the doc comments are really weird -- it says it returns an integer!
If this function is created from whole cloth and doesn't exist in PHP, it should be given a MediaWiki style name and not be done with a function_exists check as though it were a compat function.
Niklas Laxström [Sat, 12 Jul 2008 13:57:22 +0000 (13:57 +0000)]
* Fix few instances of metadata-fields
Siebrand Mazeland [Sat, 12 Jul 2008 13:33:45 +0000 (13:33 +0000)]
Localisation updates for extension messages from Betawiki (2008-07-12 15:26 CEST)
Siebrand Mazeland [Sat, 12 Jul 2008 12:30:12 +0000 (12:30 +0000)]
Fix indentation (thanks Niklas)
Siebrand Mazeland [Sat, 12 Jul 2008 12:23:41 +0000 (12:23 +0000)]
Add option to rebuildLanguage.php
* --remove-unknown: Remove unknown messages
Meno25 [Sat, 12 Jul 2008 07:02:25 +0000 (07:02 +0000)]
Add authors to file
Siebrand Mazeland [Fri, 11 Jul 2008 22:23:13 +0000 (22:23 +0000)]
Process r37565. Remove obsolete messages.
Huji [Fri, 11 Jul 2008 19:13:20 +0000 (19:13 +0000)]
Localisation updates: Adding/updating Persian translations
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