Danny B [Mon, 30 Jun 2008 01:26:02 +0000 (01:26 +0000)]
* adding <meta name="generator" content="MediaWiki $wgVersion" />
Purodha B Blissenbach [Mon, 30 Jun 2008 00:03:32 +0000 (00:03 +0000)]
ksh - new skin names translated.
Roan Kattouw [Sun, 29 Jun 2008 22:29:08 +0000 (22:29 +0000)]
Another regression from r36678: dieUsageMsg() expects an array, not varargs.
Roan Kattouw [Sun, 29 Jun 2008 22:26:23 +0000 (22:26 +0000)]
Fix regression from r36678: we can't use $this->dieUsageMsg() in a static method, so let's make ApiQueryBase::keyToTitle() and titleToKey() non-static.
Alexandre Emsenhuber [Sun, 29 Jun 2008 22:09:39 +0000 (22:09 +0000)]
Added missing dirs (includes/db, includes/parser, includes/specials)
Tim Starling [Sun, 29 Jun 2008 20:02:42 +0000 (20:02 +0000)]
Remove hack for old APC bug that's fixed now. Was causing problems for DumpHTML (and probably other command line scripts) because $IP was not the same as dirname(__FILE__), causing double-inclusion.
Chad Horohoe [Sun, 29 Jun 2008 03:42:37 +0000 (03:42 +0000)]
(bug 14670) Return false if AutoLoader can't find a class.
Chad Horohoe [Sun, 29 Jun 2008 00:07:13 +0000 (00:07 +0000)]
(bug 14678) Make API respect $wgShowSQLErrors and $wgShowExceptionDetails. Patch by Max Semenik.
Daniel Kinzler [Sat, 28 Jun 2008 19:40:14 +0000 (19:40 +0000)]
adding debug messages to ajax dispatcher
Huji [Sat, 28 Jun 2008 17:14:39 +0000 (17:14 +0000)]
Localisation updates: Adding/updating Persian translations
Merlijn S. van Deen [Sat, 28 Jun 2008 12:31:59 +0000 (12:31 +0000)]
bugfix: $wgSharedprefix -> $wgSharedPrefix (the correct global)
Bryan Tong Minh [Fri, 27 Jun 2008 20:35:43 +0000 (20:35 +0000)]
Added clprop=timestamp to prop=categories
Bryan Tong Minh [Fri, 27 Jun 2008 19:45:24 +0000 (19:45 +0000)]
* Allow extensions to modify the user creation form by calling addInputItem();
Chad Horohoe [Fri, 27 Jun 2008 17:06:34 +0000 (17:06 +0000)]
Refactoring (un)lock. All the subclasses are currently returning true, except for mySQL. Makes more sense to put the no-op in the parent class then just subclass it as needed. Other things could maybe do this too.
Shinjiman [Fri, 27 Jun 2008 15:08:07 +0000 (15:08 +0000)]
fixing encoding problems on r36664
patch by fdcn
Chad Horohoe [Fri, 27 Jun 2008 15:06:22 +0000 (15:06 +0000)]
Add no-ops for the (un)lock functions.
Shinjiman [Fri, 27 Jun 2008 14:30:49 +0000 (14:30 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Rotem Liss [Fri, 27 Jun 2008 14:28:32 +0000 (14:28 +0000)]
* Not optional messages.
* Reorganizing the messages in messages.inc.
* Update for he.
Chad Horohoe [Fri, 27 Jun 2008 13:50:06 +0000 (13:50 +0000)]
wrapWikiMsg() instead of doing it raw.
Aryeh Gregor [Fri, 27 Jun 2008 13:37:47 +0000 (13:37 +0000)]
Update RELEASE-NOTES and hooks.txt for r36692. Contrary to the commit message, the AbortMove hook seems not to have been changed, so I didn't mention that.
Chad Horohoe [Fri, 27 Jun 2008 13:26:46 +0000 (13:26 +0000)]
Localize Virus scanner messages.
Niklas Laxström [Fri, 27 Jun 2008 12:17:05 +0000 (12:17 +0000)]
* Fail fast
Alexandre Emsenhuber [Fri, 27 Jun 2008 11:43:39 +0000 (11:43 +0000)]
Tweaks for r36682:
* output an error if an invalid title was given
* Don't allow interwiki links
* Removed unused global definition of $wgContLang in SpecialRecentchanges::makeOptionsLink()
Alexandre Emsenhuber [Fri, 27 Jun 2008 11:01:04 +0000 (11:01 +0000)]
Don't allow contentless tags for <textarea>
Andrew Garrett [Fri, 27 Jun 2008 10:46:04 +0000 (10:46 +0000)]
Don't let textareas be done in short form
Roan Kattouw [Fri, 27 Jun 2008 10:37:40 +0000 (10:37 +0000)]
Fix fatal errors introduced in r36678
Alexandre Emsenhuber [Fri, 27 Jun 2008 10:24:00 +0000 (10:24 +0000)]
* Fixed some Doxygen warnings
* Removed unused global declaration of $wgOut in AjaxFunctions.php
Andrew Garrett [Fri, 27 Jun 2008 09:22:12 +0000 (09:22 +0000)]
Don't be lazy: Initialise autoblock objects with both the blocker ID and their name
Niklas Laxström [Fri, 27 Jun 2008 07:32:06 +0000 (07:32 +0000)]
* Add id to preferences form, requested by Splarka
Andrew Garrett [Fri, 27 Jun 2008 07:22:21 +0000 (07:22 +0000)]
Use class=mw_label instead of valign and align
Daniel Friesen [Fri, 27 Jun 2008 06:36:14 +0000 (06:36 +0000)]
Removing single ' from linktrail as per bug 14655 and wikitech-l.
Andrew Garrett [Fri, 27 Jun 2008 06:24:42 +0000 (06:24 +0000)]
Core changes for AbuseFilter extension.
In particular:
Xml.php
* Add textarea method to Xml class.
* Make submit button optional for Xml::buildForm
* Right-align labels in buildForm.
Article.php:
* Make ArticleDelete hook display a real error
EditPage.php:
* Split off getBaseRevision()
Title.php:
* Allow errors to be ignored to be sent to getUserPermissionsErrors.
* Allow AbortMove hook to display a real error.
Block.php:
* Add 'mAngryAutoblock' option, for blocks by software, which does retroactive autoblocks on the last 5 IPs used in the last 7 days.
Shinjiman [Fri, 27 Jun 2008 00:54:29 +0000 (00:54 +0000)]
Localisation updates Chinese
Chad Horohoe [Thu, 26 Jun 2008 20:41:40 +0000 (20:41 +0000)]
Undo previous commit. Schema changes are a no-no without permission first :-)
Chad Horohoe [Thu, 26 Jun 2008 20:38:26 +0000 (20:38 +0000)]
(bug 13438) Make Special:MIMESearch less expensive. Needs some benchmarking to see if it's enough saving to remove it from the "is expensive special page" list.
Aryeh Gregor [Thu, 26 Jun 2008 20:26:56 +0000 (20:26 +0000)]
Consistent whitespace
Alexandre Emsenhuber [Thu, 26 Jun 2008 19:12:52 +0000 (19:12 +0000)]
Rewritten Special:Recentchangeslinked, now using a subclass of SpecialRecentchanges:
* (bugs 4832, 9481, 12890) Now has all options present in Special:Recentchanges (hide myself, bots, ...)
* Using "showlinkedto" on a template now uses the templatelinks table to fetch links instead of pagelinks
* [[Special:Recentchanges/0]] now works as expected, thanks to Nikerabbit for pointing this out
Jack Phoenix [Thu, 26 Jun 2008 16:02:39 +0000 (16:02 +0000)]
Fix regression from 36662: broke the external link icon totally, external links weren't showing up as such...
Roan Kattouw [Thu, 26 Jun 2008 15:48:44 +0000 (15:48 +0000)]
Use the proper Title methods in ApiQueryBase::titleToKey() and keyToTitle(). This fixes bug 14651 for much more than just apprefix.
Alexandre Emsenhuber [Thu, 26 Jun 2008 14:00:57 +0000 (14:00 +0000)]
Using WikiError seems to be useless here
Daniel Kinzler [Thu, 26 Jun 2008 13:05:40 +0000 (13:05 +0000)]
added PPCustomFrame classes to restore ability to use replaceVariables with a custom map of values. This should unbreak some extensions that were broken by the new PP stuff, like the News extension.
Rotem Liss [Thu, 26 Jun 2008 05:03:01 +0000 (05:03 +0000)]
Add new variants to the English file.
Shinjiman [Thu, 26 Jun 2008 03:00:34 +0000 (03:00 +0000)]
* (bug 14604) Introduced the following features for the LanguageConverter: Multi-tag support, single conversion flag, remove conversion flag on a single page, description flag, variant name, multi-variant fallbacks.
patch by fdcn
* Added zh-mo and zh-my variants for the zh language
Chad Horohoe [Thu, 26 Jun 2008 00:26:43 +0000 (00:26 +0000)]
(bug 14647) Remove unused 'townBox' class from global CSS.
Aryeh Gregor [Thu, 26 Jun 2008 00:10:15 +0000 (00:10 +0000)]
May as well add my name here. It might come in handy sometime.
Robert Stojnić [Wed, 25 Jun 2008 22:07:11 +0000 (22:07 +0000)]
Do proper inheritance here instead of copy-paste of top level constructor.
Fixes problem with missing search results on Postgres, thanks to pyroplasm on IRC for pointing it out and testing.
Siebrand Mazeland [Wed, 25 Jun 2008 20:17:58 +0000 (20:17 +0000)]
Localisation updates for core messages from Betawiki (2008-06-25 22:11 CEST)
Niklas Laxström [Wed, 25 Jun 2008 15:14:41 +0000 (15:14 +0000)]
* $code may be undefined, because it is defined inside the loop above, don't use it
Niklas Laxström [Wed, 25 Jun 2008 13:50:46 +0000 (13:50 +0000)]
* Partially revert 36631, can't use this
Alexandre Emsenhuber [Wed, 25 Jun 2008 13:42:01 +0000 (13:42 +0000)]
Some tweaks to the doxygen doc:
* Removed maintenance/mwdoxygen.cfg file and "make doxydoc", doxygen is already supported by default in mwdocgen.php
* Added svn revisions numbers to the doc if Subversion is installed.
Raimond Spekking [Wed, 25 Jun 2008 12:09:32 +0000 (12:09 +0000)]
Fix for r36587:
* Do not overwrite the previous found $tz when $wgLocaltimezone is set
* Rename message name to a more specific one
* Add message to the message files
Niklas Laxström [Wed, 25 Jun 2008 11:23:34 +0000 (11:23 +0000)]
* Handle fallbacks too in extension aliases
Niklas Laxström [Wed, 25 Jun 2008 10:59:22 +0000 (10:59 +0000)]
* $wgExtensionAliasesFiles option to simplify adding aliases for special pages provided by extensions
Greg Sabino Mullane [Tue, 24 Jun 2008 20:58:10 +0000 (20:58 +0000)]
Add some quick no-ops for the new lock() and unlock() funcs.
Ryan Schmidt [Tue, 24 Jun 2008 14:32:49 +0000 (14:32 +0000)]
* add new hook LinkerMakeExternalImage to allow extensions to modify the HTML output of external images
Chad Horohoe [Tue, 24 Jun 2008 13:03:16 +0000 (13:03 +0000)]
Bit of work to AbortMove hook, in preparation for making the SpamBlacklist work on move logs.
Niklas Laxström [Tue, 24 Jun 2008 12:38:17 +0000 (12:38 +0000)]
* Some classes from maintenance for autoloading
Siebrand Mazeland [Tue, 24 Jun 2008 00:03:41 +0000 (00:03 +0000)]
Fix regression from r36301: add namespace aliases
Mohamed Magdy [Mon, 23 Jun 2008 22:39:49 +0000 (22:39 +0000)]
Patch that fixes bug number 14452. patch by AhmadSherif.
Aaron Schulz [Mon, 23 Jun 2008 21:36:20 +0000 (21:36 +0000)]
Remove duplication
Siebrand Mazeland [Mon, 23 Jun 2008 21:12:55 +0000 (21:12 +0000)]
Localisation updates for core messages from Betawiki (2008-06-23 22:55 CEST)
Alexandre Emsenhuber [Mon, 23 Jun 2008 17:33:41 +0000 (17:33 +0000)]
Remove call to wfSeedRandom(), this function does nothing
Raimond Spekking [Mon, 23 Jun 2008 16:12:30 +0000 (16:12 +0000)]
Localisation updates German
Aryeh Gregor [Sun, 22 Jun 2008 18:24:33 +0000 (18:24 +0000)]
Revert 36514 per Wikitech-l discussion.
Andrew Garrett [Sun, 22 Jun 2008 11:30:42 +0000 (11:30 +0000)]
Add noratelimit right to list of core rights, was missing.
Chad Horohoe [Sun, 22 Jun 2008 00:01:41 +0000 (00:01 +0000)]
Self revert, this isn't really implemented right.
Chad Horohoe [Sat, 21 Jun 2008 23:40:26 +0000 (23:40 +0000)]
Add MediaWiki:Print.css back in. Now applies to printable=yes -and- actual printing media.
Roan Kattouw [Sat, 21 Jun 2008 15:15:05 +0000 (15:15 +0000)]
Oops, removed RELEASE-NOTES entries in r36526
Roan Kattouw [Sat, 21 Jun 2008 15:13:26 +0000 (15:13 +0000)]
API:
* (bug 14605) Adding readonly field to meta=siteinfo&siprop=general
* Unifying coding style in ApiQuerySiteinfo
Roan Kattouw [Sat, 21 Jun 2008 15:06:40 +0000 (15:06 +0000)]
Oops, gotta use $exp here
Rotem Liss [Sat, 21 Jun 2008 11:34:47 +0000 (11:34 +0000)]
Re-adding a <div> element for the rc options.
Rotem Liss [Sat, 21 Jun 2008 10:51:02 +0000 (10:51 +0000)]
Removing the recent changes fieldset, per complaints from some users.
Shinjiman [Sat, 21 Jun 2008 10:18:51 +0000 (10:18 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Aaron Schulz [Sat, 21 Jun 2008 03:21:02 +0000 (03:21 +0000)]
E_SRICT; callback should have the ampersand
Aaron Schulz [Sat, 21 Jun 2008 03:17:35 +0000 (03:17 +0000)]
* Revert r36478; I don't see the point in this cryptic code
* Restore r36273 as explain on mailing list
Huji [Sat, 21 Jun 2008 02:53:16 +0000 (02:53 +0000)]
Localisation updates: Adding/updating Persian translations
Brion Vibber [Fri, 20 Jun 2008 19:50:06 +0000 (19:50 +0000)]
* (bug 14515) HTML nesting cleanup on edit form
The edit form was being a bit wonky about how it nested certain things, splitting the "summary" *label* from the input form and following check boxes with a <div> boundary... which was then forced to be inline.
This maybe made sense long ago, but seems pretty silly now. The div boundary made even less sense when in 'add comment' mode, and when hiding #edit-form via custom JS or css it would abut the <textarea> directly against the following checkboxes, leading to intermittent layout problems.
Moved the <div> to surround the summary box (for regular editing) and down below the textarea (for add-comment mode) so editOptions makes some kind of sense... hopefully....
Chad Horohoe [Fri, 20 Jun 2008 18:46:29 +0000 (18:46 +0000)]
No need to count(*) in SiteStats::admins
Rotem Liss [Fri, 20 Jun 2008 16:36:32 +0000 (16:36 +0000)]
Fixes.
Rotem Liss [Fri, 20 Jun 2008 16:33:39 +0000 (16:33 +0000)]
Fix.
Rotem Liss [Fri, 20 Jun 2008 13:34:51 +0000 (13:34 +0000)]
Update.
Chad Horohoe [Fri, 20 Jun 2008 12:41:25 +0000 (12:41 +0000)]
Fix regression from r36376. $wgAllowCategorizedRecentChanges was broken.
Roan Kattouw [Fri, 20 Jun 2008 10:51:17 +0000 (10:51 +0000)]
Revert live hack from r36493, because it has no effect whatsoever.
$params['action'] cannot be an invalid action, because the $params array is filled by ApiBase::extractRequestParams() which checks whether the parameters are valid and throws an error message (ironically implemented with a UsageException) if they're not.
Siebrand Mazeland [Fri, 20 Jun 2008 08:47:54 +0000 (08:47 +0000)]
(for for previous incomplete commit message)
(bug 11488) Update namespaces for Hungarian.
Was about time that I did this as I was being threatened with decayed corpses :)
http://commons.wikimedia.org/w/index.php?title=User_talk:Siebrand&oldid=
12334627#Hungarian_Wikipedia_.28the_people_still_ask_or_namespace-renaming.29
Siebrand Mazeland [Fri, 20 Jun 2008 08:46:31 +0000 (08:46 +0000)]
(bug ) Update namespaces for Hungarian.
Was about time that I did this as I was being threatened with decayed corpses :)
Brion Vibber [Thu, 19 Jun 2008 23:48:09 +0000 (23:48 +0000)]
Apply live hack -- exception for invalid actions (as opposed to....?)
Brion Vibber [Thu, 19 Jun 2008 23:35:40 +0000 (23:35 +0000)]
update ips for our silly internal script... which really should not be in core mw, but in a separate module for our internal scritps :D
Brion Vibber [Thu, 19 Jun 2008 23:33:45 +0000 (23:33 +0000)]
apply live hacks: debug logging for spam regex & blacklist hits
Brion Vibber [Thu, 19 Jun 2008 23:22:03 +0000 (23:22 +0000)]
replace live hack: include debug info in thumb.php (switch it in with $wgShowHostnames)
Brion Vibber [Thu, 19 Jun 2008 22:11:03 +0000 (22:11 +0000)]
Revert r36446, 36447 -- spews a whole bunch of table alignment into various skins' skin-specific CSS.
This seems a bit odd; if there's a reason for it *at all* it should be in the shared CSS, but I don't see any reason for it to begin with, really.
Brion Vibber [Thu, 19 Jun 2008 21:40:36 +0000 (21:40 +0000)]
re-tweak filename: todo -- refactor this crap to use classes and the autoloader
Brion Vibber [Thu, 19 Jun 2008 21:28:21 +0000 (21:28 +0000)]
Revert the email footer for the moment. A few comments:
* It's using the *sending* user's UI language for the footer, which is not ideal.
* There's no clean separation between body text and footer; the text will run together unappetizingly.
* The default message is really long
* "Sent automatically" implies that it's something like a "this page changed, and the computer is notifying you", but this is an explicit user-to-user messaging action, not automatic at all.
* It's trying to take the 'allowemail' toggle string, which may contain arbitrary HTML, and pop it into a plaintext email. This can cause very ugly output if formatting or character entities are being used in the message string.
Brion Vibber [Thu, 19 Jun 2008 21:12:45 +0000 (21:12 +0000)]
Rename all the special page class files back to their proper names.
1) This keeps the filename the same as the classname, which is always nice
2) This avoids duplicate filenames (such as includes/Export.php and includes/specials/Export.php)
So I've at least got a chance of figuring out what file is what still...
Brion Vibber [Thu, 19 Jun 2008 21:02:23 +0000 (21:02 +0000)]
Revert r36413 -- renaming of search files into 'search' subdirectory
The loss of specific names would create a visible name conflict; when you've got "MySQL.php" open, what the hell is it? Is it the DatabaseMySQL class? Some other random MySQL-related thing? Update.php is also confusing -- we have an update.php which is a command-line script.
Don't do these confusing names; there's no pressing functional need to move the files at all, but if you must move them at least keep their distinct names so I can find my code.
Alexandre Emsenhuber [Thu, 19 Jun 2008 20:40:41 +0000 (20:40 +0000)]
Note that restrictions are rights, not groups. So now, cascading protection will be allowed if all groups that have the right being check have the 'protect' right too.
Brion Vibber [Thu, 19 Jun 2008 19:41:48 +0000 (19:41 +0000)]
Revert r36346 - 'print.css' message default value not needed since it's not used (since it didn't work)
Raimond Spekking [Thu, 19 Jun 2008 18:42:07 +0000 (18:42 +0000)]
Localisation updates German
Brion Vibber [Thu, 19 Jun 2008 18:18:57 +0000 (18:18 +0000)]
Revert r36308 "(bug 2889) MediaWiki:Print.css now applies to the printable version"
Doesn't actually work -- it applies it to 'printable=yes' print simulation, but not to actual printable stylesheet.
Brion Vibber [Thu, 19 Jun 2008 18:00:22 +0000 (18:00 +0000)]
Revert r36273:
The change was described only as "Fix confused code", but it changed from something
that appears to make sense (check for a permission key for that restriction group)
to something that doesn't (hardcoded check for two particular names).
If the change has an effect, and there's a reason for it, please describe it
in a bit more detail.
Brion Vibber [Thu, 19 Jun 2008 17:49:26 +0000 (17:49 +0000)]
Update linktrail parser test case for change in r36253: default linktrail now allows capitals.