Alex Z [Mon, 6 Oct 2008 04:36:39 +0000 (04:36 +0000)]
Pass the actual text from $row->title (escaped with htmlspecialchars) instead of null so we can see what the bad title actually is.
Tim Starling [Mon, 6 Oct 2008 04:22:19 +0000 (04:22 +0000)]
Remove apparently unnecessary <span> around images, causes invalid XHTML when the image contains block-level elements, as in ImageMap and OggHandler.
Aaron Schulz [Mon, 6 Oct 2008 03:49:43 +0000 (03:49 +0000)]
Remove some redundant "starting from" message cruft (bug 3327)
Meno25 [Mon, 6 Oct 2008 02:48:52 +0000 (02:48 +0000)]
Updates
Tim Starling [Mon, 6 Oct 2008 02:31:25 +0000 (02:31 +0000)]
Disable double redirect fixer by default, pending resolution of bug 15622, causes more harm than good.
Tim Starling [Mon, 6 Oct 2008 01:25:40 +0000 (01:25 +0000)]
suppressredirect off by default following complaints
Tim Starling [Mon, 6 Oct 2008 01:21:16 +0000 (01:21 +0000)]
Allow humans to suppress redirect too, not just bots. Added human interface, gave sysops the right by default.
Tim Starling [Mon, 6 Oct 2008 00:45:18 +0000 (00:45 +0000)]
* Allow $wgDiff3=false
* Don't call quickUserCan('edit') unless section edit is enabled
* In DatabasePostgres and DatabaseSqlite: throw an exception on connection error
* In DatabasePostgres: don't send an invalid connection string whenever one of the fields is empty. Use quoting.
* In Database: make the captured PHP error prettier
* Display a descriptive error message when the user navigates to index.php with PHP 4, not a parse error. Check to see if the *.php5 extension works, using file_get_contents().
* The default port number for PostgreSQL is 5432, not blank.
* Better default for $wgDBname
Aaron Schulz [Sun, 5 Oct 2008 23:28:24 +0000 (23:28 +0000)]
Fix empty protection row check to avoid adding dead rows; remove any existing ones (bug 15832)
Ryan Schmidt [Sun, 5 Oct 2008 21:28:11 +0000 (21:28 +0000)]
* fixing DismissSiteNotice so that it works properly with javascript-disabled browsers
* make DismissSiteNotice honor cookie configuration variables
* adding missing name to CREDITS
Ryan Schmidt [Sun, 5 Oct 2008 20:27:23 +0000 (20:27 +0000)]
* integrate Poem extension into core (patch by Nathaniel Herman)
Ryan Schmidt [Sun, 5 Oct 2008 19:53:49 +0000 (19:53 +0000)]
* fixing bugs with DismissableSitenotice merge:
** [dismiss] link does not show up if sitenotice is blank
** [dismiss] link is in line with notice instead of under
Siebrand Mazeland [Sun, 5 Oct 2008 19:43:20 +0000 (19:43 +0000)]
Localisation updates for core messages from Betawiki (2008-10-05 21:29 CEST)
Siebrand Mazeland [Sun, 5 Oct 2008 19:07:14 +0000 (19:07 +0000)]
Now why would one remove eol-style:native?
Huji [Sun, 5 Oct 2008 18:02:11 +0000 (18:02 +0000)]
(bug 15831) Modern skin RTL support is bugous
Siebrand Mazeland [Sun, 5 Oct 2008 16:58:23 +0000 (16:58 +0000)]
Update link for mediawiki-announce to use https
Roan Kattouw [Sun, 5 Oct 2008 09:35:47 +0000 (09:35 +0000)]
(bug 15767) API: apfilterlanglinks returns duplicate results
Siebrand Mazeland [Sun, 5 Oct 2008 08:59:24 +0000 (08:59 +0000)]
Localisation updates for core messages from Betawiki (2008-10-05 10:45 CEST)
Siebrand Mazeland [Sun, 5 Oct 2008 07:54:43 +0000 (07:54 +0000)]
Follow up on r41679. Rebuild message files and register new messages, with ignored for 'sitenotice_id'.
Aaron Schulz [Sun, 5 Oct 2008 02:48:40 +0000 (02:48 +0000)]
Remove cruft here
Aaron Schulz [Sun, 5 Oct 2008 02:45:12 +0000 (02:45 +0000)]
Partial revert of r41527. Do this in a cleaner way.
Shinjiman [Sun, 5 Oct 2008 01:26:10 +0000 (01:26 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Jack Phoenix [Sat, 4 Oct 2008 23:46:06 +0000 (23:46 +0000)]
Merging DismissableSiteNotice extension into core.
Alex Z [Sat, 4 Oct 2008 23:34:44 +0000 (23:34 +0000)]
Cleanup for r41673, don't check for page existence.
Alex Z [Sat, 4 Oct 2008 23:05:47 +0000 (23:05 +0000)]
Use Linker::link() in PageQueryPage instead of deprecated makeKnownLinkObj. This also avoids PHP fatal errors if for whatever reason there's an invalid title in the results.
Bertrand Grondin [Sat, 4 Oct 2008 23:03:26 +0000 (23:03 +0000)]
Fixing link not displayed for nosuchuser message, bug #15838
Aaron Schulz [Sat, 4 Oct 2008 22:00:44 +0000 (22:00 +0000)]
Make sure all RC entries for page are cleared on delete (bug 15655)
Roan Kattouw [Sat, 4 Oct 2008 21:54:11 +0000 (21:54 +0000)]
API: Add examples for list=duplicatefiles
Rotem Liss [Sat, 4 Oct 2008 19:37:21 +0000 (19:37 +0000)]
Localization update.
Huji [Sat, 4 Oct 2008 18:10:15 +0000 (18:10 +0000)]
(bug 10323) Special:Undelete should have "inverse selection" button
Huji [Sat, 4 Oct 2008 18:08:51 +0000 (18:08 +0000)]
Self-revert accidental breakage
Huji [Sat, 4 Oct 2008 17:59:26 +0000 (17:59 +0000)]
(bug 10323) Special:Undelete should have "inverse selection" button
Huji [Sat, 4 Oct 2008 16:34:52 +0000 (16:34 +0000)]
Localisation updates: Adding/updating Persian translations
Rotem Liss [Sat, 4 Oct 2008 16:05:23 +0000 (16:05 +0000)]
Localization update.
X! [Sat, 4 Oct 2008 15:27:39 +0000 (15:27 +0000)]
Implement a configurable per-namespace and per-page header, similar to the editnotice.
*MediaWiki:Pageheader-# for whole namespace
*MediaWiki:Pagenumber-#-PAGENAME for one page.
*Can be disabled using __NOHEADER__
Roan Kattouw [Sat, 4 Oct 2008 15:06:24 +0000 (15:06 +0000)]
Remove debugging code
Roan Kattouw [Sat, 4 Oct 2008 15:03:03 +0000 (15:03 +0000)]
API: Add allowsduplicates attribute to action=paraminfo output
Roan Kattouw [Sat, 4 Oct 2008 14:58:13 +0000 (14:58 +0000)]
API: * (bug 15785) Allow for different expiry times for different protections, like the UI does
* BREAKING CHANGE: Alter action=protect output to display multiple expiry times
* BREAKING CHANGE: Error messages invalidexpiry and pastexpiry now state the expiry they're about
* Add ApiBase::PARAM_ALLOW_DUPLICATES and honor it in ApiBase::getParameterFromSettings()
Roan Kattouw [Sat, 4 Oct 2008 14:30:33 +0000 (14:30 +0000)]
Add a meaningful example for list=watchlistraw
Roan Kattouw [Sat, 4 Oct 2008 13:44:14 +0000 (13:44 +0000)]
Last commit's patch was by Brad Jorsch
Roan Kattouw [Sat, 4 Oct 2008 13:43:17 +0000 (13:43 +0000)]
(bug 15647) API edit with basetimestamp fails if the page has been deleted and undeleted since the last edit
Roan Kattouw [Sat, 4 Oct 2008 13:33:44 +0000 (13:33 +0000)]
(bug 15768) Add list=watchlistraw to the API
Shinjiman [Sat, 4 Oct 2008 10:26:49 +0000 (10:26 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Alexandre Emsenhuber [Sat, 4 Oct 2008 10:14:13 +0000 (10:14 +0000)]
Some cleanup
Alexandre Emsenhuber [Sat, 4 Oct 2008 08:44:48 +0000 (08:44 +0000)]
Per siebrand: fix E_STRICT
Siebrand Mazeland [Sat, 4 Oct 2008 00:46:55 +0000 (00:46 +0000)]
* Localisation updates for core messages from Betawiki. Contains follow up on r41630 (added Nuke messages that were previously in an extension i18n file.
* Add OBSOLETE to Nuke
Siebrand Mazeland [Sat, 4 Oct 2008 00:33:07 +0000 (00:33 +0000)]
* Add functionality of extension Nuke to core. Messages for other languages will be added in a next commit.
* Update Translate
Brion Vibber [Fri, 3 Oct 2008 22:23:03 +0000 (22:23 +0000)]
add a damn deadlock loop on this thing
Brion Vibber [Fri, 3 Oct 2008 21:16:35 +0000 (21:16 +0000)]
Don't die with an SQL syntax error when there are no pages in the wiki.
MySQL returned error "1064: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND 99 AND page_restrictions !='' AND page_restrictions !='edit (10.0.0.101)"
Purodha B Blissenbach [Fri, 3 Oct 2008 19:11:02 +0000 (19:11 +0000)]
Add localized button.
The image is released to the public domain by Purodha Blissenbach,
http://commons.wikimedia.org/wiki/Image:Button_S_italic.png
Chad Horohoe [Fri, 3 Oct 2008 13:32:55 +0000 (13:32 +0000)]
Split off some of these validation methods into their own class called Validate so they can be useful elsewhere :)
Rotem Liss [Fri, 3 Oct 2008 12:49:28 +0000 (12:49 +0000)]
Localization: Rebuilding some language files.
Nicolas Dumazet [Fri, 3 Oct 2008 11:43:00 +0000 (11:43 +0000)]
cleaning r41495 :
* moving the localized message in the Renameuser extension
* removing the old perms from DefaultSettings
* moving the hook into a static function
Purodha B Blissenbach [Fri, 3 Oct 2008 07:30:09 +0000 (07:30 +0000)]
typo correction, prep for variants
Brion Vibber [Fri, 3 Oct 2008 00:38:33 +0000 (00:38 +0000)]
Back out r41548 "Classes derived from SpecialPage can now specify a run() method, which will be executed after all magic performed by SpecialPage::execute()"
It's unclear what benefit this brings, and the magic calling is scary and icky.
Brion Vibber [Fri, 3 Oct 2008 00:00:24 +0000 (00:00 +0000)]
Backing r41531 out for now ("Concept for diff-based compression using the new xdiff beta")
Looks cool, but this changes the return type of ConcatenatedGzipHistoryBlob::addItem() from a stub object to a hash value, which will break its usages in ConcatenatedGzipHistoryBlob::setText() and maintenance/storage/compressOld.inc.
Matt Johnston [Thu, 2 Oct 2008 22:52:42 +0000 (22:52 +0000)]
Fix r41410, forgot to put new option in function docs
Matt Johnston [Thu, 2 Oct 2008 21:49:20 +0000 (21:49 +0000)]
Re-commit r41410 (parts of at least) with fixes (case problems). Passes all the tests brion mentioned.
Matt Johnston [Thu, 2 Oct 2008 21:04:36 +0000 (21:04 +0000)]
Add Linker::link flag for using article path (reapplying from r41410, was not a part that had problems)
Alexandre Emsenhuber [Thu, 2 Oct 2008 18:19:22 +0000 (18:19 +0000)]
Custom error message from the AbortMove hook is now passed in the same array as the hookaborted message
Siebrand Mazeland [Thu, 2 Oct 2008 17:56:38 +0000 (17:56 +0000)]
Localisation updates for core messages from Betawiki (2008-10-02 19:53 CEST)
Siebrand Mazeland [Thu, 2 Oct 2008 17:31:43 +0000 (17:31 +0000)]
Here we go again, this time for 'blocklist-nousertalk'
Bryan Tong Minh [Thu, 2 Oct 2008 17:30:04 +0000 (17:30 +0000)]
Classes derived from SpecialPage can now specify a run() method, which will be executed after all magic performed by SpecialPage::execute().
Just because copying code to subclasses is annoying.
Matt Johnston [Thu, 2 Oct 2008 09:34:29 +0000 (09:34 +0000)]
(bug 8440) Add API support for new blocking flag, also fix defaults so anywhere else we use an IPBlockForm it'll use a more sensible default.
Matt Johnston [Thu, 2 Oct 2008 09:18:50 +0000 (09:18 +0000)]
Fix 41533 - Update message name to be more descriptive
Siebrand Mazeland [Thu, 2 Oct 2008 08:51:56 +0000 (08:51 +0000)]
Update RELEASE-NOTES for r41465
Matt Johnston [Thu, 2 Oct 2008 08:41:10 +0000 (08:41 +0000)]
(bug 8440) Fix ipblocklist to show new allow usertalk flag.
Tim Starling [Thu, 2 Oct 2008 06:32:14 +0000 (06:32 +0000)]
* Concept for diff-based compression using the new xdiff beta. Acheives massively better compression ratio compared to CGZ for articles which are larger than the deflate 32 KB sliding window. Works within the HistoryBlob architecture.
* Fixed documentation in HistoryBlob.php, removed "todo document" for methods that are adequately documented in the interface.
* Added testCompression.php for testing concatenated object compression ratio
Aaron Schulz [Thu, 2 Oct 2008 01:12:07 +0000 (01:12 +0000)]
* Pull isLocked() and isHidden() up to User using callbacks
* Add quick globalblock check function to User
* Add 'locked'/'globally blocked' notices to checkuser (bug 15272) (bug 15792)
Siebrand Mazeland [Wed, 1 Oct 2008 22:32:35 +0000 (22:32 +0000)]
Localisation updates for core messages from Betawiki (2008-10-02 00:24 CEST)
Ilmari Karonen [Wed, 1 Oct 2008 21:38:13 +0000 (21:38 +0000)]
Make the API maxlag check send the same "Retry-After" and "X-Database-Lag" headers as wfMaxlagError() does.
The HTTP status code is still different, I can see arguments for having it either way.
Rotem Liss [Wed, 1 Oct 2008 18:28:34 +0000 (18:28 +0000)]
Localization update.
Brion Vibber [Wed, 1 Oct 2008 16:59:51 +0000 (16:59 +0000)]
Reverting r41410 -- broke interwikis totally in parser tests.
4 previously passing test(s) now FAILING! :(
* Inline interwiki link [Introduced between 30-Sep-2008 00:18:19, 1.14alpha (r41405) and 01-Oct-2008 16:31:38, 1.14alpha (r41504)]
* Inline interwiki link with empty title (bug 2372) [Introduced between 30-Sep-2008 00:18:19, 1.14alpha (r41405) and 01-Oct-2008 16:31:38, 1.14alpha (r41504)]
* Interwiki link encoding conversion (bug 1636) [Introduced between 30-Sep-2008 00:18:19, 1.14alpha (r41405) and 01-Oct-2008 16:31:38, 1.14alpha (r41504)]
* Interwiki link with fragment (bug 2130) [Introduced between 30-Sep-2008 00:18:19, 1.14alpha (r41405) and 01-Oct-2008 16:31:38, 1.14alpha (r41504)]
Alexandre Emsenhuber [Wed, 1 Oct 2008 16:39:05 +0000 (16:39 +0000)]
Allow to specify per connection table prefix
Huji [Wed, 1 Oct 2008 11:58:10 +0000 (11:58 +0000)]
Localisation updates: Adding/updating Persian translations
Matt Johnston [Wed, 1 Oct 2008 10:02:44 +0000 (10:02 +0000)]
When there is no title given but a curid parameter is given, use the curid to pick a page. Curid also now has precedence over title when picking a page, which keeps it consistent with oldid.
Siebrand Mazeland [Wed, 1 Oct 2008 09:43:05 +0000 (09:43 +0000)]
Remove "on {{SITENAME}}" for the messages below. Use of {{SITENAME}} can cause issues with languages that use grammar, and in essence it is unnecessary bloat.
* 'feed-unavailable', 'resetpass_forbidden', 'nocreate-loggedin', 'uploaddisabledtext', 'filedelete-nofile', 'movenotallowed', 'moverootuserpagesnotallowed'
Siebrand Mazeland [Wed, 1 Oct 2008 08:41:26 +0000 (08:41 +0000)]
Remove 'right-restrict' where present (follow up on r41468). Rotem: you can use "php rebuildLanguage --lang=all" to do it for all languages in future cases.
Rotem Liss [Wed, 1 Oct 2008 08:33:10 +0000 (08:33 +0000)]
Removing right-restrict message: it refers to a right which no longer exists.
Rotem Liss [Wed, 1 Oct 2008 08:30:49 +0000 (08:30 +0000)]
Localization update.
Siebrand Mazeland [Wed, 1 Oct 2008 08:08:35 +0000 (08:08 +0000)]
Fixes for incomplete r41465.
Nicolas Dumazet [Wed, 1 Oct 2008 07:51:05 +0000 (07:51 +0000)]
Adding a new right, move-rootuserpages.
This is a feature request by French crats :
the idea is to prevent users from wrongly attempting to userrename through Special:Movepage/User:xx . When this happens, a 'crat has to revert the move (deleting the redirects, sometimes with a lot of subpages) before being able to rename the user.
Default permission scheme still allows users to move root userpages
Huji [Wed, 1 Oct 2008 06:59:10 +0000 (06:59 +0000)]
Localisation updates: Adding/updating Persian translations
Matt Johnston [Tue, 30 Sep 2008 21:03:38 +0000 (21:03 +0000)]
(bug 15791) Typo in API docs, APIProtect has some remnants of help messages from deletion/restoration.
Siebrand Mazeland [Tue, 30 Sep 2008 20:47:19 +0000 (20:47 +0000)]
Localisation updates for core messages from Betawiki (2008-09-30 22:40 CEST)
Chad Horohoe [Tue, 30 Sep 2008 19:58:56 +0000 (19:58 +0000)]
Add some more debugging goodies to this. $lastCurlErrno and $lastHttpResponse are static members saved with the last returned status codes.
Alex Z [Tue, 30 Sep 2008 19:57:00 +0000 (19:57 +0000)]
(bug 15789) Autoblocks now have the same setting for editing user talk as the original block.
Brion Vibber [Tue, 30 Sep 2008 19:25:04 +0000 (19:25 +0000)]
Curl sanity -- dump non-200 return codes and error numbers to debug log at least, rather than just silently failing.
Alexandre Emsenhuber [Tue, 30 Sep 2008 19:03:22 +0000 (19:03 +0000)]
Tweak for r41431: also use wfMsgExt() in Language::getMessageFromDB()
Alexandre Emsenhuber [Tue, 30 Sep 2008 17:15:11 +0000 (17:15 +0000)]
Fix for r41430: wfMsgExt() now accepts a Language object in the language key of $options
Chad Horohoe [Tue, 30 Sep 2008 16:24:23 +0000 (16:24 +0000)]
* Add $forContent option to Language::commaList
* Add pipeList() for similar lists separated by pipes
* More docs.
Rotem Liss [Tue, 30 Sep 2008 16:08:39 +0000 (16:08 +0000)]
Fixing a function call.
Chad Horohoe [Tue, 30 Sep 2008 15:13:13 +0000 (15:13 +0000)]
Added setVal accessor to $wgRequest->data so we don't have to access it directly. Use this in ApiEditPage.
Chad Horohoe [Tue, 30 Sep 2008 14:05:21 +0000 (14:05 +0000)]
Cleanup for Xml::namespaceSelector():
* Removed useless $hidden param, cleaned up calls that specified it (only 1, and it passed default false)
* Add $label param for easy attachment of labels to the selector.
Aaron Schulz [Tue, 30 Sep 2008 13:36:40 +0000 (13:36 +0000)]
And this was true... *sigh*
Aaron Schulz [Tue, 30 Sep 2008 13:35:15 +0000 (13:35 +0000)]
Revert self - local issue
Aaron Schulz [Tue, 30 Sep 2008 13:31:48 +0000 (13:31 +0000)]
Don't assume edits are bot edits just because there is no 'bot=' url param...
Rotem Liss [Tue, 30 Sep 2008 09:12:43 +0000 (09:12 +0000)]
Localization update.
Tim Starling [Tue, 30 Sep 2008 08:45:52 +0000 (08:45 +0000)]
Hostnames are allowed to have dots in them
Siebrand Mazeland [Tue, 30 Sep 2008 08:32:08 +0000 (08:32 +0000)]
Remove unused message 'loginproblem'