lhc/web/wiklou.git
15 years ago* Introduced a new system for localisation caching. The system is based around fast...
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.

15 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Sun, 28 Jun 2009 03:41:41 +0000 (03:41 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

15 years agoLocalisation updates for core messages from translatewiki.net (2009-06-27 22:23 UTC)
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)

15 years agoLocalization update for he.
Rotem Liss [Sat, 27 Jun 2009 21:00:42 +0000 (21:00 +0000)]
Localization update for he.

15 years ago(bug 19157) createAndPromote error on bad password
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

15 years agoMark SpecialVersion::execOutput as static to avoid E_STRICT
Alexandre Emsenhuber [Sat, 27 Jun 2009 12:50:59 +0000 (12:50 +0000)]
Mark SpecialVersion::execOutput as static to avoid E_STRICT

15 years agofix regression in r52476, point to the correct GD library home page or PHP GD module...
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.

15 years ago* (bug 14611) Added support showing the version of the diff/diff3 engine.
Shinjiman [Sat, 27 Jun 2009 10:40:15 +0000 (10:40 +0000)]
* (bug 14611) Added support showing the version of the diff/diff3 engine.

15 years agoAdded script to populate log_user_text
Aaron Schulz [Sat, 27 Jun 2009 10:33:47 +0000 (10:33 +0000)]
Added script to populate log_user_text

15 years agoFixed summary
Aaron Schulz [Sat, 27 Jun 2009 10:20:00 +0000 (10:20 +0000)]
Fixed summary

15 years agoFill in log_user_text column on log save
Aaron Schulz [Sat, 27 Jun 2009 10:17:01 +0000 (10:17 +0000)]
Fill in log_user_text column on log save

15 years agofix for r52476, include the cases with quotation marks.
Shinjiman [Sat, 27 Jun 2009 09:01:47 +0000 (09:01 +0000)]
fix for r52476, include the cases with quotation marks.

15 years agoMore browser compatibility fixes.
Trevor Parscal [Fri, 26 Jun 2009 22:55:58 +0000 (22:55 +0000)]
More browser compatibility fixes.

15 years agoCleanup for r52382: Call correct function and use tmestamp()
Chad Horohoe [Fri, 26 Jun 2009 22:09:34 +0000 (22:09 +0000)]
Cleanup for r52382: Call correct function and use tmestamp()

15 years ago* (bug 14611) Added support showing the version of the image thumbnailing engine.
Shinjiman [Fri, 26 Jun 2009 21:58:34 +0000 (21:58 +0000)]
* (bug 14611) Added support showing the version of the image thumbnailing engine.

15 years agoLocalisation updates for core messages from translatewiki.net (2009-06-26 18:40 UTC)
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)

15 years agoLots of RTL and IE6 fixes in both the skin and the toolbar.
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.

15 years agosame as r52457 but for SQLite
Alexandre Emsenhuber [Fri, 26 Jun 2009 15:38:43 +0000 (15:38 +0000)]
same as r52457 but for SQLite

15 years agoAdded subclasses of HTMLField to autoloader... so that extensions can subclass them
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)

15 years agoAdd in-process caching to User::idFromName
Andrew Garrett [Fri, 26 Jun 2009 14:28:25 +0000 (14:28 +0000)]
Add in-process caching to User::idFromName

15 years agoquick fix for r52382: fix errors in DatabasePostgres, lock() has incompatible signatu...
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")

15 years agoCore change for r52446, allow querying params like id
Niklas Laxström [Fri, 26 Jun 2009 11:17:12 +0000 (11:17 +0000)]
Core change for r52446, allow querying params like id

15 years agoLocalisation updates for core messages from translatewiki.net (2009-06-25 21:43 UTC)
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)

