lhc/web/wiklou.git
18 years ago#3344: Redirected terms cannot be included in categories
Antoine Musso [Mon, 5 Sep 2005 19:43:01 +0000 (19:43 +0000)]
#3344: Redirected terms cannot be included in categories
No more strip the whole text when magicword #REDIRECT is found in a text.
Let you categorize redirects but might let some vandals use #REDIRECT in the
middle of a text.

18 years agoPLURALFORM fix
Alexander Sigachov [Mon, 5 Sep 2005 19:26:02 +0000 (19:26 +0000)]
PLURALFORM fix

18 years agoNew magic word: PLURALFORM (like GRAMMAR)
Alexander Sigachov [Mon, 5 Sep 2005 19:22:09 +0000 (19:22 +0000)]
New magic word: PLURALFORM (like GRAMMAR)

18 years ago#3364: pt_br name typo
Antoine Musso [Mon, 5 Sep 2005 15:12:43 +0000 (15:12 +0000)]
#3364: pt_br name typo

18 years agolangRu update to lang 1.672
Alexander Sigachov [Mon, 5 Sep 2005 12:28:43 +0000 (12:28 +0000)]
langRu update to lang 1.672

18 years agospelling
Brion Vibber [Mon, 5 Sep 2005 08:54:13 +0000 (08:54 +0000)]
spelling

18 years ago* Use strval() to make sure we don't accidentally get null on bad revision
Brion Vibber [Mon, 5 Sep 2005 07:35:29 +0000 (07:35 +0000)]
* Use strval() to make sure we don't accidentally get null on bad revision
  text loads or other fields mucking up XML export output

18 years agoLive hack: don't blow up on empty/broken timestamps. (It will however output wrong...
Brion Vibber [Mon, 5 Sep 2005 07:27:08 +0000 (07:27 +0000)]
Live hack: don't blow up on empty/broken timestamps. (It will however output wrong date.)

18 years ago* Add 'reupload' and 'reupload-shared' permission keys to restrict new
Brion Vibber [Mon, 5 Sep 2005 06:16:48 +0000 (06:16 +0000)]
* Add 'reupload' and 'reupload-shared' permission keys to restrict new
uploads overwriting existing files; default is the old behavior (allowed).

18 years agoDeferred initialisation of $wgIP, because it's potentially slow, especially if and...
Tim Starling [Mon, 5 Sep 2005 02:22:20 +0000 (02:22 +0000)]
Deferred initialisation of $wgIP, because it's potentially slow, especially if and when we add the 200 NTL proxies to the trusted XFF list. I was hoping to avoid initialisation altogether for anonymous page views, but that turns out to be difficult because of user_newtalk. It is, however, avoided for action=raw. Tested page view, newtalk, IP registration in history and recentchanges, IP block, autoblock and Special:Version.

Also moved the old proxy scan code from EditPage.php to a more appropriate location in ProxyTools.php.

18 years agoremove obsolete piece of code - newarticletext is never written into blank
Erik Moeller [Sun, 4 Sep 2005 17:41:44 +0000 (17:41 +0000)]
remove obsolete piece of code - newarticletext is never written into blank
pages

18 years ago* Avoid missing argument errors to recordUpload() on image reverts
Ævar Arnfjörð Bjarmason [Sun, 4 Sep 2005 15:51:29 +0000 (15:51 +0000)]
* Avoid missing argument errors to recordUpload() on image reverts

