lhc/web/wiklou.git
17 years agoMade the change size value on recentchanges show minuses instead of dashs. Workaround...
Leon Weber [Wed, 20 Dec 2006 16:37:27 +0000 (16:37 +0000)]
Made the change size value on recentchanges show minuses instead of dashs. Workaround until they've fixed bug 8327.

17 years agoFix 8335 : Image syntax does not parse "px" in image caption correctly
Antoine Musso [Wed, 20 Dec 2006 14:24:57 +0000 (14:24 +0000)]
Fix 8335 : Image syntax does not parse "px" in image caption correctly

17 years ago* (bug 8333) Fix quick user data update on login password change on
Brion Vibber [Wed, 20 Dec 2006 09:09:50 +0000 (09:09 +0000)]
* (bug 8333) Fix quick user data update on login password change on
  replication database setups. User data is now pulled from master
  instead of slave in User::loadFromDatabase, ensuring that it is
  fresh and accurate when read and then saved back into cache.
  This was breaking with the Special:Rename operation which
  automatically logs the user in with the new password after changing
  it; pulling from slave meant the record was often not the updated
  one.

17 years ago(bug 8329) Take size of text *after* passing it through pre-save transform
Rob Church [Wed, 20 Dec 2006 00:06:15 +0000 (00:06 +0000)]
(bug 8329) Take size of text *after* passing it through pre-save transform

17 years agoBring back "booksources-summary", displayed above the search form on Special:Booksour...
Rob Church [Tue, 19 Dec 2006 23:42:00 +0000 (23:42 +0000)]
Bring back "booksources-summary", displayed above the search form on Special:Booksources in any case

17 years ago* (bug 8326) Fix regression in thumb styles of cached content
Brion Vibber [Tue, 19 Dec 2006 22:21:45 +0000 (22:21 +0000)]
* (bug 8326) Fix regression in thumb styles of cached content

17 years ago* Fix regression in thumb styles; size and padding didn't match with
Brion Vibber [Tue, 19 Dec 2006 21:51:11 +0000 (21:51 +0000)]
* Fix regression in thumb styles; size and padding didn't match with
  new arrangement.

17 years ago* Gracefully skip redirect-to-fragment on WebKit versions less than 420;
Brion Vibber [Tue, 19 Dec 2006 20:39:43 +0000 (20:39 +0000)]
* Gracefully skip redirect-to-fragment on WebKit versions less than 420;
  it messes up on current versions of Safari but is ok in the latest
  nightlies. Checking the version number will allow it to automatically
  work when new releases of Safari appear.

17 years agoReverting...this broke the site. Massive temporary tables and filesort eating up...
Brion Vibber [Tue, 19 Dec 2006 19:44:55 +0000 (19:44 +0000)]
Reverting...this broke the site. Massive temporary tables and filesort eating up all slave servers.
Greg, please test these things on MySQL, using an 'EXPLAIN' on the query.
You have been warned before. We may have to start requiring PG compatibility commits to be reviewed before commit.

17 years ago* (bug 8109) Template parameters ignored in "recentchangestext"
Rob Church [Tue, 19 Dec 2006 13:42:35 +0000 (13:42 +0000)]
* (bug 8109) Template parameters ignored in "recentchangestext"

17 years agoUpdate.
Rotem Liss [Tue, 19 Dec 2006 08:28:39 +0000 (08:28 +0000)]
Update.

17 years agoPrevent:
Nick Jenkins [Tue, 19 Dec 2006 05:38:55 +0000 (05:38 +0000)]
Prevent:
* Strict Standards: Undefined variable: dbr in includes/SpecialAllpages.php on line 266
* Fatal error:  Call to a member function select() on a non-object in includes/SpecialAllpages.php on line 266
* Strict Standards: Undefined variable: n in includes/SpecialAllpages.php on line 308
Above could be repo-ed with error_reporting(E_ALL | E_STRICT) set, by supplying bad input, such as this command line:
curl --silent --include --globoff  -F 'from'='\<' 'http://localhost/wiki/index.php?title=Special%3AAllpages'
(or easier is to just type "<" into the "Display pages starting at:" field on [[Special:Allpages]], and click "Go")

