Roan Kattouw [Fri, 13 Feb 2009 21:37:17 +0000 (21:37 +0000)]
...and remove another allpages leftover *sigh*
Roan Kattouw [Fri, 13 Feb 2009 21:36:34 +0000 (21:36 +0000)]
Fix leftover doc comment in ApiQueryProtectedTitles
Roan Kattouw [Fri, 13 Feb 2009 21:34:46 +0000 (21:34 +0000)]
API: (bug 16740) Adding list=protectedtitles to list create-protected titles
Philip Tzou [Fri, 13 Feb 2009 19:17:06 +0000 (19:17 +0000)]
Update the Chinese conversion tables.
Raimond Spekking [Fri, 13 Feb 2009 19:13:48 +0000 (19:13 +0000)]
* Replace hardcoded '...' as indication of a truncation with the 'ellipsis' message
Per Brion's suggestion in http://lists.wikimedia.org/pipermail/wikitech-l/2008-December/040796.html
Alexandre Emsenhuber [Fri, 13 Feb 2009 17:50:24 +0000 (17:50 +0000)]
bug 17477 and fix for r47196: Don't use global $title; this can work when executing index.php, but fails horribly in maintenance scripts (breaking checkBadRedirects.php at least)
Chad Horohoe [Fri, 13 Feb 2009 16:28:18 +0000 (16:28 +0000)]
(bug 17480) Typo in Italian lang file.
Roan Kattouw [Fri, 13 Feb 2009 16:17:39 +0000 (16:17 +0000)]
Add a <link rel="canonical"> tag on redirected page views per <googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html>
Roan Kattouw [Fri, 13 Feb 2009 15:36:32 +0000 (15:36 +0000)]
* API: Page prop=info by (ns, title) rather than offset
* Also fix a regression from r47214 which caused database errors when $this->titles or $this->missing was empty
Roan Kattouw [Fri, 13 Feb 2009 15:14:21 +0000 (15:14 +0000)]
API: Fix up r47214, which strangely had no commit message
* Use + instead of array_merge(), the latter messes up keys
* Fix a fatal error ($result not an object)
* Fix an interesting mistake when calling addTables(): addTables('foo', 'bar') doesn't add both tables, but adds foo AS bar
* Fix warning about $row->pt_namespace not being set
Commit message for r47214:
API: Refactor ApiQueryInfo
* Move result generating code from execute() to extractPageInfo()
** Merge code for existing and missing titles
* Don't loop over existing and missing titles separately, but on both in one go
* Move protection query code from execute() to getProtectionInfo()
** Merge code for existing and missing titles here as well
* Move subjectid/talkid query code from execute() to getTSIDs()
* Document some functions
Roan Kattouw [Fri, 13 Feb 2009 14:44:19 +0000 (14:44 +0000)]
Roan Kattouw [Fri, 13 Feb 2009 14:13:03 +0000 (14:13 +0000)]
API: More docs, break long lines in docs
Alexandre Emsenhuber [Fri, 13 Feb 2009 13:48:13 +0000 (13:48 +0000)]
(bug 17478) Fixed a PHP Strict standards error in maintenance/cleanupWatchlist.php
Shinjiman [Fri, 13 Feb 2009 13:06:36 +0000 (13:06 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Philip Tzou [Fri, 13 Feb 2009 06:24:05 +0000 (06:24 +0000)]
Update the Chinese conversion tables.
Andrew Garrett [Thu, 12 Feb 2009 23:42:33 +0000 (23:42 +0000)]
Trying to make the EditPage code a bit more readable by breaking lines and converting some of the more egregious offenders into using the Xml:: functions. I tested editing and so on, but do tell me if there's some automated test that I'm supposed to run it
through.
Aaron Schulz [Thu, 12 Feb 2009 20:06:05 +0000 (20:06 +0000)]
Added suppression log entries (if user can see them)
Niklas Laxström [Thu, 12 Feb 2009 19:54:32 +0000 (19:54 +0000)]
* (bug 13040) Gender-aware user namespace aliases
No aliases in this commit
Aaron Schulz [Thu, 12 Feb 2009 19:23:14 +0000 (19:23 +0000)]
Follow-up to r47192: do the same for PageHistory
Aaron Schulz [Thu, 12 Feb 2009 19:02:14 +0000 (19:02 +0000)]
* consolidated getDateMenu duplication into xml.php
* made filter settings carry over when pressing "go"
* made filter links a bit smaller
* removed DefaultQuery cruft
* updated docs
Roan Kattouw [Thu, 12 Feb 2009 17:29:17 +0000 (17:29 +0000)]
API: Prevent ApiQueryInfo from trying to set a continue value twice (which will fail with a fatal error)
Roan Kattouw [Thu, 12 Feb 2009 17:27:05 +0000 (17:27 +0000)]
API: Fix up r47142: use a boolean parameter for suggest
Siebrand Mazeland [Thu, 12 Feb 2009 17:25:27 +0000 (17:25 +0000)]
(bug 17448) Update for Danish language
Aaron Schulz [Thu, 12 Feb 2009 14:45:10 +0000 (14:45 +0000)]
(bug 5776) Add extra patrol link on bottom for diffs
Rotem Liss [Thu, 12 Feb 2009 12:56:38 +0000 (12:56 +0000)]
Localization update for he.
Philip Tzou [Thu, 12 Feb 2009 09:29:05 +0000 (09:29 +0000)]
Update the Chinese conversion tables.
Aaron Schulz [Thu, 12 Feb 2009 00:12:13 +0000 (00:12 +0000)]
Bug 15930 Nostalgia should have both edit links bolded
Andrew Garrett [Wed, 11 Feb 2009 23:44:02 +0000 (23:44 +0000)]
RELEASE-NOTES and alias NUMBEROFACTIVEUSERS for magic word ACTIVEUSERS introduced in r46822.
Philip Tzou [Wed, 11 Feb 2009 21:16:01 +0000 (21:16 +0000)]
Update the Chinese conversion tables.
New makefile script for ZhConversion.php.
Alexandre Emsenhuber [Wed, 11 Feb 2009 21:14:18 +0000 (21:14 +0000)]
Fix escaping of pipe-separator in revision (included via {{int:...}} in it)
Chad Horohoe [Wed, 11 Feb 2009 20:29:58 +0000 (20:29 +0000)]
(bug 12746) We shouldn't be sending out new password e-mails when a wiki is in read-only mode.
Roan Kattouw [Wed, 11 Feb 2009 19:28:07 +0000 (19:28 +0000)]
API: Remove stray $options = array(); from ApiPageSet
Previous commit message didn't mention changing ApiQueryInfo to sort $titles by page ID and to add info about missing pages in one go (the latter upon Brad Jorsch's suggestion)
Roan Kattouw [Wed, 11 Feb 2009 19:25:25 +0000 (19:25 +0000)]
* API: Add documentation to important API classes
* Move page_is_redirect up in ApiPageSet::getPageTableFields()
Siebrand Mazeland [Wed, 11 Feb 2009 18:34:02 +0000 (18:34 +0000)]
Localisation updates for core messages from translatewiki.net (2009-02-11 18:17 UTC)
Siebrand Mazeland [Wed, 11 Feb 2009 16:32:30 +0000 (16:32 +0000)]
Use pipe-separator instead of hard coded pipe symbol with leading and trailing space where used in English language messages
Aaron Schulz [Wed, 11 Feb 2009 16:08:36 +0000 (16:08 +0000)]
(bug 17414) Added magic words as a cache dependency
Aaron Schulz [Wed, 11 Feb 2009 15:56:53 +0000 (15:56 +0000)]
Add suggest=1 to search suggestion AJAX request. ApiOpenSearch won't execute such request if $wgEnableMWSuggest is disabled
Tim Starling [Wed, 11 Feb 2009 15:07:18 +0000 (15:07 +0000)]
(bug 17420) Send the correct content type from action=raw when the HTML file cache is enabled. Regression due to r45123/r45126. Will be backported to the 1.14 branch.
Purodha B Blissenbach [Wed, 11 Feb 2009 11:56:01 +0000 (11:56 +0000)]
Bugfis, making ?uselang=qqq an invalid language code, see
https://bugzilla.wikimedia.org/show_bug.cgi?id=17445
Tim Starling [Wed, 11 Feb 2009 08:18:44 +0000 (08:18 +0000)]
Fixed broken comment (fails on my version of MySQL)
Siebrand Mazeland [Tue, 10 Feb 2009 23:58:16 +0000 (23:58 +0000)]
Remove some unneeded spaces in output
Siebrand Mazeland [Tue, 10 Feb 2009 23:39:35 +0000 (23:39 +0000)]
Localisation updates for core messages from translatewiki.net (2009-02-10 23:29 UTC)
Roan Kattouw [Tue, 10 Feb 2009 19:10:58 +0000 (19:10 +0000)]
API: Page prop=imageinfo by (title, timestamp) rather than using an offset. Suggested by Brad Jorsch.
Rotem Liss [Tue, 10 Feb 2009 18:32:23 +0000 (18:32 +0000)]
Localization update.
Raimond Spekking [Tue, 10 Feb 2009 16:36:35 +0000 (16:36 +0000)]
typo from r47092. Spotted by SPQRobin
Raimond Spekking [Tue, 10 Feb 2009 16:19:34 +0000 (16:19 +0000)]
Localize time zone regions in Special:Preferences
Roan Kattouw [Tue, 10 Feb 2009 16:01:50 +0000 (16:01 +0000)]
API: (bug 17433) Added bot flag to list=watchlist&wlprop=flags output
Roan Kattouw [Tue, 10 Feb 2009 15:56:34 +0000 (15:56 +0000)]
API: Make UTF-8 cleanup actually work; it was broken from the beginning. Apparently I expected array_walk to behave like array_map, which is not the case.
Alexandre Emsenhuber [Tue, 10 Feb 2009 13:10:43 +0000 (13:10 +0000)]
Oops, accidentally reverted r47053 in m last commit
Alexandre Emsenhuber [Tue, 10 Feb 2009 13:04:18 +0000 (13:04 +0000)]
Allow entities so that the " " in pipe-separator are not escaped twice
Alexandre Emsenhuber [Tue, 10 Feb 2009 12:48:58 +0000 (12:48 +0000)]
rm deprecated note for MagicWordwgVariableIDs hook since it's the only way for an extension to register a new variable
Roan Kattouw [Tue, 10 Feb 2009 12:32:22 +0000 (12:32 +0000)]
API: Page prop=revisions by rev_id or (rev_page, rev_id), depending on mode, because the offset system potentially sucks. Suggested by Brad Jorsch
Siebrand Mazeland [Tue, 10 Feb 2009 06:54:37 +0000 (06:54 +0000)]
Localisation updates for core messages from translatewiki.net (2009-02-10 06:41 UTC)
Andrew Garrett [Mon, 9 Feb 2009 23:18:37 +0000 (23:18 +0000)]
Apply changes made live on Wikimedia cluster related to preprocessor caching to subversion. Patch worked on by Tim Starling and myself.
Changes from the original patch (r46936):
* Add versioning to the cache, so the cache can be purged.
* Only cache preprocessor output for input of over a certain amount (default of 1000 bytes).
Aaron Schulz [Mon, 9 Feb 2009 22:41:02 +0000 (22:41 +0000)]
Added missing Revision::FOR_THIS_USER flag
Rotem Liss [Mon, 9 Feb 2009 22:36:16 +0000 (22:36 +0000)]
Localization update.
Aaron Schulz [Mon, 9 Feb 2009 22:27:25 +0000 (22:27 +0000)]
Tweaks for bug 17060
* Don't show links to deleted revs in history for anyone (consistency)
* Always hide deleted content from all users; it can be viewed via (show/hide) links
Raimond Spekking [Mon, 9 Feb 2009 22:07:13 +0000 (22:07 +0000)]
* (bug 17311) Add a note beside the gender selection menu to tell users that this information will be public
Siebrand Mazeland [Mon, 9 Feb 2009 21:47:00 +0000 (21:47 +0000)]
Replace hard coded pipe separators with locale based
Rotem Liss [Mon, 9 Feb 2009 19:54:27 +0000 (19:54 +0000)]
Localization update.
Roan Kattouw [Mon, 9 Feb 2009 19:54:25 +0000 (19:54 +0000)]
API: Query-continue prop=categoryinfo by cat_title rather than offset. Suggested by Brad Jorsch
Roan Kattouw [Mon, 9 Feb 2009 19:24:28 +0000 (19:24 +0000)]
Fix up r47037, which was itself a fix-up of r46845. Change suggested by Brad Jorsch
Siebrand Mazeland [Mon, 9 Feb 2009 17:48:41 +0000 (17:48 +0000)]
(bug 7509) Separation strings should be configurable
Last commit to fix this issue. Related commits are r47028, r47040, r47044. Originally committed as r40953, which was reverted in r40977, because if was too verbose. Language::pipeList, and Language::commaList should have resolved that.
Chad Horohoe [Mon, 9 Feb 2009 16:34:40 +0000 (16:34 +0000)]
Per code review, bit of cleanup to Special:Export.
Siebrand Mazeland [Mon, 9 Feb 2009 16:24:03 +0000 (16:24 +0000)]
Remove hard coding of pipe separators in skins. Use Language::pipeList as much as possible. Should also make code a bit more readable here and there.
Roan Kattouw [Mon, 9 Feb 2009 15:15:49 +0000 (15:15 +0000)]
Remove a TODO from ApiMove and add a FIXME to SpecialMovepage
Siebrand Mazeland [Mon, 9 Feb 2009 14:31:48 +0000 (14:31 +0000)]
* remove forgotten case of hard coded pipe separator in Pager
* fix bug in GlobalFunctions.php introduced in r47028. pipeList() needs to be fed an array.
Roan Kattouw [Mon, 9 Feb 2009 14:16:51 +0000 (14:16 +0000)]
* API: (bug 17357) Add subpage moving to the API
* Added Title::moveSubpages() as a backend function
** Didn't update SpecialMovepage to use this; left to braver souls
* Fix handling of errors on talk page move (will backport)
Roan Kattouw [Mon, 9 Feb 2009 14:07:18 +0000 (14:07 +0000)]
API: Fix up r46825:
* put the tables in the right order
* JOIN on user_text as well for better index usage
* Force the index on the recentchanges table as well
* Don't ORDER BY rev_user_text if it's constant
Roan Kattouw [Mon, 9 Feb 2009 13:28:12 +0000 (13:28 +0000)]
Fix some more regressions from r46845 reported by Brad Jorsch on the mediawiki-api list <lists.wikimedia.org/pipermail/mediawiki-api/2009-February/000924.html>
Raimond Spekking [Mon, 9 Feb 2009 12:39:54 +0000 (12:39 +0000)]
Follow up r47025: Add new message
Tim Starling [Mon, 9 Feb 2009 09:37:13 +0000 (09:37 +0000)]
Simple proof-of-principle script to generate a CDB file from the currently loaded extensions
Siebrand Mazeland [Mon, 9 Feb 2009 09:13:30 +0000 (09:13 +0000)]
* Update message 'pipe-separator' to have leading and trailing space for English and Occitan, to be able to remove some hard coded spaces
* Take out some hard coded pipe characters. Replace by message or Language::pipeList
* Take out a hard coded comma list SpecialIpblocklist.php. Replace by Language::commaList
Siebrand Mazeland [Mon, 9 Feb 2009 08:34:55 +0000 (08:34 +0000)]
Fallback for Yakut to Russian per request of translator HalanTul
Aaron Schulz [Mon, 9 Feb 2009 07:42:54 +0000 (07:42 +0000)]
* Tweaks for bug 17052:
** Made radio button default selection fallback to the next one for deleted revs
** Use deleted diff message rather than showing an ambiguous "empty diff"
* Code style tweaks
Robert Leverington [Sun, 8 Feb 2009 23:48:48 +0000 (23:48 +0000)]
* Minor adjustment to previous commit, unify ordering (print footer, then debug data).
Robert Leverington [Sun, 8 Feb 2009 23:39:17 +0000 (23:39 +0000)]
* (bug 17408) Add $wgShowDebug configuration variable, displays debug data at the bottom of the main content area when enabled.
Siebrand Mazeland [Sun, 8 Feb 2009 22:54:52 +0000 (22:54 +0000)]
Localisation updates for core messages from translatewiki.net (2009-02-08 22:48 UTC)
Alexandre Emsenhuber [Sun, 8 Feb 2009 19:28:37 +0000 (19:28 +0000)]
(bug 17404) "userrights-interwiki" right was missing in User::$mCoreRights
Siebrand Mazeland [Sun, 8 Feb 2009 15:55:32 +0000 (15:55 +0000)]
* Recommit r39503. (bug 14468) Lines in classic RecentChanges and Watchlist now have classes "mw-line-odd" and "mw-line-even" to make styling using css possible. Implemented in OldChangesList::recentChangesLine using an additional parameter, while keeping behaviour for other uses unchanged. Did not see any use adding this to ChangesList::recentChangesLine.
* keep RELEASE-NOTES lines under 80 characters
Rotem Liss [Sun, 8 Feb 2009 15:34:27 +0000 (15:34 +0000)]
Localization update.
Siebrand Mazeland [Sun, 8 Feb 2009 14:11:44 +0000 (14:11 +0000)]
Fix on r47003. Use the correct message key. Thanks to UV for spotting this.
Siebrand Mazeland [Sun, 8 Feb 2009 09:56:57 +0000 (09:56 +0000)]
(bug 16909) Histlegend message should use live 'cur', 'last' messages instead of duplicating their contents. (not necessarily possible to all localisations)
Siebrand Mazeland [Sat, 7 Feb 2009 23:46:43 +0000 (23:46 +0000)]
(bug 17341) "Powered by MediaWiki" should be on the left on RTL wikis
Siebrand Mazeland [Sat, 7 Feb 2009 21:54:13 +0000 (21:54 +0000)]
Localisation updates for core messages from translatewiki.net (2009-02-07 21:24 UTC)
Rotem Liss [Sat, 7 Feb 2009 18:23:06 +0000 (18:23 +0000)]
Localization update.
Huji [Sat, 7 Feb 2009 15:41:30 +0000 (15:41 +0000)]
Localisation updates: Updating magic words and special page aliases
Alexandre Emsenhuber [Sat, 7 Feb 2009 15:22:01 +0000 (15:22 +0000)]
Correct fix for the E_NOTICE fixed in r46977.
Alexandre Emsenhuber [Sat, 7 Feb 2009 15:16:51 +0000 (15:16 +0000)]
* Fix E_NOTICE
* Add page title
Chad Horohoe [Sat, 7 Feb 2009 15:13:42 +0000 (15:13 +0000)]
Fix another E_NOTICE.
Chad Horohoe [Sat, 7 Feb 2009 14:44:56 +0000 (14:44 +0000)]
Fix E_STRICT per Raymond.
Greg Sabino Mullane [Sat, 7 Feb 2009 05:46:24 +0000 (05:46 +0000)]
Minor alphabetsize.
Shinjiman [Sat, 7 Feb 2009 02:13:54 +0000 (02:13 +0000)]
Localisation updates Cantonese and Chinese
Chad Horohoe [Fri, 6 Feb 2009 23:36:12 +0000 (23:36 +0000)]
Rewrite Special:Export to subclass SpecialPage.
Andrew Garrett [Fri, 6 Feb 2009 22:44:28 +0000 (22:44 +0000)]
Add 'include pages linked to from these pages' to Special:Export and the corresponding transwiki interface.
Siebrand Mazeland [Fri, 6 Feb 2009 22:15:02 +0000 (22:15 +0000)]
Small tweak for 'noarticletext'
Rotem Liss [Fri, 6 Feb 2009 22:03:57 +0000 (22:03 +0000)]
Localization update.
Purodha B Blissenbach [Fri, 6 Feb 2009 21:56:04 +0000 (21:56 +0000)]
Give users a direct link to the page log so as to more easily find
deleted redirects after page moves, or pages moved without automated
redirects, as per a suggestion of user Church of emacs, see:
http://translatewiki.net/wiki/Support#MediaWiki:Noarticletext
Alexandre Emsenhuber [Fri, 6 Feb 2009 21:17:43 +0000 (21:17 +0000)]
Fix for r46460: use "CREATE INDEX ... ON ..." rather than inside "CREATE TABLE" so that SQLite doesn't throw an error when creating new tables
Andrew Garrett [Fri, 6 Feb 2009 20:27:58 +0000 (20:27 +0000)]
Cache preprocessor output in memcached.