18 years agoQuick workaround for bug 3131 (don't fill destname from sourcename if we've been...
Rowan Collins [Sat, 3 Sep 2005 10:41:12 +0000 (10:41 +0000)]
Quick workaround for bug 3131 (don't fill destname from sourcename if we've been passed it as a URL param already).
Probably needs a more thorough redesign, but this'll do as a "hotfix".

18 years agofixed recent commit
Tim Starling [Sat, 3 Sep 2005 01:21:33 +0000 (01:21 +0000)]
fixed recent commit

18 years agoCache interwiki prefixes with a canonical case
Tim Starling [Sat, 3 Sep 2005 01:13:35 +0000 (01:13 +0000)]
Cache interwiki prefixes with a canonical case

18 years agoBug 2143: Update Vietnamese interface
Niklas Laxström [Fri, 2 Sep 2005 19:50:03 +0000 (19:50 +0000)]
Bug 2143: Update Vietnamese interface

18 years agoBug 3304: Language file for Croatian (LanguageHr.php)
Niklas Laxström [Fri, 2 Sep 2005 19:21:04 +0000 (19:21 +0000)]
Bug 3304: Language file for Croatian (LanguageHr.php)

18 years ago* Rv: Causing some kind of error, I'll change it back when I figure out what
Ævar Arnfjörð Bjarmason [Fri, 2 Sep 2005 19:11:33 +0000 (19:11 +0000)]
* Rv: Causing some kind of error, I'll change it back when I figure out what
  the problem is

18 years ago* (bug 3338) Improved msg:passwordremindertext
Ævar Arnfjörð Bjarmason [Fri, 2 Sep 2005 18:40:17 +0000 (18:40 +0000)]
* (bug 3338) Improved msg:passwordremindertext

18 years ago* Reverting back to 1.115, not inserting {{ and }} automatically means that the
Ævar Arnfjörð Bjarmason [Fri, 2 Sep 2005 18:33:58 +0000 (18:33 +0000)]
* Reverting back to 1.115, not inserting {{ and }} automatically means that the
  license selector can be used to insert arbitary text, not just templates,
  this doesn't break it either since you just have to change the entries in
  MediaWiki:Licenses from e.g:
    * GFDL|GNU Free Documentation License
  to:
    * {{GFDL}}|GNU Free Documentation License
  to get the same functionality as before

18 years agoRevert last change, which breaks the only usage of the upload license selector
Brion Vibber [Fri, 2 Sep 2005 11:58:17 +0000 (11:58 +0000)]
Revert last change, which breaks the only usage of the upload license selector
with no explanation.

18 years ago* (bug 3306) Document $wgLocalTZoffset
Brion Vibber [Fri, 2 Sep 2005 05:44:07 +0000 (05:44 +0000)]
* (bug 3306) Document $wgLocalTZoffset

18 years ago* (bug 2078) Don't hide watch tab on preview
Brion Vibber [Fri, 2 Sep 2005 05:18:02 +0000 (05:18 +0000)]
* (bug 2078) Don't hide watch tab on preview

18 years ago* (bug 2841) Consistency in $this->loggedin use
Brion Vibber [Fri, 2 Sep 2005 05:04:25 +0000 (05:04 +0000)]
* (bug 2841) Consistency in $this->loggedin use

18 years ago* (bug 3292) Fix move-over-redirect test when current entries are not plaintext
Brion Vibber [Fri, 2 Sep 2005 04:44:15 +0000 (04:44 +0000)]
* (bug 3292) Fix move-over-redirect test when current entries are not plaintext
Patch by Tietew: http://bugzilla.wikimedia.org/attachment.cgi?id=834&action=view

18 years ago* Don't override edit conflict suppression on section edits; section merging
Brion Vibber [Fri, 2 Sep 2005 01:17:00 +0000 (01:17 +0000)]
* Don't override edit conflict suppression on section edits; section merging
  should provide the expected transparency here and fits usage patterns better.

18 years agoInclude full name in broken/ rename of bad interwikis
Brion Vibber [Thu, 1 Sep 2005 06:51:40 +0000 (06:51 +0000)]
Include full name in broken/ rename of bad interwikis

18 years agoYet another cleanup script: go through looking for invalid titles, and move
Brion Vibber [Thu, 1 Sep 2005 06:42:20 +0000 (06:42 +0000)]
Yet another cleanup script: go through looking for invalid titles, and move
them to some more or less legal title with a 'Broken/' prefix, so they can
be manually reviewed or removed.

18 years ago*** empty log message ***
Antoine Musso [Wed, 31 Aug 2005 20:19:01 +0000 (20:19 +0000)]
*** empty log message ***

18 years ago* Not inserting {{ and }} automatically around the licensed text
Ævar Arnfjörð Bjarmason [Wed, 31 Aug 2005 15:57:04 +0000 (15:57 +0000)]
* Not inserting {{ and }} automatically around the licensed text

18 years agoMight or might not fix a php5 notice error (undefined variable)
Antoine Musso [Wed, 31 Aug 2005 14:58:36 +0000 (14:58 +0000)]
Might or might not fix a php5 notice error (undefined variable)

18 years ago* We no longer have the confirmation box, changed msg:uploadtext to reflect that
Ævar Arnfjörð Bjarmason [Wed, 31 Aug 2005 14:29:09 +0000 (14:29 +0000)]
* We no longer have the confirmation box, changed msg:uploadtext to reflect that

18 years ago* !empty( $par ) => $par != ''
Ævar Arnfjörð Bjarmason [Wed, 31 Aug 2005 14:22:23 +0000 (14:22 +0000)]
* !empty( $par ) => $par != ''
* Super optimizing

18 years ago* Fixed a bug, array_slice() called incorrectly
Ævar Arnfjörð Bjarmason [Wed, 31 Aug 2005 14:19:01 +0000 (14:19 +0000)]
* Fixed a bug, array_slice() called incorrectly

18 years ago* Code cleanup
Ævar Arnfjörð Bjarmason [Wed, 31 Aug 2005 14:11:32 +0000 (14:11 +0000)]
* Code cleanup

18 years agoFixed resource exhaustion problems due to long lines, e.g. http://en.wikipedia.org...
Tim Starling [Wed, 31 Aug 2005 02:22:05 +0000 (02:22 +0000)]
Fixed resource exhaustion problems due to long lines, e.g. en.wikipedia.org/w/index.php?title=New_Zealand&diff=prev&oldid=21847163

18 years agoeval() is evil! Improper escaping allowed, at a minimum, arbitrary global
Brion Vibber [Tue, 30 Aug 2005 23:06:40 +0000 (23:06 +0000)]
eval() is evil! Improper escaping allowed, at a minimum, arbitrary global
variable interpolations into Special:Upload output on malicious data
in MediaWiki:Licenses.

18 years agoadjust whitespace
Brion Vibber [Tue, 30 Aug 2005 23:05:01 +0000 (23:05 +0000)]
adjust whitespace

18 years agoHTML to XHTML
Alexander Sigachov [Tue, 30 Aug 2005 20:13:32 +0000 (20:13 +0000)]
HTML to XHTML

18 years agolangRu update to lang 1.667
Alexander Sigachov [Tue, 30 Aug 2005 20:09:10 +0000 (20:09 +0000)]
langRu update to lang 1.667

18 years agoAvar casts lvl 5 enhance to Licenses.php:
Niklas Laxström [Tue, 30 Aug 2005 19:22:31 +0000 (19:22 +0000)]
Avar casts lvl 5 enhance to Licenses.php:
*Support for template paramaters

18 years ago* nolicense: None => None selected, not as misleading
Ævar Arnfjörð Bjarmason [Tue, 30 Aug 2005 18:38:37 +0000 (18:38 +0000)]
* nolicense: None => None selected, not as misleading

18 years ago* Security fix for <math>
Brion Vibber [Mon, 29 Aug 2005 23:34:37 +0000 (23:34 +0000)]
* Security fix for <math>
* Security fix for tables

18 years ago* disabled="disabled" attribute for headers
Ævar Arnfjörð Bjarmason [Mon, 29 Aug 2005 20:24:57 +0000 (20:24 +0000)]
* disabled="disabled" attribute for headers
* title="" attribute for items
* increased indent level
* avoiding warning on "*\n" input

18 years agoEdit toolbar - steal a little trick from DokuWiki: When you click a button
Erik Moeller [Mon, 29 Aug 2005 19:43:36 +0000 (19:43 +0000)]
Edit toolbar - steal a little trick from DokuWiki: When you click a button
with no selection, the example text within the formatting, e.g. the "Link
title" in [[Link title]], is highlighted so that you can immediately type
over it.

Gecko only for now due to lack of testability under IE, if anyone wants to
hack it for IE, the code is at
http://wiki.splitbrain.org/lib/scripts/script.js

Note that they copied it from us first, so it's fair game ;-)

18 years ago* License => Licensing
Ævar Arnfjörð Bjarmason [Mon, 29 Aug 2005 17:54:47 +0000 (17:54 +0000)]
* License => Licensing

18 years ago* Support for a license selection box on Special:Upload, configurable from MediaWiki...
Ævar Arnfjörð Bjarmason [Mon, 29 Aug 2005 16:43:48 +0000 (16:43 +0000)]
* Support for a license selection box on Special:Upload, configurable from MediaWiki:Licenses

18 years ago* Code cleanup
Ævar Arnfjörð Bjarmason [Mon, 29 Aug 2005 16:41:24 +0000 (16:41 +0000)]
* Code cleanup

18 years ago* $this->clear => $this->clear()
Ævar Arnfjörð Bjarmason [Mon, 29 Aug 2005 16:41:03 +0000 (16:41 +0000)]
* $this->clear => $this->clear()

18 years ago* Source cleanup
Ævar Arnfjörð Bjarmason [Mon, 29 Aug 2005 16:36:37 +0000 (16:36 +0000)]
* Source cleanup

18 years agoQuick hacky script to initialize site_stats row where missing.
Brion Vibber [Mon, 29 Aug 2005 10:22:03 +0000 (10:22 +0000)]
Quick hacky script to initialize site_stats row where missing.
Note: the good pages count is probably wrong, since this is no longer
easy to count content on 1.5 schema. It may overcount some pages which
don't actually contain a '[' character.

18 years ago* IP privacy fix for blocklist search on autoblocks
Brion Vibber [Mon, 29 Aug 2005 02:19:22 +0000 (02:19 +0000)]
* IP privacy fix for blocklist search on autoblocks

18 years ago* Fix interlanguage links on special pages when extra namespaces configured
Brion Vibber [Sun, 28 Aug 2005 23:39:18 +0000 (23:39 +0000)]
* Fix interlanguage links on special pages when extra namespaces configured

18 years ago* (bug 2885) More PHP 5.1 fixes: skin, search, log, undelete
Brion Vibber [Sun, 28 Aug 2005 21:58:14 +0000 (21:58 +0000)]
* (bug 2885) More PHP 5.1 fixes: skin, search, log, undelete

18 years agoI have ghosts in my cvs today :-(
Anders Wegge Jakobsen [Sun, 28 Aug 2005 00:29:14 +0000 (00:29 +0000)]
I have ghosts in my cvs today :-(

18 years agobot instead of robot for the english translations
Anders Wegge Jakobsen [Sun, 28 Aug 2005 00:15:12 +0000 (00:15 +0000)]
bot instead of robot for the english translations

18 years agoNow with RELEASE-NOTES and correct translations for watchlist filtering
Anders Wegge Jakobsen [Sun, 28 Aug 2005 00:12:11 +0000 (00:12 +0000)]
Now with RELEASE-NOTES and correct translations for watchlist filtering

18 years agominor improvements
Tim Starling [Sun, 28 Aug 2005 00:04:26 +0000 (00:04 +0000)]
minor improvements

18 years agoAlways read a diff before committing code
Anders Wegge Jakobsen [Sun, 28 Aug 2005 00:03:14 +0000 (00:03 +0000)]
Always read a diff before committing code

18 years ago* (bug 3284) Ipblocklist paging, substring search
Brion Vibber [Sat, 27 Aug 2005 23:51:29 +0000 (23:51 +0000)]
* (bug 3284) Ipblocklist paging, substring search

18 years agoAdd filter for robot edits to Special:Watchlist
Anders Wegge Jakobsen [Sat, 27 Aug 2005 23:43:55 +0000 (23:43 +0000)]
Add filter for robot edits to Special:Watchlist

18 years agoDon't mess recent changes
Niklas Laxström [Sat, 27 Aug 2005 18:50:51 +0000 (18:50 +0000)]
Don't mess recent changes

18 years ago+* Experimental feature to allow translation of block expiry times
Niklas Laxström [Sat, 27 Aug 2005 16:35:10 +0000 (16:35 +0000)]
+* Experimental feature to allow translation of block expiry times

18 years agoBug 2753: Some namespaces are not translated in LanguageTa.php (Tamil)
Niklas Laxström [Sat, 27 Aug 2005 09:35:47 +0000 (09:35 +0000)]
Bug 2753: Some namespaces are not translated in LanguageTa.php (Tamil)
Changed image_talk translation

18 years agoUpsie, forgot to commit this one
Niklas Laxström [Sat, 27 Aug 2005 09:23:43 +0000 (09:23 +0000)]
Upsie, forgot to commit this one

18 years agorespect bot flag in RecentChange::notifyLog()
Tim Starling [Sat, 27 Aug 2005 08:50:44 +0000 (08:50 +0000)]
respect bot flag in RecentChange::notifyLog()

18 years agoScript for moving large numbers of pages
Tim Starling [Sat, 27 Aug 2005 07:47:27 +0000 (07:47 +0000)]
Script for moving large numbers of pages

18 years agotab name for discussion page of extra namespace
Tim Starling [Sat, 27 Aug 2005 03:56:58 +0000 (03:56 +0000)]
tab name for discussion page of extra namespace

18 years agosupport for setting tab names of extra namespaces
Tim Starling [Sat, 27 Aug 2005 03:47:47 +0000 (03:47 +0000)]
support for setting tab names of extra namespaces

18 years agoDrop MySQL 3.23.x support; 4.0 or greater required.
Brion Vibber [Fri, 26 Aug 2005 23:02:54 +0000 (23:02 +0000)]
Drop MySQL 3.23.x support; 4.0 or greater required.

18 years ago* (bug 2613) Clear saved passwords from the form
Niklas Laxström [Fri, 26 Aug 2005 22:20:56 +0000 (22:20 +0000)]
* (bug 2613) Clear saved passwords from the form

18 years ago* (bug 3280) Respect 'move' group permission on page moves
Brion Vibber [Fri, 26 Aug 2005 21:40:21 +0000 (21:40 +0000)]
* (bug 3280) Respect 'move' group permission on page moves
Note: if you turn *on* moves for anonymous users this will
break the log a bit, since the entries won't join to the
user table by id.

18 years agodouble to single quotes. Performance hack requested by Avar 8-)
Antoine Musso [Fri, 26 Aug 2005 20:34:10 +0000 (20:34 +0000)]
double to single quotes. Performance hack requested by Avar  8-)

18 years agoLangRU update to lang 1.659
Alexander Sigachov [Fri, 26 Aug 2005 19:20:26 +0000 (19:20 +0000)]
LangRU update to lang 1.659

18 years agoFix 2819: Alemannic user interface not selectable. Dummy file :)
Antoine Musso [Fri, 26 Aug 2005 17:14:17 +0000 (17:14 +0000)]
Fix 2819: Alemannic user interface not selectable. Dummy file :)

