Roan Kattouw [Tue, 7 Oct 2008 18:23:39 +0000 (18:23 +0000)]
(bug 15881) API: Empty or invalid parameters cause database errors
Alexandre Emsenhuber [Tue, 7 Oct 2008 18:10:08 +0000 (18:10 +0000)]
* Display default extensions messages for language subpages when the page being edited doesn't exist
* Fix MessageCache::figureMessage() to allow slashes in message name
Siebrand Mazeland [Tue, 7 Oct 2008 16:33:11 +0000 (16:33 +0000)]
Follow up on r41723. 'rcnotefrom' is no longer in use.
Roan Kattouw [Tue, 7 Oct 2008 14:57:59 +0000 (14:57 +0000)]
* (bug 15845) API: Added pageid/fromid parameter to action=delete/move, making manipulation of legacy pages with invalid titles possible
* Fix an E_STRICT while I'm at it
Rotem Liss [Tue, 7 Oct 2008 11:01:05 +0000 (11:01 +0000)]
Localization update for he.
Raimond Spekking [Tue, 7 Oct 2008 07:56:35 +0000 (07:56 +0000)]
Cleanup for r41782: use a common class, not a series of specific IDs.
Per Brions codereview: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/41782#c124
Aaron Schulz [Tue, 7 Oct 2008 02:22:37 +0000 (02:22 +0000)]
Tweak r41788 - Use findFile() to check current version if $time given
Brion Vibber [Tue, 7 Oct 2008 01:10:32 +0000 (01:10 +0000)]
Cleanup for r41713 PHP 4 warning page:
* Avoid register_globals XSS vulns hitting the template directly
* Avoid register_globals XSS vulns when using funny URLs
* Avoid horrible links when using funny URLs :)
* Swapped REQUEST_URI for SCRIPT_NAME as primary in path check, since SCRIPT_NAME doesn't include the PATH_INFO bits so will work when hitting a URL like index.php/Foo/Bar, or hopefully a rewrite?
* Don't spew errors if the file_get_contents() fails
* Don't FATAL out if file_get_contents() doesn't exist -- new in 4.3.0 :)
* Add a link to PHP download page
Brion Vibber [Tue, 7 Oct 2008 00:31:26 +0000 (00:31 +0000)]
Update to r41727 (bug 539) "click" parameter on images.
* Renamed to "link", which seems clearer and less mouse-centric ;)
* Added parser test cases:
3 new PASSING test(s) :)
* Image with link parameter, wiki target [Has never failed]
* Image with link parameter, URL target [Has never failed]
* Image with empty link parameter [Has never failed]
Aaron Schulz [Tue, 7 Oct 2008 00:30:18 +0000 (00:30 +0000)]
Add handy $time parameter to wfLocalFile()
Aaron Schulz [Mon, 6 Oct 2008 23:57:05 +0000 (23:57 +0000)]
(bug 10250) New password submission oddness for empty passwords
Aaron Schulz [Mon, 6 Oct 2008 23:51:33 +0000 (23:51 +0000)]
(bug 9226) Fetch restrictions properly on export
Brion Vibber [Mon, 6 Oct 2008 23:30:52 +0000 (23:30 +0000)]
Cleanup for r41724: parser test cases altered by removal of unneeded <span> in floating thumb.
The stray <span> was added by Gabriel Wicke in r2953 "to allow better css styling", but doesn't appear to have been really used. Doesn't seem any clear benefit to it, and it causes problems with fancy media types like OggHandler, so let's kill it and fix the tests. :)
Aaron Schulz [Mon, 6 Oct 2008 23:21:30 +0000 (23:21 +0000)]
Query and UI cleanup
Siebrand Mazeland [Mon, 6 Oct 2008 21:32:51 +0000 (21:32 +0000)]
Remove 'their' from 'blocklist-nousertalk'
Raimond Spekking [Mon, 6 Oct 2008 21:16:28 +0000 (21:16 +0000)]
* Format page protection warning identical to similar warnings
* Move these lines to shared.css
Siebrand Mazeland [Mon, 6 Oct 2008 21:09:21 +0000 (21:09 +0000)]
Localisation updates for core messages from Betawiki (2008-10-06 23:00 CEST)
Siebrand Mazeland [Mon, 6 Oct 2008 20:54:05 +0000 (20:54 +0000)]
Fix on r41778: actually replace 'history-search' by 'history-fieldset-title' in code.
Siebrand Mazeland [Mon, 6 Oct 2008 20:51:24 +0000 (20:51 +0000)]
* rename 'history-search' to 'history-fieldset-title' and change description (thank you Splarka for talking back)
* fix a message group comment in messages.inc
Rotem Liss [Mon, 6 Oct 2008 20:42:54 +0000 (20:42 +0000)]
Localization update.
Aaron Schulz [Mon, 6 Oct 2008 20:17:35 +0000 (20:17 +0000)]
(bug 4391) Blocklist filters
Rotem Liss [Mon, 6 Oct 2008 20:10:26 +0000 (20:10 +0000)]
Localization update.
Siebrand Mazeland [Mon, 6 Oct 2008 20:01:43 +0000 (20:01 +0000)]
Split date ($2) and time ($3) in 'protect-existing-expiry' per request of a translator. Leaving the old timestamp ($1) in for backward compatibility.
Rotem Liss [Mon, 6 Oct 2008 19:51:33 +0000 (19:51 +0000)]
Localization update for he.
Huji [Mon, 6 Oct 2008 19:23:34 +0000 (19:23 +0000)]
(sanitizing r41770) An ID can't be used for two elements
Huji [Mon, 6 Oct 2008 19:13:48 +0000 (19:13 +0000)]
(bug 15869) Nostalgia skin does not show page title in printable mode
Alexandre Emsenhuber [Mon, 6 Oct 2008 18:56:14 +0000 (18:56 +0000)]
Fix XHTML error (url not escaped)
Siebrand Mazeland [Mon, 6 Oct 2008 16:47:21 +0000 (16:47 +0000)]
* Fix left over from r41765. I am not pretending I didn't know. It was right there in php5.php5.
* trim trailing spaces while I am here.
Siebrand Mazeland [Mon, 6 Oct 2008 16:43:36 +0000 (16:43 +0000)]
Rename extension-test.php5 to php5.php5 to no break 'extensions/' auto completion (per IRC with TimStarling)
Raimond Spekking [Mon, 6 Oct 2008 16:14:50 +0000 (16:14 +0000)]
* Fix sequence of tabindex
* Use existing CSS classes for label and input
* Break long lines
Raimond Spekking [Mon, 6 Oct 2008 16:02:30 +0000 (16:02 +0000)]
* Fix sequence of tabindex
* Use existing CSS classes for label and input
* Break long lines
Chad Horohoe [Mon, 6 Oct 2008 15:31:03 +0000 (15:31 +0000)]
+a few docs
Huji [Mon, 6 Oct 2008 15:28:38 +0000 (15:28 +0000)]
Localisation updates: Adding/updating Persian translations
Chad Horohoe [Mon, 6 Oct 2008 14:54:00 +0000 (14:54 +0000)]
Cleanup to this. Don't need to pass by reference if we're returning too.
Huji [Mon, 6 Oct 2008 13:43:22 +0000 (13:43 +0000)]
Reverting r41749 because it added empty messages for untranslated optional messages. I suspect Translate extension did that.
Huji [Mon, 6 Oct 2008 13:28:06 +0000 (13:28 +0000)]
Localisation updates: Adding/updating Persian translations
Meno25 [Mon, 6 Oct 2008 12:09:51 +0000 (12:09 +0000)]
Update ar and arz
Siebrand Mazeland [Mon, 6 Oct 2008 12:09:51 +0000 (12:09 +0000)]
Fixes in messages management for multiple commits. Please mind this, and please 'php rebuildLanguage.php --lang=en' before you commit message changes!
Raimond Spekking [Mon, 6 Oct 2008 11:04:55 +0000 (11:04 +0000)]
* (bug 15718) Change special namespace for 'eu' and add alias
Niklas Laxström [Mon, 6 Oct 2008 09:57:00 +0000 (09:57 +0000)]
addWikiMsg
Andrew Garrett [Mon, 6 Oct 2008 09:16:20 +0000 (09:16 +0000)]
(bug 15301) Fix up use of actions in display for permissions errors.
Tim Starling [Mon, 6 Oct 2008 08:21:41 +0000 (08:21 +0000)]
(bug 15563) port PHP bug workaround to Parser_OldPP
Tim Starling [Mon, 6 Oct 2008 07:37:37 +0000 (07:37 +0000)]
(bug 14229) Trim attribute name in #tag
Tim Starling [Mon, 6 Oct 2008 07:30:38 +0000 (07:30 +0000)]
(bug 12586) Use wfHostname() everywhere, remove $wguname and $wgNodeName. Use getenv('COMPUTERNAME') on Windows.
Tim Starling [Mon, 6 Oct 2008 05:55:27 +0000 (05:55 +0000)]
* Added "click" parameter to image links, to allow images to link to an arbitrary title or URL. This should replace inaccessible and incomplete solutions such as CSS-based overlays and ImageMap.
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.