lhc/web/wiklou.git
18 years agoRemoved $wgLinkCache, converted to a singleton. Removed obsolete cruft from LinkCache...
Tim Starling [Thu, 5 Jan 2006 02:05:53 +0000 (02:05 +0000)]
Removed $wgLinkCache, converted to a singleton. Removed obsolete cruft from LinkCache.php.

18 years ago* Sorted $wgAvailableRights
Ævar Arnfjörð Bjarmason [Thu, 5 Jan 2006 01:03:22 +0000 (01:03 +0000)]
* Sorted $wgAvailableRights
* Added unwatchedpages to $wgAvailableRights (see http://mail.wikimedia.org/pipermail/wikitech-l/2006-January/033427.html)

18 years agogave LinkBatch its own file
Tim Starling [Wed, 4 Jan 2006 23:53:51 +0000 (23:53 +0000)]
gave LinkBatch its own file

18 years ago* (bug 4486) Minor updates
Ævar Arnfjörð Bjarmason [Wed, 4 Jan 2006 23:52:57 +0000 (23:52 +0000)]
* (bug 4486) Minor updates

18 years agosome tweaks, by brion
Tim Starling [Wed, 4 Jan 2006 23:29:04 +0000 (23:29 +0000)]
some tweaks, by brion

18 years agocurrent directory is not reliable
Tim Starling [Wed, 4 Jan 2006 23:26:31 +0000 (23:26 +0000)]
current directory is not reliable

18 years agoYes, really world writeable
Tim Starling [Wed, 4 Jan 2006 23:24:25 +0000 (23:24 +0000)]
Yes, really world writeable

18 years agoMore robust include directory determination. Don't call wfDebug unless it is defined.
Tim Starling [Wed, 4 Jan 2006 23:21:21 +0000 (23:21 +0000)]
More robust include directory determination. Don't call wfDebug unless it is defined.

18 years agoMore robust include directory determination
Tim Starling [Wed, 4 Jan 2006 23:20:11 +0000 (23:20 +0000)]
More robust include directory determination

18 years agoMoved stub profiling functions to their own file
Tim Starling [Wed, 4 Jan 2006 23:17:35 +0000 (23:17 +0000)]
Moved stub profiling functions to their own file

18 years agoSimpler structure for wgLocalDatabases, for faster setup. SiteConfiguration::getAll...
Tim Starling [Wed, 4 Jan 2006 22:48:35 +0000 (22:48 +0000)]
Simpler structure for wgLocalDatabases, for faster setup. SiteConfiguration::getAll() to get all settings as an array

18 years agoIgnore negative lag
Tim Starling [Wed, 4 Jan 2006 22:45:55 +0000 (22:45 +0000)]
Ignore negative lag

18 years agoTweak script to allow just reporting of the number of inactive accounts
Rob Church [Wed, 4 Jan 2006 13:02:04 +0000 (13:02 +0000)]
Tweak script to allow just reporting of the number of inactive accounts

18 years agoMention the delete unused accounts script
Rob Church [Wed, 4 Jan 2006 12:45:15 +0000 (12:45 +0000)]
Mention the delete unused accounts script

18 years agoMaintenance script to delete unused accounts
Rob Church [Wed, 4 Jan 2006 12:33:45 +0000 (12:33 +0000)]
Maintenance script to delete unused accounts

18 years agoinclude templatelinks table
Brion Vibber [Wed, 4 Jan 2006 00:33:22 +0000 (00:33 +0000)]
include templatelinks table

18 years ago* (bug 4453) fix for __TOC__ dollar-number breakage
Brion Vibber [Wed, 4 Jan 2006 00:27:48 +0000 (00:27 +0000)]
* (bug 4453) fix for __TOC__ dollar-number breakage

18 years ago* Formatting: -whitespace
Ævar Arnfjörð Bjarmason [Wed, 4 Jan 2006 00:25:46 +0000 (00:25 +0000)]
* Formatting: -whitespace

18 years agocheck if wgProfiler is defined before checking if it is an object
Domas Mituzas [Tue, 3 Jan 2006 23:38:13 +0000 (23:38 +0000)]
check if wgProfiler is defined before checking if it is an object
define wfProfileIn/Out only if it was not defined before

18 years ago* (bug 4446) $wgExportAllowHistory option to explicitly disable history in
Brion Vibber [Tue, 3 Jan 2006 23:32:39 +0000 (23:32 +0000)]
* (bug 4446) $wgExportAllowHistory option to explicitly disable history in
  Special:Export form, 'exportnohistory' message to translate live hack.

18 years agoSpot of code optimisation
Rob Church [Tue, 3 Jan 2006 21:37:09 +0000 (21:37 +0000)]
Spot of code optimisation

18 years agoRevert 'user files' link; the support for it was already reverted.
Brion Vibber [Tue, 3 Jan 2006 21:18:58 +0000 (21:18 +0000)]
Revert 'user files' link; the support for it was already reverted.
Done properly this would need a new index; it should not be done on Newimages, which is time-sorted.

18 years ago* (bug 3194) default implementation of translateBlockExpiry which uses ipboptions
Niklas Laxström [Tue, 3 Jan 2006 20:59:19 +0000 (20:59 +0000)]
* (bug 3194) default implementation of translateBlockExpiry which uses ipboptions

18 years agoFixed wrongly translated ipboptions and few markup issues
Niklas Laxström [Tue, 3 Jan 2006 20:12:13 +0000 (20:12 +0000)]
Fixed wrongly translated ipboptions and few markup issues

18 years agoFix a comment glitch and add one that's missing
Rob Church [Tue, 3 Jan 2006 15:58:14 +0000 (15:58 +0000)]
Fix a comment glitch and add one that's missing

18 years agoMore in series of convertPlural
Niklas Laxström [Tue, 3 Jan 2006 15:53:44 +0000 (15:53 +0000)]
More in series of convertPlural
+polished the insane space+tab indentation in Ru

18 years ago* Bug 4456: Add hook for marking article patrolled
Rob Church [Tue, 3 Jan 2006 15:45:36 +0000 (15:45 +0000)]
* Bug 4456: Add hook for marking article patrolled

18 years agoRemoving 'search by username' feature since it causes a full table scan
Jens Frank [Tue, 3 Jan 2006 15:04:21 +0000 (15:04 +0000)]
Removing 'search by username' feature since it causes a full table scan

18 years ago* convertPlural breakage fixed a little
Niklas Laxström [Tue, 3 Jan 2006 13:19:44 +0000 (13:19 +0000)]
* convertPlural breakage fixed a little
+ non-line beginning tabs and cvs unability to do simple merge for once

18 years agoFix #4418: remove $id and $header that causes conflicts
Antoine Musso [Tue, 3 Jan 2006 11:59:39 +0000 (11:59 +0000)]
Fix #4418: remove $id and $header that causes conflicts

18 years agoallow pre-started Profiler
Domas Mituzas [Tue, 3 Jan 2006 10:31:13 +0000 (10:31 +0000)]
allow pre-started Profiler

18 years ago* PHP docmentation fixes, useful @link, properly end it with /**#@-*/, documented...
Ævar Arnfjörð Bjarmason [Tue, 3 Jan 2006 05:45:36 +0000 (05:45 +0000)]
* PHP docmentation fixes, useful @link, properly end it with /**#@-*/, documented the parsing function
* Removed apperently redundant code, I could've sworn...
* Use trigger_error() instead of wfDebugDieBacktrace()
* Renamed _ctype_parse_args() to wf_ctype_parse_args()

18 years ago* ...use commandLine.inc
Ævar Arnfjörð Bjarmason [Tue, 3 Jan 2006 05:27:24 +0000 (05:27 +0000)]
* ...use commandLine.inc

18 years ago* New unit test directory
Ævar Arnfjörð Bjarmason [Tue, 3 Jan 2006 05:25:29 +0000 (05:25 +0000)]
* New unit test directory

18 years ago* ctype_* compatability functions
Ævar Arnfjörð Bjarmason [Tue, 3 Jan 2006 02:59:05 +0000 (02:59 +0000)]
* ctype_* compatability functions

18 years ago* (bug 4457) Update for Portuguese language (pt)
Niklas Laxström [Tue, 3 Jan 2006 02:53:08 +0000 (02:53 +0000)]
* (bug 4457) Update for Portuguese language (pt)
Patch from Get_It

18 years agoFix #2 for WMF vulnerability
Tim Starling [Tue, 3 Jan 2006 02:14:55 +0000 (02:14 +0000)]
Fix #2 for WMF vulnerability

18 years agoFix #1 for WMF vulnerability
Tim Starling [Tue, 3 Jan 2006 00:51:57 +0000 (00:51 +0000)]
Fix #1 for WMF vulnerability

18 years agoIntegrating "User files" (via Special:Newimages) into the sidebar of the user page
Magnus Manske [Mon, 2 Jan 2006 20:58:32 +0000 (20:58 +0000)]
Integrating "User files" (via Special:Newimages) into the sidebar of the user page

18 years ago* Removed broken wgAllowAnonymousMinor and added new group right minoredit
Niklas Laxström [Mon, 2 Jan 2006 17:11:04 +0000 (17:11 +0000)]
* Removed broken wgAllowAnonymousMinor and added new group right minoredit

18 years ago* (bug 4317) Inconsistent "broken redirects" messages
Rob Church [Mon, 2 Jan 2006 15:55:38 +0000 (15:55 +0000)]
* (bug 4317) Inconsistent "broken redirects" messages
* Default interface text for "selflinks" tweaked

18 years ago* (bug 714) "plainlinks" class issues in IE, Opera
Rob Church [Mon, 2 Jan 2006 14:54:38 +0000 (14:54 +0000)]
* (bug 714) "plainlinks" class issues in IE, Opera

18 years agoTweak badtitletext
Rob Church [Mon, 2 Jan 2006 14:49:30 +0000 (14:49 +0000)]
Tweak badtitletext

18 years ago* (bug 137) MediaWiki:Copyrightwarning hardcoding
Rob Church [Mon, 2 Jan 2006 14:33:28 +0000 (14:33 +0000)]
* (bug 137) MediaWiki:Copyrightwarning hardcoding
(Remaining issue was the unused global, now gone.)

18 years agoRemove unused global
Rob Church [Mon, 2 Jan 2006 14:32:06 +0000 (14:32 +0000)]
Remove unused global

18 years agoUsername is now passed as "Newimages/Username", while display limit is passed as...
Magnus Manske [Mon, 2 Jan 2006 13:52:32 +0000 (13:52 +0000)]
Username is now passed as "Newimages/Username", while display limit is passed as "&limit=XYZ", similar to other special pages

18 years ago* (bug 1996) Special page to list redirects
Rob Church [Mon, 2 Jan 2006 13:03:14 +0000 (13:03 +0000)]
* (bug 1996) Special page to list redirects

18 years agoUpdate with new URLs (point people to the clean version, too ;-)
Rob Church [Mon, 2 Jan 2006 12:05:43 +0000 (12:05 +0000)]
Update with new URLs (point people to the clean version, too ;-)

18 years ago* (bug 4371) Disallow tilde character in signatures
Rob Church [Mon, 2 Jan 2006 11:42:45 +0000 (11:42 +0000)]
* (bug 4371) Disallow tilde character in signatures

18 years agofixed bug
Tim Starling [Mon, 2 Jan 2006 01:15:49 +0000 (01:15 +0000)]
fixed bug

18 years agoHack for plural to produce correct result, 'patch' by elephantus
Niklas Laxström [Mon, 2 Jan 2006 01:00:38 +0000 (01:00 +0000)]
Hack for plural to produce correct result, 'patch' by elephantus

18 years agoLanguageSr updates from dungodung
Niklas Laxström [Mon, 2 Jan 2006 00:14:51 +0000 (00:14 +0000)]
LanguageSr updates from dungodung

18 years agoexplicit limits for subqueries, MySQL doesn't seem to be able to work this out
Tim Starling [Mon, 2 Jan 2006 00:04:28 +0000 (00:04 +0000)]
explicit limits for subqueries, MySQL doesn't seem to be able to work this out

18 years agofixed bug
Tim Starling [Sun, 1 Jan 2006 23:59:58 +0000 (23:59 +0000)]
fixed bug

18 years ago(bug 4413) removed 'wikipedia' hardcodes
Jens Frank [Sun, 1 Jan 2006 23:03:41 +0000 (23:03 +0000)]
(bug 4413) removed 'wikipedia' hardcodes

18 years ago$wgOut->setRevisionId() was missing from one branch out of 4, causing an incorrect...
Tim Starling [Sun, 1 Jan 2006 22:07:14 +0000 (22:07 +0000)]
$wgOut->setRevisionId() was missing from one branch out of 4, causing an incorrect edit link when editing an old revision which is a redirect. Moved the call outside the if structure.

18 years agoFixed categorised redirects
Tim Starling [Sun, 1 Jan 2006 21:44:43 +0000 (21:44 +0000)]
Fixed categorised redirects

18 years agobump parser version
Tim Starling [Sun, 1 Jan 2006 20:17:21 +0000 (20:17 +0000)]
bump parser version

18 years agofix for broken categories on preview
Tim Starling [Sun, 1 Jan 2006 20:08:08 +0000 (20:08 +0000)]
fix for broken categories on preview

18 years agofeed tooltips have been in the javascript for a long time
Niklas Laxström [Sun, 1 Jan 2006 18:36:00 +0000 (18:36 +0000)]
feed tooltips have been in the javascript for a long time

18 years agoLet's stop inflicted languages taking over the world
Niklas Laxström [Sun, 1 Jan 2006 17:08:13 +0000 (17:08 +0000)]
Let's stop inflicted languages taking over the world
->typo in comment

18 years agorv - doesn't make sense
Rob Church [Sun, 1 Jan 2006 14:40:05 +0000 (14:40 +0000)]
rv - doesn't make sense

18 years ago* (bug 4061) Update of Slovene Wikipedia (:sl) language file (LanguageSl.php)
Rob Church [Sun, 1 Jan 2006 14:36:55 +0000 (14:36 +0000)]
* (bug 4061) Update of Slovene Wikipedia (:sl) language file (LanguageSl.php)

18 years agoremoved untranslated quickbarsettings
Niklas Laxström [Sun, 1 Jan 2006 14:22:08 +0000 (14:22 +0000)]
removed untranslated quickbarsettings

18 years ago* (bug 4436) Update for Turkish language (tr)
Niklas Laxström [Sun, 1 Jan 2006 14:07:00 +0000 (14:07 +0000)]
* (bug 4436) Update for Turkish language (tr)
 Update from DBL2010

18 years ago* It's 2006, update copyright notice
Ævar Arnfjörð Bjarmason [Sun, 1 Jan 2006 05:14:43 +0000 (05:14 +0000)]
* It's 2006, update copyright notice

18 years ago* (bug 3318) UI workarounds for disabled items in license selector
Brion Vibber [Sun, 1 Jan 2006 01:05:21 +0000 (01:05 +0000)]
* (bug 3318) UI workarounds for disabled items in license selector
  MSIE/Win: items now grayed out, JS will revert to 'non selected' if clicked
  Safari: JS will revert to 'non selected' if clicked (but not gray)
  MSIE/Mac: indented items now visible (JS hack)

18 years agoParameter fix for single user search; note that there is now ambiguity with the ...
Magnus Manske [Sat, 31 Dec 2005 20:51:43 +0000 (20:51 +0000)]
Parameter fix for single user search; note that there is now ambiguity with the $limit for images per page.

18 years agoCatching: getrusage() does not exist on Windows platforms
Magnus Manske [Sat, 31 Dec 2005 20:30:22 +0000 (20:30 +0000)]
Catching: getrusage() does not exist on Windows platforms

18 years ago* Two new functions, wfUsePHP() and wfUseMW() which work like "use VERSION" in
Ævar Arnfjörð Bjarmason [Sat, 31 Dec 2005 02:53:35 +0000 (02:53 +0000)]
* Two new functions, wfUsePHP() and wfUseMW() which work like "use VERSION" in
  Perl for PHP and MediaWiki, respectively

18 years ago* $wgVersion: "1.6devel" => "1.6alpha" (rv 1.387 => 1.388), Brion, we *are*
Ævar Arnfjörð Bjarmason [Sat, 31 Dec 2005 02:24:52 +0000 (02:24 +0000)]
* $wgVersion: "1.6devel" => "1.6alpha" (rv 1.387 => 1.388), Brion, we *are*
  using alpha software and I want to use version_compare(), so just tell these
  people to STFU;)