18 years agoBug 3271: Updated LanguageNn.php for HEAD
Niklas Laxström [Fri, 26 Aug 2005 15:56:59 +0000 (15:56 +0000)]
Bug 3271: Updated LanguageNn.php for HEAD

18 years ago* (bug 2554) Tell users they are uploading too large file
Niklas Laxström [Fri, 26 Aug 2005 15:31:05 +0000 (15:31 +0000)]
* (bug 2554) Tell users they are uploading too large file

18 years ago* Coding style
Ævar Arnfjörð Bjarmason [Fri, 26 Aug 2005 14:16:16 +0000 (14:16 +0000)]
* Coding style

18 years ago* Adding a new hook, SpecialContributionsBeforeMainOutput
Ævar Arnfjörð Bjarmason [Fri, 26 Aug 2005 14:13:03 +0000 (14:13 +0000)]
* Adding a new hook, SpecialContributionsBeforeMainOutput

18 years ago* Rewrite, now supports more info from extensions and is object oriented
Ævar Arnfjörð Bjarmason [Fri, 26 Aug 2005 14:08:40 +0000 (14:08 +0000)]
* Rewrite, now supports more info from extensions and is object oriented

18 years ago* No longer passing the name of the language class by reference
Ævar Arnfjörð Bjarmason [Fri, 26 Aug 2005 14:05:12 +0000 (14:05 +0000)]
* No longer passing the name of the language class by reference

