lhc/web/wiklou.git
16 years agoMake member counts from the new category table available for subcategories, beef...
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!

16 years agoPartial revert of r36804:
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.

16 years agoTwo new hooks and one new global function from Wikia codebase
Jack Phoenix [Mon, 30 Jun 2008 08:42:09 +0000 (08:42 +0000)]
Two new hooks and one new global function from Wikia codebase

16 years agoSome missing changes for the $wgShared(DB|Prefix|Tables) setup:
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.

16 years agoRevert r35821, the change brokes the message cache what the MediaWiki:Conversiontable...
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.

16 years agoPut this is getHeadLinks() instead to reduce code duplication. Also, update RELEASE...
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.

16 years ago* adding <meta name="generator" content="MediaWiki $wgVersion" />
Danny B [Mon, 30 Jun 2008 01:26:02 +0000 (01:26 +0000)]
* adding <meta name="generator" content="MediaWiki $wgVersion" />

16 years agoksh - new skin names translated.
Purodha B Blissenbach [Mon, 30 Jun 2008 00:03:32 +0000 (00:03 +0000)]
ksh - new skin names translated.

16 years agoAnother regression from r36678: dieUsageMsg() expects an array, not varargs.
Roan Kattouw [Sun, 29 Jun 2008 22:29:08 +0000 (22:29 +0000)]
Another regression from r36678: dieUsageMsg() expects an array, not varargs.

16 years agoFix regression from r36678: we can't use $this->dieUsageMsg() in a static method...
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.

16 years agoAdded missing dirs (includes/db, includes/parser, includes/specials)
Alexandre Emsenhuber [Sun, 29 Jun 2008 22:09:39 +0000 (22:09 +0000)]
Added missing dirs (includes/db, includes/parser, includes/specials)

16 years agoRemove hack for old APC bug that's fixed now. Was causing problems for DumpHTML ...
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.

16 years ago(bug 14670) Return false if AutoLoader can't find a class.
Chad Horohoe [Sun, 29 Jun 2008 03:42:37 +0000 (03:42 +0000)]
(bug 14670) Return false if AutoLoader can't find a class.

16 years ago(bug 14678) Make API respect $wgShowSQLErrors and $wgShowExceptionDetails. Patch...
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.

16 years agoadding debug messages to ajax dispatcher
Daniel Kinzler [Sat, 28 Jun 2008 19:40:14 +0000 (19:40 +0000)]
adding debug messages to ajax dispatcher

16 years agoLocalisation updates: Adding/updating Persian translations
Huji [Sat, 28 Jun 2008 17:14:39 +0000 (17:14 +0000)]
Localisation updates: Adding/updating Persian translations

16 years agobugfix: $wgSharedprefix -> $wgSharedPrefix (the correct global)
Merlijn S. van Deen [Sat, 28 Jun 2008 12:31:59 +0000 (12:31 +0000)]
bugfix: $wgSharedprefix -> $wgSharedPrefix (the correct global)

16 years agoAdded clprop=timestamp to prop=categories
Bryan Tong Minh [Fri, 27 Jun 2008 20:35:43 +0000 (20:35 +0000)]
Added clprop=timestamp to prop=categories

16 years ago* Allow extensions to modify the user creation form by calling addInputItem();
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();

16 years agoRefactoring (un)lock. All the subclasses are currently returning true, except for...
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.

16 years agofixing encoding problems on r36664
Shinjiman [Fri, 27 Jun 2008 15:08:07 +0000 (15:08 +0000)]
fixing encoding problems on r36664
  patch by fdcn

16 years agoAdd no-ops for the (un)lock functions.
Chad Horohoe [Fri, 27 Jun 2008 15:06:22 +0000 (15:06 +0000)]
Add no-ops for the (un)lock functions.