15 years agoRevert r52410 (Put the [edit] link after the section header instead of before, and...
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

15 years agoReverted back from 52410 (Put the [edit] link after the section header instead of...
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)

15 years agoAlignment and spacing fixes
Trevor Parscal [Thu, 25 Jun 2009 20:42:25 +0000 (20:42 +0000)]
Alignment and spacing fixes

15 years ago(bug 11270) Put the [edit] link after the section header instead of before, and don...
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

15 years agomove #mw_trackbacks definition to common/shared.css
Alexandre Emsenhuber [Thu, 25 Jun 2009 18:17:02 +0000 (18:17 +0000)]
move #mw_trackbacks definition to common/shared.css

15 years agoCorrected vertical alignment of text in navigation tabs
Trevor Parscal [Thu, 25 Jun 2009 17:29:36 +0000 (17:29 +0000)]
Corrected vertical alignment of text in navigation tabs

15 years agoFixed IE6 bugs for search UI
Trevor Parscal [Thu, 25 Jun 2009 17:24:17 +0000 (17:24 +0000)]
Fixed IE6 bugs for search UI

15 years agoCore changes for NavigableTOC extension:
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

15 years agoMove EditPage::showEditForm:initial hook down one statement so it has access to the...
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.

15 years agoPrevent showTocToggle() from inserting the show/hide link twice
Roan Kattouw [Thu, 25 Jun 2009 11:00:19 +0000 (11:00 +0000)]
Prevent showTocToggle() from inserting the show/hide link twice

15 years agoWrap some more elements into divs
Raimond Spekking [Thu, 25 Jun 2009 08:33:15 +0000 (08:33 +0000)]
Wrap some more elements into divs

15 years agoLocalisation updates: Similar phrases translated similarly.
Huji [Thu, 25 Jun 2009 07:09:09 +0000 (07:09 +0000)]
Localisation updates: Similar phrases translated similarly.

15 years agoProtect with newlines to prevent unexpected behaviour
Niklas Laxström [Thu, 25 Jun 2009 05:38:54 +0000 (05:38 +0000)]
Protect with newlines to prevent unexpected behaviour

15 years ago(bug 17804) Make EmailNotification members protected
Chad Horohoe [Thu, 25 Jun 2009 00:41:29 +0000 (00:41 +0000)]
(bug 17804) Make EmailNotification members protected

15 years ago* Move lock()/unlock() to DatabaseMysql, declare abstract
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.

15 years agoFollowup to r52379: Also remove var declarations.
Chad Horohoe [Thu, 25 Jun 2009 00:00:51 +0000 (00:00 +0000)]
Followup to r52379: Also remove var declarations.

15 years ago(bug 19382) Remove useless tabs from header variables. Patch by GreenReaper.
Chad Horohoe [Wed, 24 Jun 2009 23:28:16 +0000 (23:28 +0000)]
(bug 19382) Remove useless tabs from header variables. Patch by GreenReaper.

15 years agoRemove useless HTML comment
Aryeh Gregor [Wed, 24 Jun 2009 22:02:52 +0000 (22:02 +0000)]
Remove useless HTML comment

15 years agoAdded IE only behavior for hover effect
Trevor Parscal [Wed, 24 Jun 2009 21:48:00 +0000 (21:48 +0000)]
Added IE only behavior for hover effect

15 years agoRTL fixes. RTL in IE6 is still a disaster.
Trevor Parscal [Wed, 24 Jun 2009 21:43:36 +0000 (21:43 +0000)]
RTL fixes. RTL in IE6 is still a disaster.

15 years agoMassive improvements towards IE6 compatibility, but not quite back to normal yet...
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.

15 years agoRebuild MessagesEn.php
Siebrand Mazeland [Wed, 24 Jun 2009 17:06:45 +0000 (17:06 +0000)]
Rebuild MessagesEn.php

15 years agoFollow-up r52361: Add new message to maintenance file and set it to ignore for transl...
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

15 years agoPrepping for site default overrides of copyright/TOS statements for Wikimedia
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/'

15 years agoRevert r52336 "Merge maintenance-work branch:"
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!

15 years ago* (bug 8445) Multiple-character search terms are now handled properly for Chinese
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.

15 years agoMerge maintenance-work branch:
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 :)

15 years ago* follow-up to r52301: make it more clear what this loop is trying to accomplish...
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).

15 years agoAdded optional parameter to fixalpha to support using it with skins which have differ...
Trevor Parscal [Tue, 23 Jun 2009 22:30:50 +0000 (22:30 +0000)]
Added optional parameter to fixalpha to support using it with skins which have different ID naming schemes