18 years ago* Removed redudant global decleration
Ævar Arnfjörð Bjarmason [Fri, 26 Aug 2005 13:57:34 +0000 (13:57 +0000)]
* Removed redudant global decleration

18 years ago* Safe html output with wfMsgHtml()
Ævar Arnfjörð Bjarmason [Fri, 26 Aug 2005 13:56:25 +0000 (13:56 +0000)]
* Safe html output with wfMsgHtml()
* Fixed the indenting of the XML
* Code cleanup

18 years ago* Null no longer needs to be passed explicitly to wfRunHooks()
Ævar Arnfjörð Bjarmason [Fri, 26 Aug 2005 13:54:13 +0000 (13:54 +0000)]
* Null no longer needs to be passed explicitly to wfRunHooks()

18 years ago* Making null the default $args so that hooks without arguments can be created
Ævar Arnfjörð Bjarmason [Fri, 26 Aug 2005 13:50:19 +0000 (13:50 +0000)]
* Making null the default $args so that hooks without arguments can be created

18 years ago* Postfix --/++ => Prefix --/++
Ævar Arnfjörð Bjarmason [Fri, 26 Aug 2005 13:47:38 +0000 (13:47 +0000)]
* Postfix --/++ => Prefix --/++

18 years agodocument toolbar change
Erik Moeller [Thu, 25 Aug 2005 21:29:09 +0000 (21:29 +0000)]
document toolbar change