18 years ago* Added a hook (ArticlePurge) to Article::purge() to override whether or not
Ævar Arnfjörð Bjarmason [Sat, 31 Dec 2005 01:23:33 +0000 (01:23 +0000)]
* Added a hook (ArticlePurge) to Article::purge() to override whether or not
  anonymous users have to go through a confirmation to purge their cache

18 years ago* (bug 4359) red [[user:#id]] links generated in [[special:Log]]
Rob Church [Fri, 30 Dec 2005 23:16:42 +0000 (23:16 +0000)]
* (bug 4359) red [[user:#id]] links generated in [[special:Log]]

18 years ago* Fix ::close()
Domas Mituzas [Fri, 30 Dec 2005 23:16:14 +0000 (23:16 +0000)]
* Fix ::close()
* Properly deal with "-setup" and "-total"
* Extend time functions a bit

18 years agoclose profiling on script exits instead of page flushing
Domas Mituzas [Fri, 30 Dec 2005 23:14:34 +0000 (23:14 +0000)]
close profiling on script exits instead of page flushing

18 years ago* Print profiling with stack empty but collated list full
Domas Mituzas [Fri, 30 Dec 2005 23:13:31 +0000 (23:13 +0000)]
* Print profiling with stack empty but collated list full
* Silently ignore DB writes if db is unreachable

18 years agoSpecialNewimages can now be called with user=X to limit display to a single user
Magnus Manske [Fri, 30 Dec 2005 20:31:57 +0000 (20:31 +0000)]
SpecialNewimages can now be called with user=X to limit display to a single user

18 years ago* Formatting
Ævar Arnfjörð Bjarmason [Fri, 30 Dec 2005 17:27:46 +0000 (17:27 +0000)]
* Formatting

18 years ago* Reverting the last commit, if you just want to use a message from the user
Ævar Arnfjörð Bjarmason [Fri, 30 Dec 2005 17:07:47 +0000 (17:07 +0000)]
* Reverting the last commit, if you just want to use a message from the user
  language if it exists use wfMsg() instead of wfMsgForContent(), don't
  rewrite the entire message selection code when we have libraries to handle
  that, furthermore, this *should* use the content language by default, since
  it's only in rare cases, such as the commons, when you want the opposite,
  this should be overriden via a configuration ($wgForceUIMsgAsContentMsg)
  there instead of changing the main code.

18 years agoCommons upload license list language fix
Magnus Manske [Fri, 30 Dec 2005 16:52:10 +0000 (16:52 +0000)]
Commons upload license list language fix

18 years agoHope I fixed it
Magnus Manske [Fri, 30 Dec 2005 12:25:54 +0000 (12:25 +0000)]
Hope I fixed it

18 years agoPassing title objects to addLink() and addTemplate() instead of NS/DBK pairs
Tim Starling [Fri, 30 Dec 2005 11:10:51 +0000 (11:10 +0000)]
Passing title objects to addLink() and addTemplate() instead of NS/DBK pairs

18 years ago* Added templatelinks table. The table currently represents a literal list of templat...
Tim Starling [Fri, 30 Dec 2005 09:33:11 +0000 (09:33 +0000)]
* Added templatelinks table. The table currently represents a literal list of templates included from each article. That is, the table contains pages which were actually loaded during parsing, not the markup which went into resolving their names.
* Ended the role of $wgLinkCache in link updates. Instead, links (and related entities) are registered in the ParserOutput object during a parse. The LinksUpdate constructor now takes a ParserOutput object as a parameter. $wgLinkCache is still used, but only as a cache of article IDs.
* Because the link list is now saved and restored in the parser cache, meta tag keywords now work on parser cache hits. Some refactoring took place in this area.
* Rendering of the HTML for category links has moved from Parser to OutputPage.
* Did some general pottering around in Article.php, such as allowing an Article object to be created with a specified revision ID, thereby optionally removing the dependence on $wgRequest. Not used at the current time.
* A few documentation tweaks.

18 years agoarrrggh suppressed fatal
Tim Starling [Fri, 30 Dec 2005 08:52:45 +0000 (08:52 +0000)]
arrrggh suppressed fatal

18 years agosuppress warnings from local message cache fopen()
Tim Starling [Fri, 30 Dec 2005 08:50:59 +0000 (08:50 +0000)]
suppress warnings from local message cache fopen()

18 years ago* (bug 4426) Add link to user_talk page on image pages
Rob Church [Fri, 30 Dec 2005 04:52:50 +0000 (04:52 +0000)]
* (bug 4426) Add link to user_talk page on image pages

18 years ago* (bug 4425) Typos in Polish translation
Rob Church [Fri, 30 Dec 2005 00:20:06 +0000 (00:20 +0000)]
* (bug 4425) Typos in Polish translation

18 years agoRemove val_ stuff from LanguageEs.php (again)
Rob Church [Fri, 30 Dec 2005 00:00:01 +0000 (00:00 +0000)]
Remove val_ stuff from LanguageEs.php (again)

18 years ago* (bug 4424) Update for Spanish language (es) 100% messages translated
Rob Church [Thu, 29 Dec 2005 23:43:42 +0000 (23:43 +0000)]
* (bug 4424) Update for Spanish language (es) 100% messages translated

18 years agouse times index for all-logs page, if it exists, on mysql, ...
Domas Mituzas [Thu, 29 Dec 2005 22:58:08 +0000 (22:58 +0000)]
use times index for all-logs page, if it exists, on mysql, ...

18 years agodirty sitenotice cache, will cache rendered sitenotice for 10 minutes, unless it...
Domas Mituzas [Thu, 29 Dec 2005 22:03:54 +0000 (22:03 +0000)]
dirty sitenotice cache, will cache rendered sitenotice for 10 minutes, unless it's wikitext changes
does not deal with template or links changes...

18 years agoReverting this for now; it broke page history, image page views, and
Brion Vibber [Thu, 29 Dec 2005 21:15:23 +0000 (21:15 +0000)]
Reverting this for now; it broke page history, image page views, and
probably other stuff. Restructuing index.php would be nice if stable though. :D

18 years agoRevert to working version
Brion Vibber [Thu, 29 Dec 2005 20:46:25 +0000 (20:46 +0000)]
Revert to working version

18 years ago* Reverting to 1.33 after talking to Rob, what we might need from SERVER_SOFTWARE...
Ævar Arnfjörð Bjarmason [Thu, 29 Dec 2005 20:27:25 +0000 (20:27 +0000)]
* Reverting to 1.33 after talking to Rob, what we might need from SERVER_SOFTWARE is already included in php_sapi_name()

18 years ago* Removed Special:Validate, it's been superseded by the Review extension
Brion Vibber [Thu, 29 Dec 2005 18:38:31 +0000 (18:38 +0000)]
* Removed Special:Validate, it's been superseded by the Review extension

18 years ago* Fix for short_open_tag off again; please don't break this, guys
Brion Vibber [Thu, 29 Dec 2005 17:15:14 +0000 (17:15 +0000)]
* Fix for short_open_tag off again; please don't break this, guys

18 years agoRemoved useless code
Niklas Laxström [Thu, 29 Dec 2005 16:47:48 +0000 (16:47 +0000)]
Removed useless code

18 years ago* (bug 4419) Remove obsolete magnify.png.old
Brion Vibber [Thu, 29 Dec 2005 16:30:49 +0000 (16:30 +0000)]
* (bug 4419) Remove obsolete magnify.png.old

18 years agofinishing moving of code from inex.php to includes/Wiki.php
Magnus Manske [Thu, 29 Dec 2005 10:50:06 +0000 (10:50 +0000)]
finishing moving of code from inex.php to includes/Wiki.php

18 years agomoving stuff from index.php to includes/Wiki.php
Magnus Manske [Thu, 29 Dec 2005 10:21:20 +0000 (10:21 +0000)]
moving stuff from index.php to includes/Wiki.php