17 years ago* prevent minor W3C validator/tidy error on Special:Booksources about nesting of...
Nick Jenkins [Tue, 19 Dec 2006 05:35:35 +0000 (05:35 +0000)]
* prevent minor W3C validator/tidy error on Special:Booksources about nesting of "</form>" tag by swapping the order of two lines.
* stop minor tidy warning: "<input> attribute 'size' lacks value", by setting size to 20 (which allows enough visual field width for 10 ISBN digits + some leeway for extra dashes and spaces and whatnot).

17 years agoUpdate to german localisation. Translations by The Incredible Raymond.
Leon Weber [Mon, 18 Dec 2006 22:15:29 +0000 (22:15 +0000)]
Update to german localisation. Translations by The Incredible Raymond.

17 years agoRemove a few instances of "autopatrol" in message files I know are likely to have...
Rob Church [Mon, 18 Dec 2006 21:43:28 +0000 (21:43 +0000)]
Remove a few instances of "autopatrol" in message files I know are likely to have actually been updated to include it

17 years ago* (bug 5411) Remove autopatrol preference; users who can mark edits patrolled will...
Rob Church [Mon, 18 Dec 2006 21:39:36 +0000 (21:39 +0000)]
* (bug 5411) Remove autopatrol preference; users who can mark edits patrolled will now have their edits marked as such regardless - per Brion's enthusiasm on the mailing list ;)

17 years agoIf there is no $oldtext, don't bother prepending it
Rob Church [Mon, 18 Dec 2006 19:32:41 +0000 (19:32 +0000)]
If there is no $oldtext, don't bother prepending it

17 years ago* (bug 8310) Blank line added to top of 'post' when page is blank
Rob Church [Mon, 18 Dec 2006 19:30:26 +0000 (19:30 +0000)]
* (bug 8310) Blank line added to top of 'post' when page is blank

17 years agoFix "viewsourcetext" from previous commits for French and German
Rob Church [Mon, 18 Dec 2006 18:29:29 +0000 (18:29 +0000)]
Fix "viewsourcetext" from previous commits for French and German

17 years ago* Renaming the message 'protectedtext' to 'protectedpagetext', to prevent a duplicate...
Rotem Liss [Mon, 18 Dec 2006 18:28:33 +0000 (18:28 +0000)]
* Renaming the message 'protectedtext' to 'protectedpagetext', to prevent a duplicate display of the second paragraph due to the saved message.
* Update.

17 years agoEr, that should be wfMsg()...
Rob Church [Mon, 18 Dec 2006 18:26:57 +0000 (18:26 +0000)]
Er, that should be wfMsg()...

17 years ago* Don't show "you can view and copy the source of this page" message for pages which...
Rob Church [Mon, 18 Dec 2006 18:17:37 +0000 (18:17 +0000)]
* Don't show "you can view and copy the source of this page" message for pages which don't exist (and therefore have no source)

17 years ago* (bug 2785) Accept optional colon prefix in links when formatting comments
Rob Church [Mon, 18 Dec 2006 17:23:25 +0000 (17:23 +0000)]
* (bug 2785) Accept optional colon prefix in links when formatting comments

17 years ago(bug 8295) Add Kongo localisation (kg) (real commit)
Rotem Liss [Mon, 18 Dec 2006 10:36:27 +0000 (10:36 +0000)]
(bug 8295) Add Kongo localisation (kg) (real commit)

17 years ago(bug 8295) Add Kongo localisation (kg)
Rotem Liss [Mon, 18 Dec 2006 10:35:45 +0000 (10:35 +0000)]
(bug 8295) Add Kongo localisation (kg)

17 years ago(bug 8269) Update basque language translation
Rotem Liss [Mon, 18 Dec 2006 10:25:34 +0000 (10:25 +0000)]
(bug 8269) Update basque language translation

17 years ago(bug 8294) Update to Japanese localisation (ja)
Rotem Liss [Mon, 18 Dec 2006 10:08:16 +0000 (10:08 +0000)]
(bug 8294) Update to Japanese localisation (ja)