18 years agoRemove "info"-toolbar. This used to be shown for browsers which don't
Erik Moeller [Thu, 25 Aug 2005 21:11:22 +0000 (21:11 +0000)]
Remove "info"-toolbar. This used to be shown for browsers which don't
support retrieving text selections in a textarea. It prompted the user for
text and put the resulting wiki-markup in a textfield for copy&pasting.
However, this behavior confused many users, so the toolbar is now only shown
for browsers which fully support it (presently IE and Gecko).

Someone with some more time at their hands may want to experiment with the
latest versions of Konqueror, Safari and Opera to determine whether they
support retrieving selections so we can enable the full toolbar for those
browsers.

18 years agoFix 3265: Forgot to migrate variables to Pt_br. Moved some stuff to LanguagePt.php
Antoine Musso [Thu, 25 Aug 2005 17:36:27 +0000 (17:36 +0000)]
Fix 3265: Forgot to migrate variables to Pt_br. Moved some stuff to LanguagePt.php

18 years agoport stuff from child PT_br to Pt
Antoine Musso [Thu, 25 Aug 2005 17:32:32 +0000 (17:32 +0000)]
port stuff from child PT_br to Pt

18 years ago* Permalink => Permanent link, avoid the use of neologisms
Ævar Arnfjörð Bjarmason [Thu, 25 Aug 2005 17:12:04 +0000 (17:12 +0000)]
* Permalink => Permanent link, avoid the use of neologisms

