Chad Horohoe [Wed, 2 Jul 2008 14:40:48 +0000 (14:40 +0000)]
(bug 14698) Make "Block account creation" work as advertised. :)
Chad Horohoe [Wed, 2 Jul 2008 13:42:12 +0000 (13:42 +0000)]
Adding the id's to the headings might make it work better.
Chad Horohoe [Wed, 2 Jul 2008 13:39:22 +0000 (13:39 +0000)]
(bug 13862) Add TOC to Special:SpecialPages.
Rotem Liss [Wed, 2 Jul 2008 12:59:53 +0000 (12:59 +0000)]
Update.
Rotem Liss [Wed, 2 Jul 2008 12:58:33 +0000 (12:58 +0000)]
* More descriptive message for Special:Blankpage.
* Update for he.
Aaron Schulz [Wed, 2 Jul 2008 10:33:42 +0000 (10:33 +0000)]
Append subtitle to keep existing stuff for redirects (bug 14696)
Raimond Spekking [Wed, 2 Jul 2008 09:51:21 +0000 (09:51 +0000)]
Tweak 'previewnote' a bit: Add a handy link to the edit box. Especially useful on long pages.
Niklas Laxström [Wed, 2 Jul 2008 07:36:42 +0000 (07:36 +0000)]
* Partial revert of r36692. Has been spewing fatal errors for few days already
Brion Vibber [Wed, 2 Jul 2008 02:31:05 +0000 (02:31 +0000)]
Revert r36523 -- removal of the fieldset made Recentchanges/Recentchangeslinked very ugly!
Options were in a table, which ended up showing white background without the fieldset (some sites use a light blue background for specials).
Generally everything just ran together, making it hard to visually distinguish the bits of the page.
It's looking much better with the set restored...
Brion Vibber [Wed, 2 Jul 2008 02:05:28 +0000 (02:05 +0000)]
cleanup -- remove added commented-out line
Brion Vibber [Wed, 2 Jul 2008 02:02:26 +0000 (02:02 +0000)]
Cleanup for r36660: use PHP 5 __construct() name for constructors to make things a little clearer when calling parent constructors and such
Ryan Schmidt [Wed, 2 Jul 2008 01:44:20 +0000 (01:44 +0000)]
* fix error in buildSelector function
Brion Vibber [Wed, 2 Jul 2008 01:19:00 +0000 (01:19 +0000)]
Some cleanup for r36609:
$url and $alt parameters in makeExternalImage() are now normalized to be escaped on output instead of before they reach the function. This ensures that any hooks processing them won't accidentally send plaintext which might become an injection vector, or just get confused on pre-escaped input they didn't expect.
Brion Vibber [Wed, 2 Jul 2008 01:05:08 +0000 (01:05 +0000)]
format fix
Brion Vibber [Tue, 1 Jul 2008 23:31:24 +0000 (23:31 +0000)]
OpenSearch cleanup; Firefox now sends you to the search page for empty searches instead of the domain root (which may not even be a wiki).
This is done by adding the <moz:SearchForm> extension element with the Special:Search URL.
Removed the 24-character truncation on ShortName... neither Firefox nor IE seems to care about longer names, but both expect the ShortName and <link> title to match, and will think you have a duplicate search provider if they don't match because only one was truncated. (Besides, 24 was longer than the spec's limit of 16 -- why bother limiting at all if not to spec?)
The JSON suggestions are now no longer included in the OpenSearch description if the API is disabled, since the interface won't work.
Generally removed some hardcoded escape-then-stick-vars-in-string-output eww... Extension hooks now have a more general opportunity to alter or replace the OpenSearch URLs by tying into the OpenSearchUrls hook.
Aryeh Gregor [Tue, 1 Jul 2008 22:30:06 +0000 (22:30 +0000)]
Add comment explaining mystery list of IP addresses
Raimond Spekking [Tue, 1 Jul 2008 21:00:41 +0000 (21:00 +0000)]
Per r36856: Add new messages to message files.
Daniel Kinzler [Tue, 1 Jul 2008 20:49:23 +0000 (20:49 +0000)]
allow Category objects for empty categories
Aryeh Gregor [Tue, 1 Jul 2008 20:22:54 +0000 (20:22 +0000)]
* Special:BlankPage is not part of the API
* Use CamelCase for special pages
* No need to list BlankPage, that will really confuse people (although I realize Domas finds that entertaining)
* Slightly more descriptive RELEASE-NOTE
Domas Mituzas [Tue, 1 Jul 2008 20:03:23 +0000 (20:03 +0000)]
one bug slipped through QA procedures
Domas Mituzas [Tue, 1 Jul 2008 19:55:17 +0000 (19:55 +0000)]
new feature! a blank special page! (thanks to everyone, who made Special:Version heavy :)
Aaron Schulz [Tue, 1 Jul 2008 15:35:21 +0000 (15:35 +0000)]
Replace underscores in target
Aaron Schulz [Tue, 1 Jul 2008 14:31:20 +0000 (14:31 +0000)]
riding the bandwagon :)
Greg Sabino Mullane [Tue, 1 Jul 2008 13:00:01 +0000 (13:00 +0000)]
Remove SearchTearch2.php, SearchPostgres.php is used instead.
Rotem Liss [Tue, 1 Jul 2008 11:45:57 +0000 (11:45 +0000)]
Update and fixes.
Huji [Tue, 1 Jul 2008 11:22:44 +0000 (11:22 +0000)]
Removing movepage-moved, using movepage-page-moved in its place. The former was actually a bolded version of the later.
Chad Horohoe [Tue, 1 Jul 2008 03:56:16 +0000 (03:56 +0000)]
Pass $mediaWiki object to MediawikiPerformAction hook.
Aryeh Gregor [Tue, 1 Jul 2008 01:17:39 +0000 (01:17 +0000)]
More comments, refactor for less code duplication.
Aryeh Gregor [Tue, 1 Jul 2008 00:57:39 +0000 (00:57 +0000)]
Tweak code style a little more: add more escaping and make the default value for $class clearer. Add some comments, rename poorly-named variables, use lowercase for reserved words.
Aryeh Gregor [Tue, 1 Jul 2008 00:40:53 +0000 (00:40 +0000)]
Wrap comments to 79 chars, not some arbitrary number. Fix a typo in a comment. Add some escaping that's probably unnecessary but makes me feel better.
Chad Horohoe [Mon, 30 Jun 2008 20:00:06 +0000 (20:00 +0000)]
(bug 14687) OutputPage::addStyle() now adds type="text/css" like it should.
Chad Horohoe [Mon, 30 Jun 2008 14:46:19 +0000 (14:46 +0000)]
Add $wgAdditionalXMLTypes, an array of XML mimetypes we can check for with MimeMagic.
Daniel Kinzler [Mon, 30 Jun 2008 14:06:36 +0000 (14:06 +0000)]
Make member counts from the new category table available for subcategories, beef up Category object a bit. This is mainly for use by the CategoryTree extension. NOTE: this changes the query used to fetch category listings!
Daniel Friesen [Mon, 30 Jun 2008 09:22:00 +0000 (09:22 +0000)]
Partial revert of r36804:
Removing the wfSharedTable function.
The function uses a $wgExternalSharedDB which is not part of Core, and has not been defined in default settings. The variable itself has no apparent purpose and is likely to make the existing use of $wgSharedDB even more complex and prone to breakage.
The function wfSharedTable itself, appears more like a Wikia made function to support transition of 1.12 wiki in which $wgSharedTables did not exist over to 1.13 in which it does exist.
If this is the actual point of it, then it serves no point in being added to core. 1.13 already has $wgSharedTables and it serves better to append to that, than to use wfSharedTable. This is something that extensions should be defining themselves if they need it for transition from old 1.12 wiki to 1.13.
Jack Phoenix [Mon, 30 Jun 2008 08:42:09 +0000 (08:42 +0000)]
Two new hooks and one new global function from Wikia codebase
Daniel Friesen [Mon, 30 Jun 2008 05:16:38 +0000 (05:16 +0000)]
Some missing changes for the $wgShared(DB|Prefix|Tables) setup:
* $wgCookiePrefix:
** Shared stuff should always come before local stuff when setting the cookie prefix (by my count, if you set $wgSharedDB and $wgDBprefix with the old order, even though your usertable is shared, your cookies would be local and logins wouldn't be shared right.
** Because the user table isn't always shared anymore, we only want shared code when $wgSharedTables has 'user' set inside of it.
** We now have $wgSharedPrefix, this should also be accounted for in the cookie prefix.
* updaders.inc: The logic for the $doUser test has changed since the conditions that the user table is shared has changed. Now when $shared is true we only want to $doUser when we have a shared database and 'user' is being shared, otherwise if $shared is false, we only want to $doUser when there is no shared database, or 'user' is not being shared.
Check MediaWiki.org's $wgSharedDB documentation for those on 1.12, I'll post a link there to a patch I maintain for 1.12.
Shinjiman [Mon, 30 Jun 2008 03:02:06 +0000 (03:02 +0000)]
Revert r35821, the change brokes the message cache what the MediaWiki:Conversiontable/xx-xx are using, also this would lose the effects what have been set in the MediaWiki:Conversiontable/xx-xx.
Aryeh Gregor [Mon, 30 Jun 2008 01:34:07 +0000 (01:34 +0000)]
Put this is getHeadLinks() instead to reduce code duplication. Also, update RELEASE-NOTES.
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