Commit graph

9756 commits

Author SHA1 Message Date
Rotem Liss
0be256bcba Changing all the last references from LanguageUtf8 to Language, and finally removing it. 2006-08-06 14:23:53 +00:00
Rotem Liss
b37b4783fd * Completely rewriting and reformatting the code of the localisation statistics utility: removing several unuseful features (viewing the obsolete messages which is already exist in checkLanguage.php, and no output which is not useful without that feature), using the languages object, replacing the Untranslated column by the Possibly untranslated (duplicate) column (written by Niklas Laxström), ignoring the ignored messages, ignoring English and (temporarily) enRTL languages, echoing directly without using a buffer, merging some changes by Niklas Laxström.
* Introducing the concept of translatable messages to the languages object, and using it instead of the English messages.
* Adding ignored messages to the obsolete messages list.
* Removing the message "metadata-fields" from the ignored messages list, as it contains help in the local language.
* Fixing a whitespace in zh-yue messages file.
2006-08-06 14:06:57 +00:00
Tim Starling
91006d5acb Optimised Sanitizer::removeHTMLtags, Parser::unstrip, Parser::doMagicLinks, Parser::replaceInternalLinks and Parser::replace_callback. Introduced fast abridged entry point Parser::recursiveTagParse, for recursive parsing called from Cite.php and similar extensions. Resolved a known fail parser test. 2006-08-06 14:01:47 +00:00
Tim Starling
6530b5eb12 Allow negative caching for sites with no commons 2006-08-06 13:32:56 +00:00
Jimmy Collins
ea7eb2b570 (bug 6930) Update to Indonesian localisation (id) 2006-08-05 22:48:56 +00:00
Rotem Liss
b303422a51 Allow checking all the languages in one script. 2006-08-05 18:35:41 +00:00
Rotem Liss
d2ea558847 Adding a check for messages which include hidden chars (mostly written by Niklas Laxström). 2006-08-05 18:13:33 +00:00
Rotem Liss
1371b0a3b2 Removing the unused message 'linktrail' from the ignored messages. 2006-08-05 17:36:12 +00:00
Jimmy Collins
6e586ccd63 Moved linktrail from message array to $linkTrail 2006-08-05 17:33:09 +00:00
Rotem Liss
db38734542 Adding a check for non-XHTML messages (mostly written by Niklas Laxström), and a fix. 2006-08-05 17:13:55 +00:00
Jimmy Collins
e9a4930729 Moved some Walon (wa) translations to LuceneSearch extension 2006-08-05 17:13:13 +00:00
Rotem Liss
7f65deb866 * Adding checks for empty messages and messages with trailing whitespace (mostly written by Niklas Laxström).
* Adding help for the script.
* Adding option to hide the lists of messages.
* Several minor fixes.
2006-08-05 17:00:40 +00:00
Rotem Liss
e12e39eb62 Adding a check if the local messages uses all the variables specified in the English message, mostly written by Niklas Laxström. 2006-08-05 16:16:43 +00:00
Tim Starling
bfa7d85534 Marked expected, checked-in failures with "TODO". Changed the double RFC with link test to stop relying on apparently accidental behaviour, behaviour which will shortly be changed. 2006-08-05 15:45:34 +00:00
Rotem Liss
c38d561090 Creating an improved script to check language files, adding the ignored messages list (created by Niklas Laxström), and improving the languages class for the scripts. 2006-08-05 15:31:05 +00:00
Tim Starling
b6cd50abda long opening tags (<?php) 2006-08-05 14:20:33 +00:00
Tim Starling
e46eb0fff5 Improved negative caching 2006-08-05 14:12:34 +00:00
Tim Starling
3f80b41dc2 Added experimental history paging API, subject to change 2006-08-05 14:10:10 +00:00
Tim Starling
119aafef9b In DBA caches: fixed return value when the key is missing 2006-08-05 14:06:19 +00:00
Jimmy Collins
a29e1b60f3 remove unused message 2006-08-05 11:51:31 +00:00
Rotem Liss
08c466fda9 Fixing transstats.php script. 2006-08-05 11:44:13 +00:00
Rotem Liss
9c7c042400 Removing the unused message "category" (was used as a prefix for category pages, replaced by the category namespace) from all the language files. 2006-08-05 11:19:30 +00:00
Rotem Liss
afed8dd6fc Cleaning up the new translation zh-yue from unused messages. 2006-08-05 10:45:56 +00:00
Niklas Laxström
8b91ba5476 * Fix dateformats 2006-08-05 09:41:38 +00:00
Rotem Liss
01458b1609 Using a workaround for the language scripts - including the messages file themselves, then using the raw messages array, to avoid getting the fallback messages. 2006-08-04 21:50:06 +00:00
Rotem Liss
8de5904f8c Reverting a test code. 2006-08-04 20:59:13 +00:00
Rotem Liss
83f7f25ea2 In the language scripts:
* Using Language::getMessagesFor instead of creating new language objects.
* Allowing a parameter which specifies the language code to check instead of the default one, in checktrans.php, duplicatetrans.php and unusedMessages.php.
checktrans.php still does not work; duplicatetrans.php still works improperly.
2006-08-04 20:58:19 +00:00
Jimmy Collins
d76e727354 add \n 2006-08-04 20:25:11 +00:00
Rotem Liss
c608195c04 (bug 6827) some i18n specific maintenance scripts fails after merge of localisation-work branch
Because of some changes, it's difficult to know which messages are duplicate and which are not specified, therefore some scripts do not work properly; also, I didn't understand diffLanguage.php, therefore I still didn't fix.
2006-08-04 20:18:57 +00:00
Greg Sabino Mullane
e15edf0886 Refactor GROUP BY clause, add extra columns for SQL compatibility, remove debugging code.
Tested on MySQL with both $uid and !$uid. :)
2006-08-04 20:18:43 +00:00
Tim Starling
88ddff4eb8 Fixed $wgDebugComments 2006-08-04 20:15:07 +00:00
Rotem Liss
2f2221708f Using a better method to get the English language file. 2006-08-04 19:47:10 +00:00
Niklas Laxström
5b55ff86d0 * Unicode perhaps 2006-08-04 19:31:56 +00:00
Jimmy Collins
9494318cb4 * (bug 6700) Added Kazakh language variants to Names.php 2006-08-04 19:10:28 +00:00
Jimmy Collins
075b9d16f4 * (bug 6753) Fixed broken Kazakh linktrail (kk) 2006-08-04 19:03:26 +00:00
Jimmy Collins
9a2438b6d4 (bug 6865) Update for Russian language (ru) 2006-08-04 18:39:07 +00:00
Jimmy Collins
0b1c6e0673 (bug 6704) Tajik linktrail (tg) 2006-08-04 18:20:49 +00:00
Rotem Liss
bc71ef790b (bug 6919) Add English alias magic words for Tatar (tt) language file. 2006-08-04 18:09:22 +00:00
Rotem Liss
3afb14b6bc Fixing a comment. 2006-08-04 17:59:59 +00:00
Tim Starling
559e8c9edd put the /i modifier back in the namespace grammar thing 2006-08-03 18:04:38 +00:00
Tim Starling
aad5390cda LanguageUtf8 is gone 2006-08-03 13:23:11 +00:00
Rotem Liss
460744b983 Updating the list of backlinks to namespaces in the skin Standard with the "new" namespaces - MediaWiki, Template, Help and Category. 2006-08-03 12:38:24 +00:00
Rotem Liss
189e10775a Using "grammar" in lowercase, because uppercase "GRAMMAR" is not parsed, in the project talk namespace of the rmy localisation. 2006-08-03 10:01:32 +00:00
Brion Vibber
48e0c7474b * Fix regression in Korean and Japanese date formatting (day of week) 2006-08-03 04:31:02 +00:00
Brion Vibber
2a7e63c972 revert 15898, broke the wiki 2006-08-03 03:09:05 +00:00
Jimmy Collins
b6b3d321b5 * (bug 6903) Added Cantonese localisation (zh-yue) 2006-08-02 22:02:00 +00:00
Domas Mituzas
8dd7b088ba commit early, commit often! 2006-08-02 18:53:24 +00:00
Domas Mituzas
ca6321d4c6 erghhhh 2006-08-02 18:48:30 +00:00
Rotem Liss
04311d766c Update the maintenance script alltrans.php for the new language files. 2006-08-02 18:37:55 +00:00
Domas Mituzas
63307ad99c Move SO::_getCaller() to Profiler::getCaller() 2006-08-02 18:34:01 +00:00