Niklas Laxström [Thu, 2 Jul 2009 12:03:04 +0000 (12:03 +0000)]
This was so not supposed to get here, ever.
Robert Stojnić [Thu, 2 Jul 2009 10:02:35 +0000 (10:02 +0000)]
Should always close the form here since it apparently is not closed in advanced.
Alexandre Emsenhuber [Thu, 2 Jul 2009 09:27:33 +0000 (09:27 +0000)]
(bug 19390) Omit the "printable version" link on the printable version to have links to &printable=yes&printable=yes...
Chad Horohoe [Thu, 2 Jul 2009 01:00:22 +0000 (01:00 +0000)]
(bug 11242) Check for MySQL storage engines during installation doesn't check whether engine is actually available. Patch by Jan Reininghaus.
Chad Horohoe [Thu, 2 Jul 2009 00:55:48 +0000 (00:55 +0000)]
Use wfGetNull() instead of hardcoded /dev/null
Robert Stojnić [Thu, 2 Jul 2009 00:25:27 +0000 (00:25 +0000)]
Fix background color of the searchbox and "did you mean" link table... since this had no style it used the white background of content tables
which is bad since some wikis have custom background colors for special pages.
Robert Stojnić [Wed, 1 Jul 2009 23:37:02 +0000 (23:37 +0000)]
Revert r51246 for now. It might not be *always* appropriate to show the page creation link, but to be consistent we are going to show for now.
Trevor Parscal [Wed, 1 Jul 2009 23:29:29 +0000 (23:29 +0000)]
Fixed some spacing on th
Trevor Parscal [Wed, 1 Jul 2009 23:18:36 +0000 (23:18 +0000)]
Corrected line-height of content that is not in a p tag
Siebrand Mazeland [Wed, 1 Jul 2009 22:35:37 +0000 (22:35 +0000)]
Localisation updates for core messages from translatewiki.net (2009-07-01 21:29 UTC)
Trevor Parscal [Wed, 1 Jul 2009 21:39:38 +0000 (21:39 +0000)]
Added info about the RTL situation
Shinjiman [Wed, 1 Jul 2009 21:31:44 +0000 (21:31 +0000)]
added path value support on the file check on Special:Version.
link to r52646 and r52624 for Code Review comments.
Alexandre Emsenhuber [Wed, 1 Jul 2009 20:08:54 +0000 (20:08 +0000)]
quick fix for r52624: handle the case when the executable isn't found, since it's throwing "PHP Notice: Undefined offset: 1 in /var/www/w/includes/specials/SpecialVersion.php on line 241" (on translatewiki.net)
Aryeh Gregor [Wed, 1 Jul 2009 19:52:27 +0000 (19:52 +0000)]
Clean up CategoryPage::columnList()
Should have no functional changes, other than maybe whitespace in the HTML.
Aryeh Gregor [Wed, 1 Jul 2009 19:52:06 +0000 (19:52 +0000)]
Typo in comment
Andrew Garrett [Wed, 1 Jul 2009 17:50:59 +0000 (17:50 +0000)]
Fix preferences select-or-other for IE
Andrew Garrett [Wed, 1 Jul 2009 17:48:30 +0000 (17:48 +0000)]
Revert unintended core changes in r52627
Andrew Garrett [Wed, 1 Jul 2009 17:46:35 +0000 (17:46 +0000)]
Bring up reply and new thread forms with AJAX where available. Still submits with a regular POST, because I've just spent a day on AJAX and that would be at least another day or two.
Shinjiman [Wed, 1 Jul 2009 13:48:11 +0000 (13:48 +0000)]
added whereis path support instead of the hardcoded local binary path to get the directory of executeable files, when available.
link to r52547, r52527 and r52525 for CodeReview if any comments are added.
Siebrand Mazeland [Wed, 1 Jul 2009 06:23:30 +0000 (06:23 +0000)]
(bug 19441) Updated date formatting for Lithuanian
Chad Horohoe [Wed, 1 Jul 2009 00:55:45 +0000 (00:55 +0000)]
(bug 19428) PG and MySQL followups to r52503. Patch by OverlordQ
Chad Horohoe [Wed, 1 Jul 2009 00:52:22 +0000 (00:52 +0000)]
(bug 19423) The initial file description page uses caption in the user's language instead of content language
Chad Horohoe [Wed, 1 Jul 2009 00:29:38 +0000 (00:29 +0000)]
Typo.
Trevor Parscal [Tue, 30 Jun 2009 21:40:29 +0000 (21:40 +0000)]
Brought back the user icon in personal links
Trevor Parscal [Tue, 30 Jun 2009 21:28:29 +0000 (21:28 +0000)]
Improved spacing of items in footer
Trevor Parscal [Tue, 30 Jun 2009 21:20:30 +0000 (21:20 +0000)]
Resolved excessive padding of first heading in content area
Trevor Parscal [Tue, 30 Jun 2009 19:54:07 +0000 (19:54 +0000)]
Added missing style sheet.
Trevor Parscal [Tue, 30 Jun 2009 19:53:20 +0000 (19:53 +0000)]
Fixed padding on links to external resources.
Raimond Spekking [Tue, 30 Jun 2009 19:32:46 +0000 (19:32 +0000)]
Localisation updates for core messages from translatewiki.net (2009-06-30 19:20 UTC)
Raimond Spekking [Tue, 30 Jun 2009 19:06:34 +0000 (19:06 +0000)]
* (bug 19450) Use formatNum for "Number of edits" in Special:Preferences
Raimond Spekking [Tue, 30 Jun 2009 16:07:29 +0000 (16:07 +0000)]
Follow-up r52601: typo
Raimond Spekking [Tue, 30 Jun 2009 11:42:51 +0000 (11:42 +0000)]
Do not parse 'editpage-tos-summary' ('wikimedia-editpage-tos-summary' on WMF sites) for 'content'.
It's then a mix of user language and content language, especially on multi language wikis like Commons.
Example: http://commons.wikimedia.org/w/index.php?title=Test123&action=edit&uselang=de
Robert Stojnić [Mon, 29 Jun 2009 21:59:22 +0000 (21:59 +0000)]
Tune spacing for "did you mean" link...
Trevor Parscal [Mon, 29 Jun 2009 21:38:06 +0000 (21:38 +0000)]
Divided stylesheets into LTR and RTL versions, but also reverted strange hacks to make things sort of work in may browsers. Still need to solve RTL problems in browsers with certain CSS limitations.
Trevor Parscal [Mon, 29 Jun 2009 21:32:31 +0000 (21:32 +0000)]
Divided stylesheets into LTR and RTL versions, but also reverted strange hacks to make things sort of work in may browsers. Still need to solve RTL problems in browsers with certain CSS limitations.
Siebrand Mazeland [Mon, 29 Jun 2009 20:47:50 +0000 (20:47 +0000)]
Localisation updates for core messages from translatewiki.net (2009-06-29 20:40 UTC)
Alexandre Emsenhuber [Mon, 29 Jun 2009 20:43:20 +0000 (20:43 +0000)]
readded $wgLocalMessageCacheSerialized (was removed in r52503), it's still used in MessageCache.php
Andrew Garrett [Mon, 29 Jun 2009 19:44:52 +0000 (19:44 +0000)]
Document tag_summary and change_tags tables
Shinjiman [Mon, 29 Jun 2009 15:35:18 +0000 (15:35 +0000)]
fix up to add the local bin path, link to r52527 and r52525 for CodeReview if any comments are added.
Shinjiman [Sun, 28 Jun 2009 19:24:27 +0000 (19:24 +0000)]
fix up, link to r52525 for CodeReview if any comments are added.
Raimond Spekking [Sun, 28 Jun 2009 19:18:37 +0000 (19:18 +0000)]
Localisation updates for core messages from translatewiki.net (2009-06-28 19:06 UTC)
Shinjiman [Sun, 28 Jun 2009 18:42:55 +0000 (18:42 +0000)]
* (bug 14611) Added support showing the version of the Math rendering engine.
Alexandre Emsenhuber [Sun, 28 Jun 2009 17:42:26 +0000 (17:42 +0000)]
'' => null when 'descriptionmsg' is not set in $wgExtensionCredits to match $descriptionMsg's default value in SpecialVersion::formatCredits()
Shinjiman [Sun, 28 Jun 2009 17:29:31 +0000 (17:29 +0000)]
further fix up for r52522, link to r52516 for CodeReview if having any comments.
Shinjiman [Sun, 28 Jun 2009 17:24:48 +0000 (17:24 +0000)]
fix regression in r52516 for some distributions which are unable to show the version information.
Alexandre Emsenhuber [Sun, 28 Jun 2009 17:18:53 +0000 (17:18 +0000)]
escaping fix
Shinjiman [Sun, 28 Jun 2009 16:25:45 +0000 (16:25 +0000)]
* (bug 14611) Added support showing the version of the SVG image thumbnailing engine. (Supports for ImageMagick, rsvg and Inkscape so far as their version information can be obtained through the command line.)
* Tweaking some version messages for diff3/diff.
Chad Horohoe [Sun, 28 Jun 2009 15:05:47 +0000 (15:05 +0000)]
Doc fixes for $wgExtensionCredits.
Aaron Schulz [Sun, 28 Jun 2009 13:14:53 +0000 (13:14 +0000)]
typo
Tim Starling [Sun, 28 Jun 2009 07:11:43 +0000 (07:11 +0000)]
* Introduced a new system for localisation caching. The system is based around fast fetches of individual messages, minimising memory overhead and startup time in the typical case. It handles both core messages (formerly in Language.php) and extension messages (formerly in MessageCache.php). Profiling indicates a significant win for average throughput.
* The serialized message cache, which would have been redundant, has been removed. Similar performance characteristics can be achieved with $wgLocalisationCacheConf['manualRecache'] = true;
* Added a maintenance script rebuildLocalisationCache.php for offline rebuilding of the localisation cache.
* Extension i18n files can now contain any of the variables which can be set in Messages*.php. It is possible, and recommended, to use this feature instead of the hooks for special page aliases and magic words.
* $wgExtensionAliasesFiles, LanguageGetMagic and LanguageGetSpecialPageAliases are retained for backwards compatibility. $wgMessageCache->addMessages() and related functions have been removed. wfLoadExtensionMessages() is a no-op and can continue to be called for b/c.
* Introduced $wgCacheDirectory as a default location for the various local caches that have accumulated. Suggested $IP/cache as a good place for it in the default LocalSettings.php and created this directory with a deny-all .htaccess.
* Patched Exception.php to avoid using the message cache when an exception is thrown from within LocalisationCache, since this tends to fail horribly.
* Removed Language::getLocalisationArray(), Language::loadLocalisation(), Language::load()
* Fixed FileDependency::__sleep()
* In Cdb.php, fixed newlines in debug messages
In MessageCache::get():
* Replaced calls to $wgContLang capitalisation functions with plain PHP functions, reducing the typical case from 99us to 93us. Message cache keys are already documented as being restricted to ASCII.
* Implemented a more efficient way to filter out bogus language codes, reducing the "foo/en" case from 430us to 101us
* Optimised wfRunHooks() in the typical do-nothing case, from ~30us to ~3us. This reduced MessageCache::get() typical case time from 93us to 38us.
* Removed hook MessageNotInMwNs to save an extra 3us per cache hit. Reimplemented the only user (LocalisationUpdate) using the new hook LocalisationCacheRecache.
Shinjiman [Sun, 28 Jun 2009 03:41:41 +0000 (03:41 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Siebrand Mazeland [Sat, 27 Jun 2009 22:39:23 +0000 (22:39 +0000)]
Localisation updates for core messages from translatewiki.net (2009-06-27 22:23 UTC)
Rotem Liss [Sat, 27 Jun 2009 21:00:42 +0000 (21:00 +0000)]
Localization update for he.
Chad Horohoe [Sat, 27 Jun 2009 16:53:27 +0000 (16:53 +0000)]
(bug 19157) createAndPromote error on bad password
* Tweak User::isValidPassword() and hook. Return a STRING msg key on failure, not false. Updated all callers to handle this
* Split too-short/match username errors for clarity
* Update docs, messages.
* Merge fix for bug from maintenance-work branch
Alexandre Emsenhuber [Sat, 27 Jun 2009 12:50:59 +0000 (12:50 +0000)]
Mark SpecialVersion::execOutput as static to avoid E_STRICT
Shinjiman [Sat, 27 Jun 2009 11:52:27 +0000 (11:52 +0000)]
fix regression in r52476, point to the correct GD library home page or PHP GD module page.
Shinjiman [Sat, 27 Jun 2009 10:40:15 +0000 (10:40 +0000)]
* (bug 14611) Added support showing the version of the diff/diff3 engine.
Aaron Schulz [Sat, 27 Jun 2009 10:33:47 +0000 (10:33 +0000)]
Added script to populate log_user_text
Aaron Schulz [Sat, 27 Jun 2009 10:20:00 +0000 (10:20 +0000)]
Fixed summary
Aaron Schulz [Sat, 27 Jun 2009 10:17:01 +0000 (10:17 +0000)]
Fill in log_user_text column on log save
Shinjiman [Sat, 27 Jun 2009 09:01:47 +0000 (09:01 +0000)]
fix for r52476, include the cases with quotation marks.
Trevor Parscal [Fri, 26 Jun 2009 22:55:58 +0000 (22:55 +0000)]
More browser compatibility fixes.
Chad Horohoe [Fri, 26 Jun 2009 22:09:34 +0000 (22:09 +0000)]
Cleanup for r52382: Call correct function and use tmestamp()
Shinjiman [Fri, 26 Jun 2009 21:58:34 +0000 (21:58 +0000)]
* (bug 14611) Added support showing the version of the image thumbnailing engine.
Raimond Spekking [Fri, 26 Jun 2009 18:52:53 +0000 (18:52 +0000)]
Localisation updates for core messages from translatewiki.net (2009-06-26 18:40 UTC)
Trevor Parscal [Fri, 26 Jun 2009 18:17:38 +0000 (18:17 +0000)]
Lots of RTL and IE6 fixes in both the skin and the toolbar.
Alexandre Emsenhuber [Fri, 26 Jun 2009 15:38:43 +0000 (15:38 +0000)]
same as r52457 but for SQLite
Niklas Laxström [Fri, 26 Jun 2009 14:32:54 +0000 (14:32 +0000)]
Added subclasses of HTMLField to autoloader... so that extensions can subclass them
(Was triggering fatal errors, due to wfLoadAllExtensions() loading all classes)
Andrew Garrett [Fri, 26 Jun 2009 14:28:25 +0000 (14:28 +0000)]
Add in-process caching to User::idFromName
Alexandre Emsenhuber [Fri, 26 Jun 2009 13:25:10 +0000 (13:25 +0000)]
quick fix for r52382: fix errors in DatabasePostgres, lock() has incompatible signature lockTables(), unlockTables() (lockTables could have some implementation but not unlockTables since PostgreSQL has no command "UNLOCK TABLES")
Niklas Laxström [Fri, 26 Jun 2009 11:17:12 +0000 (11:17 +0000)]
Core change for r52446, allow querying params like id
Siebrand Mazeland [Thu, 25 Jun 2009 22:00:02 +0000 (22:00 +0000)]
Localisation updates for core messages from translatewiki.net (2009-06-25 21:43 UTC)
Roan Kattouw [Thu, 25 Jun 2009 21:10:10 +0000 (21:10 +0000)]
Revert r52410 (Put the [edit] link after the section header instead of before, and don't right-float it anymore) for now because of unresolved issues
Trevor Parscal [Thu, 25 Jun 2009 21:04:17 +0000 (21:04 +0000)]
Reverted back from 52410 (Put the [edit] link after the section header instead of before, and don't right-float it anymore)
Trevor Parscal [Thu, 25 Jun 2009 20:42:25 +0000 (20:42 +0000)]
Alignment and spacing fixes
Roan Kattouw [Thu, 25 Jun 2009 20:00:56 +0000 (20:00 +0000)]
(bug 11270) Put the [edit] link after the section header instead of before, and don't right-float it anymore
Alexandre Emsenhuber [Thu, 25 Jun 2009 18:17:02 +0000 (18:17 +0000)]
move #mw_trackbacks definition to common/shared.css
Trevor Parscal [Thu, 25 Jun 2009 17:29:36 +0000 (17:29 +0000)]
Corrected vertical alignment of text in navigation tabs
Trevor Parscal [Thu, 25 Jun 2009 17:24:17 +0000 (17:24 +0000)]
Fixed IE6 bugs for search UI
Roan Kattouw [Thu, 25 Jun 2009 11:05:22 +0000 (11:05 +0000)]
Core changes for NavigableTOC extension:
* Always generate the section tree, even when we're not generating a TOC
* Add Parser::mergeSectionTrees() to merge two section trees into one
* Add Linker::generateTOC() to generate the HTML for a TOC from a section tree, and add the section anchor to the section tree to facilitate this. This adds the ability to generate TOCs in extensions; haven't converted Parser.php to use it (yet?). As a side effect, this fixes API bug 18720
Roan Kattouw [Thu, 25 Jun 2009 11:01:14 +0000 (11:01 +0000)]
Move EditPage::showEditForm:initial hook down one statement so it has access to the parsed preview.
Roan Kattouw [Thu, 25 Jun 2009 11:00:19 +0000 (11:00 +0000)]
Prevent showTocToggle() from inserting the show/hide link twice
Raimond Spekking [Thu, 25 Jun 2009 08:33:15 +0000 (08:33 +0000)]
Wrap some more elements into divs
Huji [Thu, 25 Jun 2009 07:09:09 +0000 (07:09 +0000)]
Localisation updates: Similar phrases translated similarly.
Niklas Laxström [Thu, 25 Jun 2009 05:38:54 +0000 (05:38 +0000)]
Protect with newlines to prevent unexpected behaviour
Chad Horohoe [Thu, 25 Jun 2009 00:41:29 +0000 (00:41 +0000)]
(bug 17804) Make EmailNotification members protected
Chad Horohoe [Thu, 25 Jun 2009 00:40:12 +0000 (00:40 +0000)]
* Move lock()/unlock() to DatabaseMysql, declare abstract
* Introduce lockTables() and unlockTables(), define in DatabaseMysql
* (bug 19372) updateSearchIndex has MySQLisms.
Chad Horohoe [Thu, 25 Jun 2009 00:00:51 +0000 (00:00 +0000)]
Followup to r52379: Also remove var declarations.
Chad Horohoe [Wed, 24 Jun 2009 23:28:16 +0000 (23:28 +0000)]
(bug 19382) Remove useless tabs from header variables. Patch by GreenReaper.
Aryeh Gregor [Wed, 24 Jun 2009 22:02:52 +0000 (22:02 +0000)]
Remove useless HTML comment
Trevor Parscal [Wed, 24 Jun 2009 21:48:00 +0000 (21:48 +0000)]
Added IE only behavior for hover effect
Trevor Parscal [Wed, 24 Jun 2009 21:43:36 +0000 (21:43 +0000)]
RTL fixes. RTL in IE6 is still a disaster.
Trevor Parscal [Wed, 24 Jun 2009 20:51:57 +0000 (20:51 +0000)]
Massive improvements towards IE6 compatibility, but not quite back to normal yet - and more testing needs to happen on other browsers as well.
Siebrand Mazeland [Wed, 24 Jun 2009 17:06:45 +0000 (17:06 +0000)]
Rebuild MessagesEn.php
Raimond Spekking [Wed, 24 Jun 2009 17:02:05 +0000 (17:02 +0000)]
Follow-up r52361: Add new message to maintenance file and set it to ignore for translatewiki
Brion Vibber [Wed, 24 Jun 2009 16:49:28 +0000 (16:49 +0000)]
Prepping for site default overrides of copyright/TOS statements for Wikimedia
sites with updated CC-BY-SA license... Messages now available in
WikimediaMessages extension for localization:
* wikimedia-copyright - page footer
* wikimedia-copyrightwarning - edit page, above summary/save button
* wikimedia-editpage-tos-summary - edit page, below summary/save button & above edittools
Initial English defaults are taken from
http://meta.wikimedia.org/wiki/Licensing_update/Implementation
Ariel's search for other copyright-related messages looks fairly clean,
so we should be good here for now as $wgRightsText/$wgRightsUrl are
already updated.
Messages are overridden using new hooks, which can also be used to switch the
messages based on title or namespace -- this may be desirable for sites such
as mediawiki.org which keep some namespaces PD etc.
Use of the overridden messages by WikimediaMessages is switched in when
$wgRightsUrl is set to 'http://creativecommons.org/licenses/by-sa/3.0/'
Brion Vibber [Wed, 24 Jun 2009 02:49:24 +0000 (02:49 +0000)]
Revert r52336 "Merge maintenance-work branch:"
Seems to have broken a bunch of stuff. Don't commit giant non-critical changes that break Setup.php and all maint scripts. Thanks!
Brion Vibber [Wed, 24 Jun 2009 02:27:51 +0000 (02:27 +0000)]
* (bug 8445) Multiple-character search terms are now handled properly for Chinese
Big fixup for Chinese word breaks and variant conversions in the MySQL search backend...
- removed redunant variant terms for Chinese, which forces all search indexing to canonical zh-hans
- added parens to properly group variants for languages such as Serbian which do need them at search time
- added quotes to properly group multi-word terms coming out of stripForSearch, as for Chinese where we segment up the characters. This is based on Language::hasWordBreaks() check.
- also cleaned up LanguageZh_hans::stripForSearch() to just do segmentation and pass on the Unicode stripping to the base Language implementation, avoiding scary code duplication. Segmentation was already pulled up to LanguageZh, but was being run again at the second level. :P
- made a fix to Chinese word segmentation to handle the case where a Han character is followed by a Latin char or numeral; a space is now added after as well. Spaces are then normalized for prettiness.
Chad Horohoe [Wed, 24 Jun 2009 02:02:37 +0000 (02:02 +0000)]
Merge maintenance-work branch:
* (bug 16322) Allow maint scripts to accept DB user/pass over input or params if no AdminSettings.php
* (bug 18768) Remove AdminSettings.php from MediaWiki core
* (bug 19157) createAndPromote error on bad password
* (bug 14201) Create AdminSettings.php during wiki installation, in the same way as LocalSettings.php
* Introduce new Maintenance class framework and port a good number of scripts over; the ones that are left are a little more complicated. Read the docs.
* Not deleting "unused" files yet, don't want to break everything at once :)
Ryan Schmidt [Wed, 24 Jun 2009 00:37:44 +0000 (00:37 +0000)]
* follow-up to r52301: make it more clear what this loop is trying to accomplish (per suggestion by werdna on IRC).