16 years agoLocalisation updates Cantonese, Chinese and Old/Late Time Chinese
Shinjiman [Fri, 27 Jun 2008 14:30:49 +0000 (14:30 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese

16 years ago* Not optional messages.
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.

16 years agowrapWikiMsg() instead of doing it raw.
Chad Horohoe [Fri, 27 Jun 2008 13:50:06 +0000 (13:50 +0000)]
wrapWikiMsg() instead of doing it raw.

16 years agoUpdate RELEASE-NOTES and hooks.txt for r36692. Contrary to the commit message, the...
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.

16 years agoLocalize Virus scanner messages.
Chad Horohoe [Fri, 27 Jun 2008 13:26:46 +0000 (13:26 +0000)]
Localize Virus scanner messages.

16 years ago* Fail fast
Niklas Laxström [Fri, 27 Jun 2008 12:17:05 +0000 (12:17 +0000)]
* Fail fast

16 years agoTweaks for r36682:
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()

16 years agoDon't allow contentless tags for <textarea>
Alexandre Emsenhuber [Fri, 27 Jun 2008 11:01:04 +0000 (11:01 +0000)]
Don't allow contentless tags for <textarea>

16 years agoDon't let textareas be done in short form
Andrew Garrett [Fri, 27 Jun 2008 10:46:04 +0000 (10:46 +0000)]
Don't let textareas be done in short form

16 years agoFix fatal errors introduced in r36678
Roan Kattouw [Fri, 27 Jun 2008 10:37:40 +0000 (10:37 +0000)]
Fix fatal errors introduced in r36678

16 years ago* Fixed some Doxygen warnings
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

16 years agoDon't be lazy: Initialise autoblock objects with both the blocker ID and their name
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

16 years ago* Add id to preferences form, requested by Splarka
Niklas Laxström [Fri, 27 Jun 2008 07:32:06 +0000 (07:32 +0000)]
* Add id to preferences form, requested by Splarka

16 years agoUse class=mw_label instead of valign and align
Andrew Garrett [Fri, 27 Jun 2008 07:22:21 +0000 (07:22 +0000)]
Use class=mw_label instead of valign and align

16 years agoRemoving single ' from linktrail as per bug 14655 and wikitech-l.
Daniel Friesen [Fri, 27 Jun 2008 06:36:14 +0000 (06:36 +0000)]
Removing single ' from linktrail as per bug 14655 and wikitech-l.

16 years agoCore changes for AbuseFilter extension.
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.

16 years agoLocalisation updates Chinese
Shinjiman [Fri, 27 Jun 2008 00:54:29 +0000 (00:54 +0000)]
Localisation updates Chinese

16 years agoUndo previous commit. Schema changes are a no-no without permission first :-)
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 :-)

16 years ago(bug 13438) Make Special:MIMESearch less expensive. Needs some benchmarking to see...
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.

16 years agoConsistent whitespace
Aryeh Gregor [Thu, 26 Jun 2008 20:26:56 +0000 (20:26 +0000)]
Consistent whitespace

16 years agoRewritten Special:Recentchangeslinked, now using a subclass of SpecialRecentchanges:
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

16 years agoFix regression from 36662: broke the external link icon totally, external links weren...
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...

16 years agoUse the proper Title methods in ApiQueryBase::titleToKey() and keyToTitle(). This...
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.

16 years agoUsing WikiError seems to be useless here
Alexandre Emsenhuber [Thu, 26 Jun 2008 14:00:57 +0000 (14:00 +0000)]
Using WikiError seems to be useless here

16 years agoadded PPCustomFrame classes to restore ability to use replaceVariables with a custom...
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.

16 years agoAdd new variants to the English file.
Rotem Liss [Thu, 26 Jun 2008 05:03:01 +0000 (05:03 +0000)]
Add new variants to the English file.

16 years ago* (bug 14604) Introduced the following features for the LanguageConverter: Multi...
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

16 years ago(bug 14647) Remove unused 'townBox' class from global CSS.
Chad Horohoe [Thu, 26 Jun 2008 00:26:43 +0000 (00:26 +0000)]
(bug 14647) Remove unused 'townBox' class from global CSS.

16 years agoMay as well add my name here. It might come in handy sometime.
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.

16 years agoDo proper inheritance here instead of copy-paste of top level constructor.
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.

16 years agoLocalisation updates for core messages from Betawiki (2008-06-25 22:11 CEST)
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)

16 years ago* $code may be undefined, because it is defined inside the loop above, don't use it
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

16 years ago* Partially revert 36631, can't use this
Niklas Laxström [Wed, 25 Jun 2008 13:50:46 +0000 (13:50 +0000)]
* Partially revert 36631, can't use this

16 years agoSome tweaks to the doxygen doc:
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.

16 years agoFix for r36587:
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

16 years ago* Handle fallbacks too in extension aliases
Niklas Laxström [Wed, 25 Jun 2008 11:23:34 +0000 (11:23 +0000)]
* Handle fallbacks too in extension aliases

16 years ago* $wgExtensionAliasesFiles option to simplify adding aliases for special pages provid...
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

16 years agoAdd some quick no-ops for the new lock() and unlock() funcs.
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.

16 years ago* add new hook LinkerMakeExternalImage to allow extensions to modify the HTML output...
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

16 years agoBit of work to AbortMove hook, in preparation for making the SpamBlacklist work on...
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.

16 years ago* Some classes from maintenance for autoloading
Niklas Laxström [Tue, 24 Jun 2008 12:38:17 +0000 (12:38 +0000)]
* Some classes from maintenance for autoloading

16 years agoFix regression from r36301: add namespace aliases
Siebrand Mazeland [Tue, 24 Jun 2008 00:03:41 +0000 (00:03 +0000)]
Fix regression from r36301: add namespace aliases

16 years agoPatch that fixes bug number 14452. patch by AhmadSherif.
Mohamed Magdy [Mon, 23 Jun 2008 22:39:49 +0000 (22:39 +0000)]
Patch that fixes bug number 14452. patch by AhmadSherif.

16 years agoRemove duplication
Aaron Schulz [Mon, 23 Jun 2008 21:36:20 +0000 (21:36 +0000)]
Remove duplication

16 years agoLocalisation updates for core messages from Betawiki (2008-06-23 22:55 CEST)
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)

