Tim Starling [Tue, 15 Aug 2006 02:24:59 +0000 (02:24 +0000)]
optionally remove comments in preprocess()
Tim Starling [Mon, 14 Aug 2006 23:10:58 +0000 (23:10 +0000)]
Pass down $disableCache when calling Language::loadLocalisation() recursively
Tim Starling [Mon, 14 Aug 2006 22:43:50 +0000 (22:43 +0000)]
Added {{CURRENTHOUR}}
Domas Mituzas [Mon, 14 Aug 2006 21:34:57 +0000 (21:34 +0000)]
add wfGetAllCallers(), utility function for some occasional profiling magic
Domas Mituzas [Mon, 14 Aug 2006 18:18:35 +0000 (18:18 +0000)]
replace header() with $wgRequest->response()->header()
Tim Starling [Mon, 14 Aug 2006 07:10:31 +0000 (07:10 +0000)]
Added Parser::preprocess() entry point and OT_PREPROCESS output type, to expand templates and other similar entities producing valid wikitext as output. The immediate application is a special page extension, shortly to be committed, but it may be used in the future to produce an intermediate cache, to improve the rendering speed of stable versions or other kinds of old revisions. Added some shortcut aliases for output type comparsions.
Tim Starling [Mon, 14 Aug 2006 05:43:30 +0000 (05:43 +0000)]
Namespace updates for Urdu, bug 6552
Brion Vibber [Sun, 13 Aug 2006 23:42:38 +0000 (23:42 +0000)]
Revert part of 16036 using an undefined magic word, spews errors everywhere
Daniel Kinzler [Sun, 13 Aug 2006 22:12:50 +0000 (22:12 +0000)]
fixing html escape of page title in <h1> tag (bug 6986)
Jens Frank [Sun, 13 Aug 2006 21:09:20 +0000 (21:09 +0000)]
DJVU rendering: Handle old DB metadata entries
Rotem Liss [Sun, 13 Aug 2006 21:03:56 +0000 (21:03 +0000)]
Moving Hebrew file credits.
Rotem Liss [Sun, 13 Aug 2006 20:59:50 +0000 (20:59 +0000)]
Adding the formatnum magic word.
Jens Frank [Sun, 13 Aug 2006 20:42:10 +0000 (20:42 +0000)]
Fix undefined variables
Jens Frank [Sun, 13 Aug 2006 20:03:11 +0000 (20:03 +0000)]
remove superfluous debugging code
Rotem Liss [Sun, 13 Aug 2006 18:23:15 +0000 (18:23 +0000)]
Swap the table pager images in RTL languages.
Rotem Liss [Sun, 13 Aug 2006 18:16:26 +0000 (18:16 +0000)]
Update.
Jens Frank [Sun, 13 Aug 2006 17:38:42 +0000 (17:38 +0000)]
(bug 7000) updated MessagesPl.php
Jens Frank [Sun, 13 Aug 2006 17:34:48 +0000 (17:34 +0000)]
(bug 6420) Render thumbnails for djvu images, show multipage preview on image page
Greg Sabino Mullane [Sun, 13 Aug 2006 14:35:51 +0000 (14:35 +0000)]
Explcitily grant permissions when we connect as superuser and the schema already exists.
Greg Sabino Mullane [Sun, 13 Aug 2006 02:42:22 +0000 (02:42 +0000)]
Remove 4.3.2 php version check, as we require 5 now.
Tim Starling [Sun, 13 Aug 2006 01:06:41 +0000 (01:06 +0000)]
Tim Starling [Sun, 13 Aug 2006 00:49:32 +0000 (00:49 +0000)]
Revamped Special:Imagelist. Implemented generic table-based data display.
Domas Mituzas [Sat, 12 Aug 2006 23:03:53 +0000 (23:03 +0000)]
add some abstraction for web responses, so far minimal and not that used, requires discussion, conflicts and reverts %)
Greg Sabino Mullane [Sat, 12 Aug 2006 19:52:47 +0000 (19:52 +0000)]
Fix whitespace, especially tabs->spaces to make LocalSettings.php look prettier and more consistent.
Rotem Liss [Sat, 12 Aug 2006 19:42:39 +0000 (19:42 +0000)]
Removing the last use of the mesasge 'administrators', and removing it from all the language files.
Greg Sabino Mullane [Sat, 12 Aug 2006 19:40:33 +0000 (19:40 +0000)]
Fix some spacing, ensure that we do not reset the superuser
name if loading the page the second time.
Greg Sabino Mullane [Sat, 12 Aug 2006 19:04:53 +0000 (19:04 +0000)]
Make pf_server nullable.
Rotem Liss [Sat, 12 Aug 2006 09:24:18 +0000 (09:24 +0000)]
Adding static functions to User to create links to groups in either HTML or Wikitext; using the HTML function in Special:Listusers; using the Wikitext function in Special:Statistics instead of a raw link to the sysops page (kept for backwards compatibility); several code fixes.
Tim Starling [Sat, 12 Aug 2006 06:12:54 +0000 (06:12 +0000)]
Fixed regex in doMagicLinks (broken since r15976)
Greg Sabino Mullane [Fri, 11 Aug 2006 23:18:26 +0000 (23:18 +0000)]
Add notes column.
Greg Sabino Mullane [Fri, 11 Aug 2006 19:31:09 +0000 (19:31 +0000)]
Bump oldimage size type from smallint to integer
Brion Vibber [Fri, 11 Aug 2006 16:22:51 +0000 (16:22 +0000)]
* (bug 6971) Fix regression in Special:Export history view
Jimmy Collins [Thu, 10 Aug 2006 22:42:06 +0000 (22:42 +0000)]
(bug 6970) Patch for Spanish messages (es)
Jimmy Collins [Thu, 10 Aug 2006 22:27:32 +0000 (22:27 +0000)]
Update to German localisation
Tim Starling [Thu, 10 Aug 2006 21:28:49 +0000 (21:28 +0000)]
Template expansion size limit
Rotem Liss [Thu, 10 Aug 2006 18:20:50 +0000 (18:20 +0000)]
Moved all the extension messages from Walloon (wa) localisation to the extensions themselves (except for Makebot), removed the obsolete validation messages and removed some duplicate keys.
Rotem Liss [Thu, 10 Aug 2006 17:42:58 +0000 (17:42 +0000)]
Removed the highly redundant messages from Walloon (wa) file - it should include *only* messages about MediaWiki itself, not messages about Wikipedia, Commons or BetaWiki.
Rotem Liss [Thu, 10 Aug 2006 12:30:35 +0000 (12:30 +0000)]
Display levels, option to links.
Rotem Liss [Thu, 10 Aug 2006 12:05:32 +0000 (12:05 +0000)]
Moving Captcha messages from the Bosnian (bs) file to the extension internationalisation file.
Rotem Liss [Thu, 10 Aug 2006 11:23:15 +0000 (11:23 +0000)]
Spacing.
Tim Starling [Thu, 10 Aug 2006 09:10:06 +0000 (09:10 +0000)]
It broke things
Tim Starling [Thu, 10 Aug 2006 08:00:53 +0000 (08:00 +0000)]
Fixed PreferencesForm::validateDate().
Tim Starling [Thu, 10 Aug 2006 01:34:50 +0000 (01:34 +0000)]
Removed errant newline
Rotem Liss [Wed, 9 Aug 2006 17:14:49 +0000 (17:14 +0000)]
(bug 6961) Update to Indonesian localisation (id) #32
Greg Sabino Mullane [Wed, 9 Aug 2006 16:13:07 +0000 (16:13 +0000)]
Prevent a SQL error if no bot groups exist, by not doing the whole outer join.
Rotem Liss [Wed, 9 Aug 2006 12:50:26 +0000 (12:50 +0000)]
Adding linktrail and linkprefix to the Georgian localisation, per request.
Rotem Liss [Tue, 8 Aug 2006 18:43:46 +0000 (18:43 +0000)]
Removing the message "googlesearch" from the language files except for English, as it is in the ignored list.
Rotem Liss [Tue, 8 Aug 2006 18:34:52 +0000 (18:34 +0000)]
Define the weekday abbreviations messages because they are defined in Language::mWeekdayAbbrevMsgs, may be used in some date formats, and mark these messages in other language files as non-obsolete.
Rotem Liss [Tue, 8 Aug 2006 18:08:46 +0000 (18:08 +0000)]
Displaying all the groups with the permission, not only the first defined one, in OutputPage::permissionRequired; patch by Simetrical ( bugzilla.wikimedia.org/attachment.cgi?id=2205&action=view ), with several changes.
Rotem Liss [Tue, 8 Aug 2006 17:21:55 +0000 (17:21 +0000)]
Removing the obsolete message "badaccesstext" (replaced by "badaccess-nogroup" and "badaccess-group") from all the language files.
Rob Church [Tue, 8 Aug 2006 16:45:22 +0000 (16:45 +0000)]
* Consistent use of spacing
* Escape message text before echoing it as raw HTML
Rotem Liss [Tue, 8 Aug 2006 16:33:10 +0000 (16:33 +0000)]
(bug 769) OutputPage::permissionRequired() should suggest groups with the needed permission
Rotem Liss [Tue, 8 Aug 2006 15:37:55 +0000 (15:37 +0000)]
Removing the obsolete messages "sysoptitle", "sysoptext", "developertitle" and "developertext", because OutputPage::sysopRequired and OutputPage::developerRequired are deprecated and no longer used.
Rotem Liss [Tue, 8 Aug 2006 14:20:33 +0000 (14:20 +0000)]
Finally removing the deprecated and unused functions User::isSysop, User::isBureaucrat and User::isDeveloper, and updating the release notes.
Rotem Liss [Tue, 8 Aug 2006 13:58:25 +0000 (13:58 +0000)]
Removing the last references to OutputPage::sysopRequired() and OutputPage::developerRequired() (mostly using OutputPage::permissionRequired(), but in one case - reverting of a protected image - OutputPage::readOnlyPage is better), and throwing an exception when calling them; removing two useless comments.
Rotem Liss [Tue, 8 Aug 2006 12:17:27 +0000 (12:17 +0000)]
Removing the message "userrights-logcomment", which was never used and is redundant to "rightslogentry".
Rotem Liss [Mon, 7 Aug 2006 12:21:06 +0000 (12:21 +0000)]
* Correctly get messages which use the form "mainpage/fr" even if they were not created in the database, but only in the language file. This allows us to specify things like {{int:mainpage/fr}} without creating MediaWiki:Mainpage/fr (as we do in {{int:mainpage}}), and to view the default content of pages like MediaWiki:Mainpage/fr without creating them (as we do in MediaWiki:Mainpage). For this, creating a new static function - Language::getMessageFor - and getting the message for the language with it. This parsing applies only for messages with the "/" symbol (there are no such messages), so it should not break things.
* Because we define the messages 'january-gen', 'february-gen', etc. as the genitive forms of months in Langauge::mMonthGenMsgs, I created them in the English file. This should fix the test of {{CURRENTMONTHNAMEGEN}} in the parser tests (currently seems to output "<january-gen>"), and should fix the wrong output of checkLanguage.php and transstat.php, which think that these messages are obsolete.
* Using the genitive forms of the months in Hebrew
* (bug 6939) Update to Indonesian localisation (id) #31
Rotem Liss [Sun, 6 Aug 2006 19:22:52 +0000 (19:22 +0000)]
* Remove a redundant function: LanguageSr::getVariantname.
* In the script checkLanguage.php:
** Allow hiding the values of messages, and showing only the keys.
** Allow whitelist and blacklist of checks.
** Several minor fixes.
Rotem Liss [Sun, 6 Aug 2006 18:32:12 +0000 (18:32 +0000)]
Don't use global wfMsg in a language file - use Langauge::getMessageFromDB instead.
Rotem Liss [Sun, 6 Aug 2006 18:08:21 +0000 (18:08 +0000)]
Using a new function, Language::getArrow, to check the direction, instead of hard-coding the arrows and the checks; adding direction marks in Special:DoubleRedirects; adding the real arrows (instead of =>) in Special:Disambiguations.
Rotem Liss [Sun, 6 Aug 2006 14:35:57 +0000 (14:35 +0000)]
In transstat.php, making the title of the duplicates clearer, and removing wrong "FIXME".
Rotem Liss [Sun, 6 Aug 2006 14:23:53 +0000 (14:23 +0000)]
Changing all the last references from LanguageUtf8 to Language, and finally removing it.
Rotem Liss [Sun, 6 Aug 2006 14:06:57 +0000 (14:06 +0000)]
* 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.
Tim Starling [Sun, 6 Aug 2006 14:01:47 +0000 (14:01 +0000)]
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.
Tim Starling [Sun, 6 Aug 2006 13:32:56 +0000 (13:32 +0000)]
Allow negative caching for sites with no commons
Jimmy Collins [Sat, 5 Aug 2006 22:48:56 +0000 (22:48 +0000)]
(bug 6930) Update to Indonesian localisation (id)
Rotem Liss [Sat, 5 Aug 2006 18:35:41 +0000 (18:35 +0000)]
Allow checking all the languages in one script.
Rotem Liss [Sat, 5 Aug 2006 18:13:33 +0000 (18:13 +0000)]
Adding a check for messages which include hidden chars (mostly written by Niklas Laxström).
Rotem Liss [Sat, 5 Aug 2006 17:36:12 +0000 (17:36 +0000)]
Removing the unused message 'linktrail' from the ignored messages.
Jimmy Collins [Sat, 5 Aug 2006 17:33:09 +0000 (17:33 +0000)]
Moved linktrail from message array to $linkTrail
Rotem Liss [Sat, 5 Aug 2006 17:13:55 +0000 (17:13 +0000)]
Adding a check for non-XHTML messages (mostly written by Niklas Laxström), and a fix.
Jimmy Collins [Sat, 5 Aug 2006 17:13:13 +0000 (17:13 +0000)]
Moved some Walon (wa) translations to LuceneSearch extension
Rotem Liss [Sat, 5 Aug 2006 17:00:40 +0000 (17:00 +0000)]
* 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.
Rotem Liss [Sat, 5 Aug 2006 16:16:43 +0000 (16:16 +0000)]
Adding a check if the local messages uses all the variables specified in the English message, mostly written by Niklas Laxström.
Tim Starling [Sat, 5 Aug 2006 15:45:34 +0000 (15:45 +0000)]
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.
Rotem Liss [Sat, 5 Aug 2006 15:31:05 +0000 (15:31 +0000)]
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.
Tim Starling [Sat, 5 Aug 2006 14:20:33 +0000 (14:20 +0000)]
long opening tags (<?php)
Tim Starling [Sat, 5 Aug 2006 14:12:34 +0000 (14:12 +0000)]
Improved negative caching
Tim Starling [Sat, 5 Aug 2006 14:10:10 +0000 (14:10 +0000)]
Added experimental history paging API, subject to change
Tim Starling [Sat, 5 Aug 2006 14:06:19 +0000 (14:06 +0000)]
In DBA caches: fixed return value when the key is missing
Jimmy Collins [Sat, 5 Aug 2006 11:51:31 +0000 (11:51 +0000)]
remove unused message
Rotem Liss [Sat, 5 Aug 2006 11:44:13 +0000 (11:44 +0000)]
Fixing transstats.php script.
Rotem Liss [Sat, 5 Aug 2006 11:19:30 +0000 (11:19 +0000)]
Removing the unused message "category" (was used as a prefix for category pages, replaced by the category namespace) from all the language files.
Rotem Liss [Sat, 5 Aug 2006 10:45:56 +0000 (10:45 +0000)]
Cleaning up the new translation zh-yue from unused messages.
Niklas Laxström [Sat, 5 Aug 2006 09:41:38 +0000 (09:41 +0000)]
* Fix dateformats
Rotem Liss [Fri, 4 Aug 2006 21:50:06 +0000 (21:50 +0000)]
Using a workaround for the language scripts - including the messages file themselves, then using the raw messages array, to avoid getting the fallback messages.
Rotem Liss [Fri, 4 Aug 2006 20:59:13 +0000 (20:59 +0000)]
Reverting a test code.
Rotem Liss [Fri, 4 Aug 2006 20:58:19 +0000 (20:58 +0000)]
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.
Jimmy Collins [Fri, 4 Aug 2006 20:25:11 +0000 (20:25 +0000)]
add \n
Rotem Liss [Fri, 4 Aug 2006 20:18:57 +0000 (20:18 +0000)]
(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.
Greg Sabino Mullane [Fri, 4 Aug 2006 20:18:43 +0000 (20:18 +0000)]
Refactor GROUP BY clause, add extra columns for SQL compatibility, remove debugging code.
Tested on MySQL with both $uid and !$uid. :)
Tim Starling [Fri, 4 Aug 2006 20:15:07 +0000 (20:15 +0000)]
Fixed $wgDebugComments
Rotem Liss [Fri, 4 Aug 2006 19:47:10 +0000 (19:47 +0000)]
Using a better method to get the English language file.
Niklas Laxström [Fri, 4 Aug 2006 19:31:56 +0000 (19:31 +0000)]
* Unicode perhaps
Jimmy Collins [Fri, 4 Aug 2006 19:10:28 +0000 (19:10 +0000)]
* (bug 6700) Added Kazakh language variants to Names.php
Jimmy Collins [Fri, 4 Aug 2006 19:03:26 +0000 (19:03 +0000)]
* (bug 6753) Fixed broken Kazakh linktrail (kk)
Jimmy Collins [Fri, 4 Aug 2006 18:39:07 +0000 (18:39 +0000)]
(bug 6865) Update for Russian language (ru)
Jimmy Collins [Fri, 4 Aug 2006 18:20:49 +0000 (18:20 +0000)]
(bug 6704) Tajik linktrail (tg)
Rotem Liss [Fri, 4 Aug 2006 18:09:22 +0000 (18:09 +0000)]
(bug 6919) Add English alias magic words for Tatar (tt) language file.
Rotem Liss [Fri, 4 Aug 2006 17:59:59 +0000 (17:59 +0000)]
Fixing a comment.