17 years ago(bug 8110) Make magic ISBN linking stricter: only match ten-digit sequences
Ilmari Karonen [Mon, 18 Dec 2006 01:12:19 +0000 (01:12 +0000)]
(bug 8110) Make magic ISBN linking stricter: only match ten-digit sequences
(plus optional ISBN-13 prefix) with no immediately following alphanumeric
character, disallow multiple consecutive internal redirects.  This required
fixing a number of broken parser tests that had used a too-short ISBN.

17 years agobe safe, just in case
Ilmari Karonen [Mon, 18 Dec 2006 00:46:36 +0000 (00:46 +0000)]
be safe, just in case

17 years agofix localized aliasing of various links from skin to special pages with subpages
Ilmari Karonen [Mon, 18 Dec 2006 00:20:21 +0000 (00:20 +0000)]
fix localized aliasing of various links from skin to special pages with subpages

17 years agoMake convertGrammar() slightly smarter (still pretty dumb), remove wikiquote
Ilmari Karonen [Sun, 17 Dec 2006 23:44:40 +0000 (23:44 +0000)]
Make convertGrammar() slightly smarter (still pretty dumb), remove wikiquote
kluge.  NOTE: This will require setting $wgGrammarForms in LocalSettings.php
at fi.wikiquote as follows:

$wgGrammarForms['fi']['genitive']['Wikisitaatit'] = 'Wikisitaattien';
$wgGrammarForms['fi']['partitive']['Wikisitaatit'] = 'Wikisitaatteja';
$wgGrammarForms['fi']['elative']['Wikisitaatit'] = 'Wikisitaateista';
$wgGrammarForms['fi']['inessive']['Wikisitaatit'] = 'Wikisitaateissa';
$wgGrammarForms['fi']['illative']['Wikisitaatit'] = 'Wikisitaatteihin';

17 years ago* Add one page to the list
Niklas Laxström [Sun, 17 Dec 2006 18:29:42 +0000 (18:29 +0000)]
* Add one page to the list

17 years agoChange the regexen in doBlockLevels() to handle <center> tags the same as
Ilmari Karonen [Sun, 17 Dec 2006 16:51:01 +0000 (16:51 +0000)]
Change the regexen in doBlockLevels() to handle <center> tags the same as
<div>.  This fixes bug 8293: Use of center tag ruins paragraph formatting,
but COULD SOMEONE PLEASE EXPLAIN TO ME WHY??!?  Trying to make sense of
that code gives me a headache.  (Ps. See also related change in r14690.)

17 years agoParser test for bug 8293: Use of center tag ruins paragraph formatting.
Ilmari Karonen [Sun, 17 Dec 2006 15:53:50 +0000 (15:53 +0000)]
Parser test for bug 8293: Use of center tag ruins paragraph formatting.
No idea what's causing this, looks like the parser just gives up when it
sees </center> on a line of its own and spits the rest out verbatim.

17 years agoDetect PHP 5.0.x 64-bit bug and abort in WebStart.php; too many things break
Ilmari Karonen [Sun, 17 Dec 2006 13:40:28 +0000 (13:40 +0000)]
Detect PHP 5.0.x 64-bit bug and abort in WebStart.php; too many things break
mysteriously otherwise (detection code copied from install-utils.inc)

17 years agoFixes.
Rotem Liss [Sun, 17 Dec 2006 09:33:14 +0000 (09:33 +0000)]
Fixes.

17 years agoUpdate.
Rotem Liss [Sun, 17 Dec 2006 09:31:30 +0000 (09:31 +0000)]
Update.

17 years agoPrefix all new classes/ids with "mw-"
Aryeh Gregor [Sun, 17 Dec 2006 06:36:01 +0000 (06:36 +0000)]
Prefix all new classes/ids with "mw-"

17 years ago* (bug 8274) Wrap edit tools in a <div> with a specified class
Rob Church [Sun, 17 Dec 2006 03:17:12 +0000 (03:17 +0000)]
* (bug 8274) Wrap edit tools in a <div> with a specified class

17 years ago* (bug 6690) wfMsgNoTrans() transforms messages
Rob Church [Sun, 17 Dec 2006 02:36:44 +0000 (02:36 +0000)]
* (bug 6690) wfMsgNoTrans() transforms messages