16 years agoRemove call to wfSeedRandom(), this function does nothing
Alexandre Emsenhuber [Mon, 23 Jun 2008 17:33:41 +0000 (17:33 +0000)]
Remove call to wfSeedRandom(), this function does nothing

16 years agoLocalisation updates German
Raimond Spekking [Mon, 23 Jun 2008 16:12:30 +0000 (16:12 +0000)]
Localisation updates German

16 years agoRevert 36514 per Wikitech-l discussion.
Aryeh Gregor [Sun, 22 Jun 2008 18:24:33 +0000 (18:24 +0000)]
Revert 36514 per Wikitech-l discussion.

16 years agoAdd noratelimit right to list of core rights, was missing.
Andrew Garrett [Sun, 22 Jun 2008 11:30:42 +0000 (11:30 +0000)]
Add noratelimit right to list of core rights, was missing.

16 years agoSelf revert, this isn't really implemented right.
Chad Horohoe [Sun, 22 Jun 2008 00:01:41 +0000 (00:01 +0000)]
Self revert, this isn't really implemented right.

16 years agoAdd MediaWiki:Print.css back in. Now applies to printable=yes -and- actual printing...
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.

16 years agoOops, removed RELEASE-NOTES entries in r36526
Roan Kattouw [Sat, 21 Jun 2008 15:15:05 +0000 (15:15 +0000)]
Oops, removed RELEASE-NOTES entries in r36526

16 years agoAPI:
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

16 years agoOops, gotta use $exp here
Roan Kattouw [Sat, 21 Jun 2008 15:06:40 +0000 (15:06 +0000)]
Oops, gotta use $exp here

16 years agoRe-adding a <div> element for the rc options.
Rotem Liss [Sat, 21 Jun 2008 11:34:47 +0000 (11:34 +0000)]
Re-adding a <div> element for the rc options.

16 years agoRemoving the recent changes fieldset, per complaints from some users.
Rotem Liss [Sat, 21 Jun 2008 10:51:02 +0000 (10:51 +0000)]
Removing the recent changes fieldset, per complaints from some users.

16 years agoLocalisation updates Cantonese, Chinese and Old/Late Time Chinese
Shinjiman [Sat, 21 Jun 2008 10:18:51 +0000 (10:18 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese

16 years agoE_SRICT; callback should have the ampersand
Aaron Schulz [Sat, 21 Jun 2008 03:21:02 +0000 (03:21 +0000)]
E_SRICT; callback should have the ampersand

16 years ago* Revert r36478; I don't see the point in this cryptic code
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

16 years agoLocalisation updates: Adding/updating Persian translations
Huji [Sat, 21 Jun 2008 02:53:16 +0000 (02:53 +0000)]
Localisation updates: Adding/updating Persian translations

16 years ago* (bug 14515) HTML nesting cleanup on edit form
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....

16 years agoNo need to count(*) in SiteStats::admins
Chad Horohoe [Fri, 20 Jun 2008 18:46:29 +0000 (18:46 +0000)]
No need to count(*) in SiteStats::admins

16 years agoFixes.
Rotem Liss [Fri, 20 Jun 2008 16:36:32 +0000 (16:36 +0000)]
Fixes.

16 years agoFix.
Rotem Liss [Fri, 20 Jun 2008 16:33:39 +0000 (16:33 +0000)]
Fix.

16 years agoUpdate.
Rotem Liss [Fri, 20 Jun 2008 13:34:51 +0000 (13:34 +0000)]
Update.

16 years agoFix regression from r36376. $wgAllowCategorizedRecentChanges was broken.
Chad Horohoe [Fri, 20 Jun 2008 12:41:25 +0000 (12:41 +0000)]
Fix regression from r36376. $wgAllowCategorizedRecentChanges was broken.

16 years agoRevert live hack from r36493, because it has no effect whatsoever.
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.

16 years ago(for for previous incomplete commit message)
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

16 years ago(bug ) Update namespaces for Hungarian.
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 :)

16 years agoApply live hack -- exception for invalid actions (as opposed to....?)
Brion Vibber [Thu, 19 Jun 2008 23:48:09 +0000 (23:48 +0000)]
Apply live hack -- exception for invalid actions (as opposed to....?)

16 years agoupdate ips for our silly internal script... which really should not be in core mw...
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

16 years agoapply live hacks: debug logging for spam regex & blacklist hits
Brion Vibber [Thu, 19 Jun 2008 23:33:45 +0000 (23:33 +0000)]
apply live hacks: debug logging for spam regex & blacklist hits

16 years agoreplace live hack: include debug info in thumb.php (switch it in with $wgShowHostnames)
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)

16 years agoRevert r36446, 36447 -- spews a whole bunch of table alignment into various skins...
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.

16 years agore-tweak filename: todo -- refactor this crap to use classes and the autoloader
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

16 years agoRevert the email footer for the moment. A few comments:
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.

16 years agoRename all the special page class files back to their proper names.
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...

16 years agoRevert r36413 -- renaming of search files into 'search' subdirectory
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.