15 years agoAdd some more doc comment for $wgHTTPProxy
Brion Vibber [Tue, 23 Jun 2009 22:27:08 +0000 (22:27 +0000)]
Add some more doc comment for $wgHTTPProxy

15 years agoCore changes for r52307
Andrew Garrett [Tue, 23 Jun 2009 21:52:39 +0000 (21:52 +0000)]
Core changes for r52307

15 years agoLocalisation updates for core messages from translatewiki.net (2009-06-23 21:35 UTC)
Siebrand Mazeland [Tue, 23 Jun 2009 21:40:25 +0000 (21:40 +0000)]
Localisation updates for core messages from translatewiki.net (2009-06-23 21:35 UTC)

15 years agoRestore r52293 zh l10n fix for bug 18403 which was mistakenly reverted in r52303.
Brion Vibber [Tue, 23 Jun 2009 19:14:31 +0000 (19:14 +0000)]
Restore r52293 zh l10n fix for bug 18403 which was mistakenly reverted in r52303.
Diagram to explain the issue at http://bug-attachment.wikimedia.org/attachment.cgi?id=6257 since discussion on bug was wayyy offtopic and people seemed confused about what was at issue.

15 years agoLocalisation updates Chinese
Shinjiman [Tue, 23 Jun 2009 05:59:56 +0000 (05:59 +0000)]
Localisation updates Chinese
reverting per bug 18403 comment 1

15 years ago* Revert r52201, but modify the shortcut code so that it properly detects "public...
Ryan Schmidt [Tue, 23 Jun 2009 02:03:47 +0000 (02:03 +0000)]
* Revert r52201, but modify the shortcut code so that it properly detects "public" wikis

15 years agoReverting r51209 -- change to German number formatting per bug 18957.
Brion Vibber [Tue, 23 Jun 2009 01:37:00 +0000 (01:37 +0000)]
Reverting r51209 -- change to German number formatting per bug 18957.
Apparently there is wild disagreement on what the proper formatting is; since no one complained in the previous 8 years I'm returning it to the status quo.

15 years ago* bug 19219: fix style regression caused by mistaken cleanup in r51081
Brion Vibber [Tue, 23 Jun 2009 01:18:15 +0000 (01:18 +0000)]
* bug 19219: fix style regression caused by mistaken cleanup in r51081

15 years agoLocalisation updates for core messages from translatewiki.net (2009-06-22 18:07 UTC)
Raimond Spekking [Mon, 22 Jun 2009 18:15:49 +0000 (18:15 +0000)]
Localisation updates for core messages from translatewiki.net (2009-06-22 18:07 UTC)

15 years agoMove TablePager code from main.css to shared.css
Andrew Garrett [Mon, 22 Jun 2009 16:26:26 +0000 (16:26 +0000)]
Move TablePager code from main.css to shared.css

15 years agoOptimised the CDB hash function, now roughly twice as fast for large strings. Most...
Tim Starling [Mon, 22 Jun 2009 06:41:48 +0000 (06:41 +0000)]
Optimised the CDB hash function, now roughly twice as fast for large strings. Most of the saving came from removing the function calls. Retested.