17 years ago* (bug 8153) <nowiki> doesn't work in site notice
Rob Church [Sun, 17 Dec 2006 01:05:03 +0000 (01:05 +0000)]
* (bug 8153) <nowiki> doesn't work in site notice
The fix for this was to use wfMsgForContentNoTrans() in wfGetCachedNotice(). Since we pass the text through the parser, there's no point in doing message transformations up front, and it allows users to do magic things.

17 years agoMakes convertPlural compatible (strict standards)
Antoine Musso [Sat, 16 Dec 2006 22:31:08 +0000 (22:31 +0000)]
Makes convertPlural compatible (strict standards)

17 years agouse the factory to load a new language
Antoine Musso [Sat, 16 Dec 2006 22:21:16 +0000 (22:21 +0000)]
use the factory to load a new language

17 years agoMakes Language::getLanguageNames static (strict standards)
Antoine Musso [Sat, 16 Dec 2006 22:03:49 +0000 (22:03 +0000)]
Makes Language::getLanguageNames static (strict standards)

17 years agoStrict standards.
Antoine Musso [Sat, 16 Dec 2006 21:53:34 +0000 (21:53 +0000)]
Strict standards.

17 years agoForgot to mention something else, damn it...
Rob Church [Sat, 16 Dec 2006 21:40:05 +0000 (21:40 +0000)]
Forgot to mention something else, damn it...

17 years ago* (bug 4488) Support watching pages on deletion; introduces new user preference
Rob Church [Sat, 16 Dec 2006 21:36:01 +0000 (21:36 +0000)]
* (bug 4488) Support watching pages on deletion; introduces new user preference

17 years agoSave two function calls when pages are not cached.
Antoine Musso [Sat, 16 Dec 2006 21:32:11 +0000 (21:32 +0000)]
Save two function calls when pages are not cached.

17 years agoUpdate to use sortable tables (patch from meta.wikimedia.org)
Antoine Musso [Sat, 16 Dec 2006 21:28:57 +0000 (21:28 +0000)]
Update to use sortable tables (patch from meta.wikimedia.org)

17 years agoEnd some lines at 80
Antoine Musso [Sat, 16 Dec 2006 21:23:43 +0000 (21:23 +0000)]
End some lines at 80

17 years agoDie cleanly when not using memcached
Antoine Musso [Sat, 16 Dec 2006 21:19:19 +0000 (21:19 +0000)]
Die cleanly when not using memcached

17 years ago(bug 7925) Change Special:Allmessages message name filter javascript to be
Ilmari Karonen [Sat, 16 Dec 2006 19:58:25 +0000 (19:58 +0000)]
(bug 7925) Change Special:Allmessages message name filter javascript to be
a bit more responsive and easier on the CPU.  The main improvement is actually
a delay; the new code won't start filtering until you stop typing for half a
second.  Tested on Firefox, Opera and Konqueror; needs testing on IE at least.

17 years ago* (bug 8164) Special:Booksources should use GET for form submission
Rob Church [Sat, 16 Dec 2006 19:20:44 +0000 (19:20 +0000)]
* (bug 8164) Special:Booksources should use GET for form submission
* Rewrite Special:Booksources to clean up interface and remove redundant code

17 years agoAdded missing closing bracket when the diff is below the threshold.
Leon Weber [Sat, 16 Dec 2006 18:56:40 +0000 (18:56 +0000)]
Added missing closing bracket when the diff is below the threshold.

17 years ago* formatting
Niklas Laxström [Sat, 16 Dec 2006 17:40:40 +0000 (17:40 +0000)]
* formatting
* some missing special pages

17 years ago* (bug 8044) When redirecting from the canonical name of the special page
Niklas Laxström [Sat, 16 Dec 2006 17:21:15 +0000 (17:21 +0000)]
* (bug 8044) When redirecting from the canonical name of the special page
  to the localised one, parameters/subpages are omitted

17 years ago(bug 8272) Problem with some localized messages on Commons (Russian translation)
Rotem Liss [Sat, 16 Dec 2006 15:18:06 +0000 (15:18 +0000)]
(bug 8272) Problem with some localized messages on Commons (Russian translation)

