Siebrand Mazeland [Tue, 17 Jun 2008 10:44:40 +0000 (10:44 +0000)]
Fix typos. Thanks to Lejonel for spotting them.
Alexandre Emsenhuber [Tue, 17 Jun 2008 10:44:12 +0000 (10:44 +0000)]
Some more tweaks to Special:Recentchanges:
* Made User::getDefaultOption() static
* Do not breaks wikis whitout any changes
* fixed E_NOTICE: undefined variable SpecialRecentchanges::$par in SpecialRecentchanges::setup()
Alexandre Emsenhuber [Tue, 17 Jun 2008 08:41:07 +0000 (08:41 +0000)]
* Force ints for limit and days options, i get exceptions that they are not int ($wgUser->getOption() seems to return a string)
* Fix XHTML error
Niklas Laxström [Tue, 17 Jun 2008 08:24:00 +0000 (08:24 +0000)]
Refactored SpecialRecentchanges:
* Use a class and new frameworks
* Split into functions
* Two new hooks
* Split feed related items to new classes that are autoloaded
Niklas Laxström [Tue, 17 Jun 2008 08:14:33 +0000 (08:14 +0000)]
* Actually use $wgMessageCacheType for the MessageCache
Niklas Laxström [Tue, 17 Jun 2008 08:10:50 +0000 (08:10 +0000)]
* Fix comments
Niklas Laxström [Tue, 17 Jun 2008 08:08:59 +0000 (08:08 +0000)]
* Second try at normalising special page titles, now at the linker
* Normalises namespace and name to the content language of the wiki
Rotem Liss [Tue, 17 Jun 2008 08:07:35 +0000 (08:07 +0000)]
Renumber parameters to remove , doesn't break translations yet.
Niklas Laxström [Tue, 17 Jun 2008 08:03:34 +0000 (08:03 +0000)]
* No point passing sitename in parameter, as needs to be accompanied with grammar support
Rotem Liss [Tue, 17 Jun 2008 07:31:35 +0000 (07:31 +0000)]
Sending e-mail using Special:EmailUser does reveal the e-mail address of the sender.
Rotem Liss [Tue, 17 Jun 2008 07:30:07 +0000 (07:30 +0000)]
Update.
Chad Horohoe [Tue, 17 Jun 2008 04:34:31 +0000 (04:34 +0000)]
Other params that are useful to this message. Hasn't been translated yet, so no downstream effects.
Chad Horohoe [Tue, 17 Jun 2008 03:51:38 +0000 (03:51 +0000)]
(bug 14558) New system message (emailuserfooter) is now added to the footer of e-mails sent with Special:Emailuser. "Emailuserfooter' was already defined in the message rebuild script, but was unused.
Chad Horohoe [Tue, 17 Jun 2008 03:08:59 +0000 (03:08 +0000)]
Bug 14566 - Clarify what 'rclimit' actually does.
Shinjiman [Tue, 17 Jun 2008 02:39:03 +0000 (02:39 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Aaron Schulz [Tue, 17 Jun 2008 00:17:12 +0000 (00:17 +0000)]
Fix more total breakage
Alexandre Emsenhuber [Mon, 16 Jun 2008 22:21:12 +0000 (22:21 +0000)]
One more, thanks to Alexfusco5 for reporting it
Alexandre Emsenhuber [Mon, 16 Jun 2008 22:17:36 +0000 (22:17 +0000)]
Don't break feeds
Aaron Schulz [Mon, 16 Jun 2008 20:37:15 +0000 (20:37 +0000)]
Remove require() line - caused fatal errors
Tim Starling [Mon, 16 Jun 2008 20:21:26 +0000 (20:21 +0000)]
* Reorganised the includes directory, creating subdirectories db, parser and specials
* Wrote a tool to check the integrity of the autoloader class list, fixed some issues that came up.
* Start the autoloader before LocalSettings.php, so that when an extension writer thinks an inefficient one-file special page extension is the way to go, they don't have to use explicit includes to make the class inheritance work. Should continue to work with $IP set in LocalSettings.php as long as $IP is set before extensions are included.
Raimond Spekking [Mon, 16 Jun 2008 20:18:55 +0000 (20:18 +0000)]
Add the other existing $skin.css/.js to the message files too to be consistent
Brion Vibber [Mon, 16 Jun 2008 20:18:49 +0000 (20:18 +0000)]
* (bug 4977) Fix for possible squid purging errors when using HTTP purges
and multiple servers
Roan Kattouw [Mon, 16 Jun 2008 20:06:23 +0000 (20:06 +0000)]
Add maxage too
Chad Horohoe [Mon, 16 Jun 2008 19:49:58 +0000 (19:49 +0000)]
Add wfDeprecated() to Article::getDB()
Roan Kattouw [Mon, 16 Jun 2008 19:49:43 +0000 (19:49 +0000)]
(bug 14402) Added smaxage parameter to api.php
Raimond Spekking [Mon, 16 Jun 2008 19:41:50 +0000 (19:41 +0000)]
Per r36308: Add print.css to the message files
Tim Starling [Mon, 16 Jun 2008 16:19:05 +0000 (16:19 +0000)]
Use a variable for reporting interval instead of a constant, for inclusion friendliness
Chad Horohoe [Mon, 16 Jun 2008 14:18:41 +0000 (14:18 +0000)]
Phase out the last of Article::getDB().
Shinjiman [Mon, 16 Jun 2008 04:20:54 +0000 (04:20 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Localisation updates Cantonese for extension messages
Chad Horohoe [Mon, 16 Jun 2008 02:39:43 +0000 (02:39 +0000)]
Remove useless param in RecentChange::newFromCurRow()
Chad Horohoe [Mon, 16 Jun 2008 02:26:40 +0000 (02:26 +0000)]
Fixing it the way RockMFR said I should.
Chad Horohoe [Mon, 16 Jun 2008 01:45:32 +0000 (01:45 +0000)]
(bug 14551) - Cancel upload no longer automatically suppresses warnings.
Siebrand Mazeland [Sun, 15 Jun 2008 21:35:36 +0000 (21:35 +0000)]
Localisation updates from Betawiki. Special pages names updates
Siebrand Mazeland [Sun, 15 Jun 2008 21:26:11 +0000 (21:26 +0000)]
Localisation updates for core messages from Betawiki (2008-06-15 23:18 CEST)
Roan Kattouw [Sun, 15 Jun 2008 20:37:28 +0000 (20:37 +0000)]
API: Add nocreate parameter to action=edit
Chad Horohoe [Sun, 15 Jun 2008 20:30:52 +0000 (20:30 +0000)]
(bug 2889) MediaWiki:Print.css now applies to the printable version
Roan Kattouw [Sun, 15 Jun 2008 20:28:48 +0000 (20:28 +0000)]
API: Adding 'hidden' field to list=allcategories and prop=categoryinfo output
Roan Kattouw [Sun, 15 Jun 2008 19:59:55 +0000 (19:59 +0000)]
API: action=edit: Make the combination of prepend/appendtext and md5 do something useful. See also mailing list
Bertrand Grondin [Sun, 15 Jun 2008 17:02:10 +0000 (17:02 +0000)]
Updating namespace in ouzbec language, on Abdulla's request
Updating core message.
Alexandre Emsenhuber [Sat, 14 Jun 2008 10:41:46 +0000 (10:41 +0000)]
Allow entities, it breaks some languages such as french
Rotem Liss [Sat, 14 Jun 2008 09:59:13 +0000 (09:59 +0000)]
* A function to get all Wikimedia extensions.
* Using it to allow checking all Wikimedia extensions in checkExtensions.php.
Aaron Schulz [Fri, 13 Jun 2008 23:32:03 +0000 (23:32 +0000)]
* Fix confused code
* Break lone line
Rotem Liss [Fri, 13 Jun 2008 19:00:56 +0000 (19:00 +0000)]
More Hebrew translations for extensions.
Alexandre Emsenhuber [Fri, 13 Jun 2008 18:52:38 +0000 (18:52 +0000)]
fix for r36212: take care of the namespace too
Bryan Tong Minh [Fri, 13 Jun 2008 13:22:50 +0000 (13:22 +0000)]
(bug 14526) Unescaped SQL in list=backlinks
Raimond Spekking [Fri, 13 Jun 2008 09:27:14 +0000 (09:27 +0000)]
Remove non standard, Gecko specific CSS.
At least Opera whines about it and the round corners are not consistent to all other boxes with square corners.
Daniel Friesen [Fri, 13 Jun 2008 03:10:05 +0000 (03:10 +0000)]
Remove $linkTrail from Pl.
The polish characters are already covered by the new En default modifications. And the definition here in Pl stops Szl from inheriting the En which has it's fixes.
Daniel Friesen [Fri, 13 Jun 2008 02:47:10 +0000 (02:47 +0000)]
Amendment to r36250.
Rather than adding a few extra characters to a single locale just to make it work. We should extend our base linkTrail to work properly in a universal matter.
From: http://www.regular-expressions.info/posixbrackets.html#class
The Unicode format for mathing all [:alpha:] characters is \p{L&}
I tested this on my own machine. Before applying it 99% of the special characters inside of Wikipedia's EditTools box would not be considered part of a linktrail.
However, after changing the a-z to use \p{L&} every last character listed there was considered part of the LinkTrail and that includes the ones that r36250 tried to fix.
Additionally, I also added ' to allow matching, but only at the start of the linktrail to allow for things like [[Bar]]'s to link correctly. It was tested and does not break the ''s used for emphasis, and does not linkify single quotes used to quote things rather than as an apostraphe.
I may make a second commit later to remove legacy $linkTrail definitions which are no longer needed.
Aryeh Gregor [Fri, 13 Jun 2008 01:04:10 +0000 (01:04 +0000)]
Also omit rtl.css when appropriate. Would be good to do this for main.css too for Myskin (although of course that one should be included by default, not excluded).
Aryeh Gregor [Fri, 13 Jun 2008 00:51:52 +0000 (00:51 +0000)]
(bug 14520) Don't load nonexistent CSS fix files for Chick, Myskin, Simple
Danny B [Thu, 12 Jun 2008 23:45:49 +0000 (23:45 +0000)]
* bug 14512 - Add link trail on Slavic "ů" character
* added all non-ASCII letters which appear in szl
Huji [Thu, 12 Jun 2008 22:13:30 +0000 (22:13 +0000)]
Localisation updates: Adding/updating Persian translations
Aryeh Gregor [Thu, 12 Jun 2008 22:06:41 +0000 (22:06 +0000)]
Another PHP weak typing bug: when section anchors are numeric, the string indexes in the $refers array overwrite the numeric indexes, causing it to seem like there are already references with the same name, so extra numbers are added to the end. Reported at: <en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_(technical)&diff=
218878862&oldid=
218873693>
Aryeh Gregor [Thu, 12 Jun 2008 21:31:05 +0000 (21:31 +0000)]
Slightly clarify docs
Raimond Spekking [Thu, 12 Jun 2008 18:31:02 +0000 (18:31 +0000)]
Localisation updates German
Chad Horohoe [Thu, 12 Jun 2008 15:37:38 +0000 (15:37 +0000)]
Bump $wgStyleVersion to 155.
Chad Horohoe [Thu, 12 Jun 2008 14:46:11 +0000 (14:46 +0000)]
Clean up a bit of a mess with jsMsg(). Should be much more functional now and accept all types.
Siebrand Mazeland [Thu, 12 Jun 2008 14:13:30 +0000 (14:13 +0000)]
Localisation updates for core messages from Betawiki (2008-06-11 16:06 CEST)
Chad Horohoe [Thu, 12 Jun 2008 14:01:05 +0000 (14:01 +0000)]
(bug 14328) - Allow DOM objects to be used in jsMsg(), not only strings.
Roan Kattouw [Thu, 12 Jun 2008 13:05:07 +0000 (13:05 +0000)]
(bug 14459) Added prependtext and appendtext parameters to action=edit
Alexandre Emsenhuber [Thu, 12 Jun 2008 12:02:28 +0000 (12:02 +0000)]
(bug 14511) MediaWiki:Delete-legend is no longer double escaped
Roan Kattouw [Thu, 12 Jun 2008 11:50:01 +0000 (11:50 +0000)]
(bug 14471) Use HTMLTidy and generate limit report in action=parse
Roan Kattouw [Thu, 12 Jun 2008 11:43:15 +0000 (11:43 +0000)]
Please use standardized error messages here
Meno25 [Thu, 12 Jun 2008 11:20:38 +0000 (11:20 +0000)]
Update files
Chad Horohoe [Thu, 12 Jun 2008 00:51:04 +0000 (00:51 +0000)]
(bug 14500) - The sitefeed (RC) shouldn't show up on Recentchanges itself.
Brion Vibber [Thu, 12 Jun 2008 00:15:29 +0000 (00:15 +0000)]
* (bug 14497) Throw visible errors in installer scripts when SQL files fail due to database permission or other error
Database::sourceFile() was suppressing the standard error reporting, and returning any errors as a string value.
While nice behavior in theory, several years ago, this doesn't work well in practice; most callers assume either that any error will be fatal and halt the script (no error checking) or that an error will return false and any boolean true is success. This caused false positive success, as error conditions returned as strings evaluated to true.
Changed to letting the database object's existing erorr reporting behavior control whether it throws an exception or suppresses the error and returns it as a string -- default behavior will be to throw an exception, making 'can't run CREATE TABLE' errors actually visible to the user trying to install an extension.
For good measure, failure to open the input file also throws an exception to ensure that it will produce a nice visible error instead of a hidden WTF.
Roan Kattouw [Wed, 11 Jun 2008 22:20:26 +0000 (22:20 +0000)]
Re-add wfEncryptPassword() (removed in r35923 in favor of User::crypt() and User::oldCrypt()) for extension compatibility, so old extensions don't go around and throw fatal errors all over the place.
Siebrand Mazeland [Wed, 11 Jun 2008 21:42:23 +0000 (21:42 +0000)]
Localisation updates for core messages from Betawiki (2008-06-11 23:26 CEST)
Bryan Tong Minh [Wed, 11 Jun 2008 21:36:07 +0000 (21:36 +0000)]
Removed $wgEnableCascadingProtection. It was a quite pointless configuration setting which was not even properly implemented. Cascading protection has been always possible regardless of this configuration setting.
Aryeh Gregor [Wed, 11 Jun 2008 21:34:03 +0000 (21:34 +0000)]
I think every string that evaluates to boolean false will be unaffected by this code block anyway (can't capitalize numbers), but we want a strict check here anyway.
Chad Horohoe [Wed, 11 Jun 2008 19:57:14 +0000 (19:57 +0000)]
No point in fetching the result in Database::unlock() if we're not using it anyway.
Brion Vibber [Wed, 11 Jun 2008 17:45:16 +0000 (17:45 +0000)]
cleanup for r36190 -- remove extra parameters left over from wfMsgExt() call
Meno25 [Wed, 11 Jun 2008 17:44:47 +0000 (17:44 +0000)]
Update
Brion Vibber [Wed, 11 Jun 2008 17:37:15 +0000 (17:37 +0000)]
hoist by my own petard!
fix syntax errors in my last commit
Brion Vibber [Wed, 11 Jun 2008 17:34:47 +0000 (17:34 +0000)]
Let's not go overboard with Xml::tag() for simple <div> and <span>s :)
Raimond Spekking [Wed, 11 Jun 2008 12:53:33 +0000 (12:53 +0000)]
Tweak for r36189: Back to addWikiMsg but now with the appropriate parameter. Thanks to Nikerabbit who points me to the correct usage.
Raimond Spekking [Wed, 11 Jun 2008 12:07:58 +0000 (12:07 +0000)]
Reapply support of plural for 'linkstoimage', 'redirectstofile' and 'duplicatesoffile'
Now w/o breaking customized messages.
Alexandre Emsenhuber [Wed, 11 Jun 2008 11:07:34 +0000 (11:07 +0000)]
Document UserLoadDefaults and UserSetCookies hooks
Bryan Tong Minh [Wed, 11 Jun 2008 11:02:52 +0000 (11:02 +0000)]
(bug 14479) MediaWiki:upload-maxfilesize should have a div id wrapper on SpecialUpload.php
Brion Vibber [Wed, 11 Jun 2008 02:51:30 +0000 (02:51 +0000)]
Revert r36093 (bug 14404).
Regressions caused by this:
"Use an anonymous user to get the parser options and the parser cache key, thus wikitext rendering is not depending of some sepcific user options such as lang, ..."
User-specific options such as stub threshold were still applying in the parser, but not taken into account in the parser hash key. As a result, the caches were corrupt, saving different options into the anonymous-default options cache.
Brion Vibber [Wed, 11 Jun 2008 01:51:12 +0000 (01:51 +0000)]
Reverting r36139 -- broke wikitext in linkstoimage AGAIN.
Chad Horohoe [Wed, 11 Jun 2008 00:17:42 +0000 (00:17 +0000)]
Implement Database::lock() and Database::unlock() based on the same methods in Filestore. Not implemented in Filestore just yet though.
Chad Horohoe [Tue, 10 Jun 2008 23:18:15 +0000 (23:18 +0000)]
Document Xml::hidden().
Brion Vibber [Tue, 10 Jun 2008 21:32:20 +0000 (21:32 +0000)]
upload dirs will be created on demand; no longer a need to pre-create them
Brion Vibber [Tue, 10 Jun 2008 21:14:14 +0000 (21:14 +0000)]
Revert r36161 -- these are pretty weird-looking hooks, which seem a bit arbitrary and have terrible names.
Rotem Liss [Tue, 10 Jun 2008 18:55:32 +0000 (18:55 +0000)]
Avoid some of the strict JS warnings in Firefox.
Tim Starling [Tue, 10 Jun 2008 17:14:36 +0000 (17:14 +0000)]
Fix the default preprocessor here as well.
Rotem Liss [Tue, 10 Jun 2008 17:07:31 +0000 (17:07 +0000)]
Update.
Raimond Spekking [Tue, 10 Jun 2008 16:58:54 +0000 (16:58 +0000)]
Localisation updates German
Brion Vibber [Tue, 10 Jun 2008 16:49:21 +0000 (16:49 +0000)]
* We no longer just give up on a missing upload base directory; it's now
created automatically if we have sufficient permissions!
(Note that upload_directory_missing and upload_directory_read_only still have crappy output as they show a non-obvious internal path in the output.)
Jack Phoenix [Tue, 10 Jun 2008 16:33:41 +0000 (16:33 +0000)]
Two new hooks to EditPage.php, EditPage::AfterEdit:Form and EditPage:BeforeDisplayingTextbox
Chad Horohoe [Tue, 10 Jun 2008 15:56:12 +0000 (15:56 +0000)]
(bug 14496) Fix regression with parseinline on Special:Upload
Tim Starling [Tue, 10 Jun 2008 15:38:13 +0000 (15:38 +0000)]
Forgot this, needed with r36153
Tim Starling [Tue, 10 Jun 2008 15:20:22 +0000 (15:20 +0000)]
Like the comment says... dieDebug() instead of wfHttpError
Leon Weber [Tue, 10 Jun 2008 15:06:29 +0000 (15:06 +0000)]
(bug 12145) Kazakh localisation updates, patch 4971 by AlefZet
Chad Horohoe [Tue, 10 Jun 2008 13:56:35 +0000 (13:56 +0000)]
(bug 14132) Allow user to disable bot edits from being output to UDP.
Huji [Tue, 10 Jun 2008 13:16:21 +0000 (13:16 +0000)]
Localisation updates: Adding/updating Persian translations
Rotem Liss [Tue, 10 Jun 2008 12:44:32 +0000 (12:44 +0000)]
Update.
Raimond Spekking [Tue, 10 Jun 2008 12:22:31 +0000 (12:22 +0000)]
fix typo from r36141
Raimond Spekking [Tue, 10 Jun 2008 12:08:45 +0000 (12:08 +0000)]
Tweak two messages: add warnings "for experts only".
I got sick from the daily cries for help on the village pumps and OTRS :-(