15 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Mon, 22 Jun 2009 03:50:54 +0000 (03:50 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

15 years agoFix bogus var reference
Aaron Schulz [Mon, 22 Jun 2009 03:06:04 +0000 (03:06 +0000)]
Fix bogus var reference

15 years agobug 19305 rev_deleted link consistency (greyed-out)
Aaron Schulz [Mon, 22 Jun 2009 00:59:17 +0000 (00:59 +0000)]
bug 19305 rev_deleted link consistency (greyed-out)

15 years agoDouble check against user table to make sure the user exists
Aaron Schulz [Mon, 22 Jun 2009 00:47:23 +0000 (00:47 +0000)]
Double check against user table to make sure the user exists

15 years agoLocalisation updates for namespaces from translatewiki.net
Siebrand Mazeland [Sun, 21 Jun 2009 23:08:40 +0000 (23:08 +0000)]
Localisation updates for namespaces from translatewiki.net

15 years agoLocalisation updates for core magic words from translatewiki.net
Siebrand Mazeland [Sun, 21 Jun 2009 22:59:17 +0000 (22:59 +0000)]
Localisation updates for core magic words from translatewiki.net

15 years agoLocalisation updates for core special page aliases from translatewiki.net
Siebrand Mazeland [Sun, 21 Jun 2009 22:53:42 +0000 (22:53 +0000)]
Localisation updates for core special page aliases from translatewiki.net

15 years agoLocalisation updates for core messages from translatewiki.net (2009-06-21 22:34 UTC)
Siebrand Mazeland [Sun, 21 Jun 2009 22:41:34 +0000 (22:41 +0000)]
Localisation updates for core messages from translatewiki.net (2009-06-21 22:34 UTC)

15 years agoFollow-up for r52261, some in-progress stuff sneaked in.
Robert Stojnić [Sun, 21 Jun 2009 22:15:39 +0000 (22:15 +0000)]
Follow-up for r52261, some in-progress stuff sneaked in.

15 years agoPreserve formatting even when create article link is absent
Robert Stojnić [Sun, 21 Jun 2009 22:12:10 +0000 (22:12 +0000)]
Preserve formatting even when create article link is absent

15 years agoAllow use of GENDER in 'activeusers-count'
Siebrand Mazeland [Sun, 21 Jun 2009 21:13:35 +0000 (21:13 +0000)]
Allow use of GENDER in 'activeusers-count'

15 years agoAllow use of GENDER in 'listusers-blocked'
Siebrand Mazeland [Sun, 21 Jun 2009 18:50:45 +0000 (18:50 +0000)]
Allow use of GENDER in 'listusers-blocked'

15 years agocoding style tweaks
Jack Phoenix [Sun, 21 Jun 2009 18:26:29 +0000 (18:26 +0000)]
coding style tweaks

15 years agoAPI: Make usage of the parser cache in action=parse actually work; was broken since...
Roan Kattouw [Sun, 21 Jun 2009 14:29:32 +0000 (14:29 +0000)]
API: Make usage of the parser cache in action=parse actually work; was broken since its introduction

15 years agocoding style tweaks
Jack Phoenix [Sun, 21 Jun 2009 14:16:11 +0000 (14:16 +0000)]
coding style tweaks

15 years ago(bug 19323) Calls to recursiveTagParse() overwrite ParserOptions::$mSections, causing...
Roan Kattouw [Sun, 21 Jun 2009 12:52:24 +0000 (12:52 +0000)]
(bug 19323) Calls to recursiveTagParse() overwrite ParserOptions::$mSections, causing the real section tree to be overwritten in some cases

15 years agosvn:eol-style
Alexandre Emsenhuber [Sun, 21 Jun 2009 11:16:15 +0000 (11:16 +0000)]
svn:eol-style

15 years agoAPI: (bug 19313) action=rollback returns wrong revid on master/slave setups
Roan Kattouw [Sun, 21 Jun 2009 09:49:52 +0000 (09:49 +0000)]
API: (bug 19313) action=rollback returns wrong revid on master/slave setups

15 years agoLocalization update.
Rotem Liss [Sun, 21 Jun 2009 06:40:14 +0000 (06:40 +0000)]
Localization update.

15 years agoMissing file commit from r52226
Aaron Schulz [Sun, 21 Jun 2009 03:26:05 +0000 (03:26 +0000)]
Missing file commit from r52226

15 years agoFollow-up to r52226.
Siebrand Mazeland [Sat, 20 Jun 2009 23:57:12 +0000 (23:57 +0000)]
Follow-up to r52226.
* add special page alias
* put messages in own section
* update messages.inc and messageTypes.inc

15 years agoAdded activeuser list (bug 15456) (indexes should be there now)
Aaron Schulz [Sat, 20 Jun 2009 23:42:35 +0000 (23:42 +0000)]
Added activeuser list (bug 15456) (indexes should be there now)

15 years agoLocalisation updates for core messages from translatewiki.net (2009-06-20 22:18 UTC)
Siebrand Mazeland [Sat, 20 Jun 2009 22:34:02 +0000 (22:34 +0000)]
Localisation updates for core messages from translatewiki.net (2009-06-20 22:18 UTC)

15 years agoCore changes for NavigableTOC extension:
Roan Kattouw [Sat, 20 Jun 2009 21:47:10 +0000 (21:47 +0000)]
Core changes for NavigableTOC extension:
* Add TOC HTML to ParserOutput
* Add class tocsection-$section to <li> elements in the TOC representing sections in the current page (as opposed to transcluded sections)

15 years agoAdd 'index', 'fromtitle', and 'byteoffset' fields to ParserOutput::getSections()...
Roan Kattouw [Sat, 20 Jun 2009 18:25:30 +0000 (18:25 +0000)]
Add 'index', 'fromtitle', and 'byteoffset' fields to ParserOutput::getSections(). This makes these fields available through the API with action=parse&prop=sections . Also, the byte offset will be needed by the new NavigableTOC extension.

15 years agoLocalise special page names in fullurl
Siebrand Mazeland [Sat, 20 Jun 2009 18:14:36 +0000 (18:14 +0000)]
Localise special page names in fullurl

15 years agoFix log type and name in revdeleted messages: suppressions are stored in the suppress...
Raimond Spekking [Sat, 20 Jun 2009 16:52:27 +0000 (16:52 +0000)]
Fix log type and name in revdeleted messages: suppressions are stored in the suppression log, not the deletion log.

15 years agoAdded PHP port of CDB, with abstraction layer. Tested for correctness with a differen...
Tim Starling [Sat, 20 Jun 2009 15:59:56 +0000 (15:59 +0000)]
Added PHP port of CDB, with abstraction layer. Tested for correctness with a differential fuzz tester, not yet benchmarked. The idea is to open up new applications for CDB, and benefit both shell and shared hosting users.

Ported existing uses of CDB to the new abstraction layer.

15 years ago* Remove "shortcut" in Title::userCanRead, it prevents $wgRevokePermissions and exten...
Ryan Schmidt [Sat, 20 Jun 2009 14:37:42 +0000 (14:37 +0000)]
* Remove "shortcut" in Title::userCanRead, it prevents $wgRevokePermissions and extensions not using the userCan hook from restricting read access on the wiki if anon reading is allowed.

15 years agoLocalise Special:UserLogin in URL in 'prefsnologintext'
Siebrand Mazeland [Sat, 20 Jun 2009 14:23:09 +0000 (14:23 +0000)]
Localise Special:UserLogin in URL in 'prefsnologintext'

15 years agoSuppress display of duplicate getCategoryBottom() if there are no category members...
Siebrand Mazeland [Sat, 20 Jun 2009 09:21:33 +0000 (09:21 +0000)]
Suppress display of duplicate getCategoryBottom() if there are no category members to display.

Cannot know if completely suppressing this is possible (and show 'category-empty'), because 'until' or 'from' can be set and previous/next *may* give results). Adding a FIXME for that.