17 years ago(bug 8281) Update to Japanese localisation (ja)
Rotem Liss [Sat, 16 Dec 2006 15:15:37 +0000 (15:15 +0000)]
(bug 8281) Update to Japanese localisation (ja)

17 years ago(bug 8281) Update to Japanese localisation (ja)
Rotem Liss [Sat, 16 Dec 2006 14:54:11 +0000 (14:54 +0000)]
(bug 8281) Update to Japanese localisation (ja)

17 years ago(bug 8278) Update for Cantonese language (zh-yue) #8
Rotem Liss [Sat, 16 Dec 2006 14:50:45 +0000 (14:50 +0000)]
(bug 8278) Update for Cantonese language (zh-yue) #8

17 years ago* Make $wgSiteNotice value wikitext again, for consistency with editable
Brion Vibber [Sat, 16 Dec 2006 09:13:43 +0000 (09:13 +0000)]
* Make $wgSiteNotice value wikitext again, for consistency with editable
  MediaWiki:Sitenotice and MediaWiki:Anonnotice.

17 years agoCommand line interface to Article::doEdit()
Tim Starling [Sat, 16 Dec 2006 06:15:04 +0000 (06:15 +0000)]
Command line interface to Article::doEdit()

17 years agoRemoved broken feature $wgBreakFramesExceptions
Tim Starling [Fri, 15 Dec 2006 13:45:05 +0000 (13:45 +0000)]
Removed broken feature $wgBreakFramesExceptions

17 years ago* (bug 8266) typo
Brion Vibber [Fri, 15 Dec 2006 02:15:47 +0000 (02:15 +0000)]
* (bug 8266) typo

17 years agoAdd replication-friendly background batch update mode.
Brion Vibber [Fri, 15 Dec 2006 00:10:33 +0000 (00:10 +0000)]
Add replication-friendly background batch update mode.
Rip out the ugly MySQL 4.0 mode and use the background mode for it, it should be compatible too.
Add a little help text

17 years ago* (bug 8264) Fix JavaScript global vars for XHTML mode
Brion Vibber [Thu, 14 Dec 2006 23:24:06 +0000 (23:24 +0000)]
* (bug 8264) Fix JavaScript global vars for XHTML mode
Don't use <!-- --> to wrap JavaScript code!
This ACTUALLY MAKES THE CODE DISAPPEAR when using an XML parser.
Instead, wrapped in /*<![CDATA[*/ /*]]>*/ to ensure XML compatibility for contents.

We've long since given up on super-ancient browsers that don't
know about <script>; they're so old you can't even use name-based
virtual hosts so why bother? ;)

17 years agoXHTML fix in enhanced RC
Brion Vibber [Thu, 14 Dec 2006 22:30:42 +0000 (22:30 +0000)]
XHTML fix in enhanced RC

17 years agoSome doxygen patches:
Antoine Musso [Thu, 14 Dec 2006 21:05:15 +0000 (21:05 +0000)]
Some doxygen patches:
* fuzz-tester : @desc not needed
* remove some @global statements

17 years ago* someone forgot to declare a method static
Antoine Musso [Thu, 14 Dec 2006 20:47:19 +0000 (20:47 +0000)]
* someone forgot to declare a method static
* compatibility issue in zhconvert

17 years agomake the base method compatible with its various children (strict standard)
Antoine Musso [Thu, 14 Dec 2006 20:34:07 +0000 (20:34 +0000)]
make the base method compatible with its various children (strict standard)

17 years agoWhoops, I also forgot that one...
Leon Weber [Thu, 14 Dec 2006 20:30:00 +0000 (20:30 +0000)]
Whoops, I also forgot that one...

17 years agoUser::getOption now accept a default value to override default user values
Antoine Musso [Thu, 14 Dec 2006 20:28:38 +0000 (20:28 +0000)]
User::getOption now accept a default value to override default user values
this makes it consistent with WebRequest::get* methods. Corrected code in
various places accordingly.

17 years agoUpdate.
Rotem Liss [Thu, 14 Dec 2006 17:24:28 +0000 (17:24 +0000)]
Update.