18 years agomore hardcoding
Antoine Musso [Thu, 25 Aug 2005 13:25:30 +0000 (13:25 +0000)]
more hardcoding

18 years agohardcoded "encyclopedia"
Antoine Musso [Thu, 25 Aug 2005 13:23:11 +0000 (13:23 +0000)]
hardcoded "encyclopedia"

18 years agoFix NS_PROJECT_TALK as well
Antoine Musso [Thu, 25 Aug 2005 05:48:00 +0000 (05:48 +0000)]
Fix NS_PROJECT_TALK as well

18 years agomake pt works.
Antoine Musso [Thu, 25 Aug 2005 05:24:35 +0000 (05:24 +0000)]
make pt works.

18 years agoMore HTML validation checks on page subtitle. Not exploitable, but could create valid...
Brion Vibber [Thu, 25 Aug 2005 04:31:46 +0000 (04:31 +0000)]
More HTML validation checks on page subtitle. Not exploitable, but could create validation errors.

18 years agoRevert more minor breakage from missing HTML escaping (broken June 24)
Brion Vibber [Thu, 25 Aug 2005 04:23:13 +0000 (04:23 +0000)]
Revert more minor breakage from missing HTML escaping (broken June 24)

18 years agoCorrected fix for injection
Brion Vibber [Thu, 25 Aug 2005 04:15:16 +0000 (04:15 +0000)]
Corrected fix for injection

18 years agoXSS issue : now sanitize search query input
Antoine Musso [Thu, 25 Aug 2005 03:42:18 +0000 (03:42 +0000)]
XSS issue : now sanitize search query input

18 years agotypo
Antoine Musso [Thu, 25 Aug 2005 03:22:22 +0000 (03:22 +0000)]
typo