15 years agoMake paging links on category pages known. This allows more comfortable browsing...
Siebrand Mazeland [Sat, 20 Jun 2009 09:03:35 +0000 (09:03 +0000)]
Make paging links on category pages known. This allows more comfortable browsing, even if the category does not exist.

15 years ago* Remove code duplication
Niklas Laxström [Sat, 20 Jun 2009 08:59:36 +0000 (08:59 +0000)]
* Remove code duplication

15 years agoAPI: Return HTTP 503 status code on maxlag error, like index.php does
Roan Kattouw [Sat, 20 Jun 2009 08:10:30 +0000 (08:10 +0000)]
API: Return HTTP 503 status code on maxlag error, like index.php does

15 years agoReimplement r49941 as an overridable method, as suggested by Tim (hiding navigation...
Niklas Laxström [Sat, 20 Jun 2009 06:41:59 +0000 (06:41 +0000)]
Reimplement r49941 as an overridable method, as suggested by Tim (hiding navigation bar when all results are shown)

15 years agoUpdate the Chinese conversion tables.
Philip Tzou [Sat, 20 Jun 2009 01:48:28 +0000 (01:48 +0000)]
Update the Chinese conversion tables.

15 years agoRefactor Blankpage to subclass SpecialPage like a normal special page. :)
Chad Horohoe [Fri, 19 Jun 2009 23:46:33 +0000 (23:46 +0000)]
Refactor Blankpage to subclass SpecialPage like a normal special page. :)