17 years ago* Fixed the default for recentchanges.rc_*_len to NULL on postgre as it should be
Leon Weber [Thu, 14 Dec 2006 15:34:56 +0000 (15:34 +0000)]
* Fixed the default for recentchanges.rc_*_len to NULL on postgre as it should be

17 years agoGoing ahead and adding this field while other DB updates are pending.
Brion Vibber [Thu, 14 Dec 2006 13:22:52 +0000 (13:22 +0000)]
Going ahead and adding this field while other DB updates are pending.
Interfaces to use it can be added shortly.

* Add user_editcount field to provide data for heuristics on account use.
  Incremented on edit, with lazy initialization from past revision data.
  Can batch-initialize with maintenance/initEditCount.php (not yet friendly
  to replication environments, this will do all accounts in one query).
* Allow raw SQL subsections in Database::update() SET portion as well as
  for WHERE portion. Handy for increments and such.

17 years ago* (bug 8255) fix regression in postgres tables.sql
Brion Vibber [Thu, 14 Dec 2006 10:55:23 +0000 (10:55 +0000)]
* (bug 8255) fix regression in postgres tables.sql

17 years agoBe more cautious about using _SERVER['SCRIPT_NAME'] in /variant/Title syntax.
Robert Stojnić [Thu, 14 Dec 2006 02:16:49 +0000 (02:16 +0000)]
Be more cautious about using _SERVER['SCRIPT_NAME'] in /variant/Title syntax.

17 years agoSmall patch to minimize the number of category variants need to be fetched.
Robert Stojnić [Thu, 14 Dec 2006 01:06:28 +0000 (01:06 +0000)]
Small patch to minimize the number of category variants need to be fetched.

17 years ago* Add a notification about the confirmation mail sent during account
Brion Vibber [Thu, 14 Dec 2006 00:31:16 +0000 (00:31 +0000)]
* Add a notification about the confirmation mail sent during account
  creation, so people don't immediately go off to request a second one.
* Add a warning on Special:Confirmemail if a code was already sent and has
  not yet expired.

17 years ago* (bug 2259) Fix old regression where e-mail addresses were no longer
Brion Vibber [Wed, 13 Dec 2006 23:32:08 +0000 (23:32 +0000)]
* (bug 2259) Fix old regression where e-mail addresses were no longer
  confirmed on login with mailed password.

17 years agoFix #8239 : really get the 50 next contribs
Antoine Musso [Wed, 13 Dec 2006 20:28:17 +0000 (20:28 +0000)]
Fix #8239 : really get the 50 next contribs

17 years ago* Made the show change size function work on page moves, page creations, and
Leon Weber [Wed, 13 Dec 2006 20:08:02 +0000 (20:08 +0000)]
* Made the show change size function work on page moves, page creations, and
  log entries.
* Also fixed it in the javascript recentchanges.
* Moved the value behind the page title to ensure the columns are still lined up
* Merged both sql patches into one.
* Set the default for both columns to NULL to make it work on edits before the db
  update.

17 years ago* cleans out some spaces
Antoine Musso [Wed, 13 Dec 2006 19:30:17 +0000 (19:30 +0000)]
* cleans out some spaces
* add some basic comments

17 years agoUpdate.
Rotem Liss [Wed, 13 Dec 2006 13:47:03 +0000 (13:47 +0000)]
Update.

17 years agoadded additional check to avoid warnings
Manuel Schneider [Wed, 13 Dec 2006 10:26:37 +0000 (10:26 +0000)]
added additional check to avoid warnings

17 years ago* Accept null parameter to User::setPassword() as indicating the password
Brion Vibber [Wed, 13 Dec 2006 08:59:20 +0000 (08:59 +0000)]
* Accept null parameter to User::setPassword() as indicating the password
  field should be cleared to an unusable state. Login will only be possible
  after the password is reset, for instance by e-mail.
* (bug 6394) Invalidate the password set for "by e-mail" account creations
  to avoid accidental empty password creations.

17 years agoConsolidate checks against $wgMinimalPasswordLength to use User::isValidPassword
Brion Vibber [Wed, 13 Dec 2006 08:33:31 +0000 (08:33 +0000)]
Consolidate checks against $wgMinimalPasswordLength to use User::isValidPassword

17 years agoSet an explicit class on framed thumbnail inner divs and images, changed some CSS...
Tim Starling [Wed, 13 Dec 2006 05:53:06 +0000 (05:53 +0000)]
Set an explicit class on framed thumbnail inner divs and images, changed some CSS to use these instead of using descendent selectors. The immediate application is the ImageMap extension.

17 years agoInclude the block ID in blockedtext. This way, users can get themselves unblocked...
Andrew Garrett [Wed, 13 Dec 2006 05:44:46 +0000 (05:44 +0000)]
Include the block ID in blockedtext. This way, users can get themselves unblocked without revealing their IP addresses.

17 years ago* (bug 8241) Don't consider user pages of User:Foo.css/User:Foo.js to be CSS/JS subpa...
Aryeh Gregor [Tue, 12 Dec 2006 23:13:14 +0000 (23:13 +0000)]
* (bug 8241) Don't consider user pages of User:Foo.css/User:Foo.js to be CSS/JS subpages.  Patch by Fyren.

17 years agocorrect confusing comment Special:protect->action=protect, reported by AzaTht
Steve Sanbeg [Tue, 12 Dec 2006 21:37:36 +0000 (21:37 +0000)]
correct confusing comment Special:protect->action=protect, reported by AzaTht

17 years agoRevert r18294
Brion Vibber [Tue, 12 Dec 2006 20:00:25 +0000 (20:00 +0000)]
Revert r18294
Wikipedia-specific things that belong in configuration of a particular site, surely

17 years agoAdded Title::isSubpage()
Leon Weber [Tue, 12 Dec 2006 19:14:29 +0000 (19:14 +0000)]
Added Title::isSubpage()

17 years agoShould add only link variants (and not category variants) to pagelinks table.
Robert Stojnić [Tue, 12 Dec 2006 18:57:19 +0000 (18:57 +0000)]
Should add only link variants (and not category variants) to pagelinks table.

17 years agoUpdate namespace aliases for sr.wiki
Robert Stojnić [Tue, 12 Dec 2006 17:05:24 +0000 (17:05 +0000)]
Update namespace aliases for sr.wiki

17 years agoper Rob's comment, make call to createAssocArgs() more clearly static.
Steve Sanbeg [Tue, 12 Dec 2006 16:12:30 +0000 (16:12 +0000)]
per Rob's comment, make call to createAssocArgs() more clearly static.

17 years agoUpdate.
Rotem Liss [Tue, 12 Dec 2006 12:17:43 +0000 (12:17 +0000)]
Update.

17 years ago* Change behavior of logins using the temporary e-mailed password (as stored
Brion Vibber [Tue, 12 Dec 2006 04:15:00 +0000 (04:15 +0000)]
* Change behavior of logins using the temporary e-mailed password (as stored
  in user_newpassword hash field). Instead of just logging in silently and
  leaving the previous user_password field in place indefinitely, the user
  is now prompted to set a new password.

  The password-changing form is at Special:Resetpass; currently it's only
  usable for changing from the temporary password during login, but it
  could perhaps be generalized, replacing the subform in preferences.

  Once the new password is set successfully, the temporary password is wiped
  so it cannot be used to login a second time, and the login process
  is completed.
* Suppress 'mail new password' button on login form if $wgAuth forbids
  changing user passwords; it wouldn't work very well...
* Consolidate password length checks and $wgAuth manipulation into
  User::setPassword() to avoid duplicate code in different places
  that set passwords.
* User::setPassword() now throws PasswordError exceptions if the password
  is illegal or cannot be set via $wgAuth. These can be caught and a human-
  readable error message displayed by UI code.

17 years agorefactor template arg parsing into static method; this may prevent a future fork...
Steve Sanbeg [Tue, 12 Dec 2006 00:02:17 +0000 (00:02 +0000)]
refactor template arg parsing into static method; this may prevent a future fork of it, since it could be useful for parserfunctions, too.

17 years agorefactor template arg parsing into static method; this may prevent a future fork...
Steve Sanbeg [Mon, 11 Dec 2006 23:50:41 +0000 (23:50 +0000)]
refactor template arg parsing into static method; this may prevent a future fork of it, since it could be useful for parserfunctions, too.