Antoine Musso [Mon, 16 Jan 2006 22:38:30 +0000 (22:38 +0000)]
* use braces in if else if if if stuff (safer read).
* removing useless call ($sk never used in function)
Antoine Musso [Mon, 16 Jan 2006 21:47:17 +0000 (21:47 +0000)]
update from bug i fixed in 1.5 & HEAD but never notified in HEAD release notes
Brion Vibber [Mon, 16 Jan 2006 20:48:43 +0000 (20:48 +0000)]
why was this line removed? it was added during 1.6 cycle
Rob Church [Mon, 16 Jan 2006 19:18:29 +0000 (19:18 +0000)]
Couple more useful functions for later scripts
Rob Church [Mon, 16 Jan 2006 18:55:45 +0000 (18:55 +0000)]
* Some code cleanup
* Deprecate OutputPage::developerRequired()
Antoine Musso [Mon, 16 Jan 2006 18:38:00 +0000 (18:38 +0000)]
-bug 1122: ported to 1.5
Antoine Musso [Mon, 16 Jan 2006 18:34:11 +0000 (18:34 +0000)]
Fix #1122: "older revision" link displayed when viewing first revision of an article
Rob Church [Mon, 16 Jan 2006 13:57:29 +0000 (13:57 +0000)]
Make user functions more generalised so other maintenance scripts can use them
Rob Church [Mon, 16 Jan 2006 13:51:26 +0000 (13:51 +0000)]
Fix stupid and irritating missing space I keep seeing but forget to correct
Rob Church [Mon, 16 Jan 2006 13:11:32 +0000 (13:11 +0000)]
Document previous fix
Rob Church [Mon, 16 Jan 2006 13:03:26 +0000 (13:03 +0000)]
Fix problem reported on mailing list where re-initialising stats didn't work (can't insert duplicate rows with the same id field)
Brion Vibber [Mon, 16 Jan 2006 10:16:06 +0000 (10:16 +0000)]
* Spit the generated LocalSettings code out during the installer as an aid
to debugging issues. (Keep this?)
* Use __FILE__ to form path in new LocalSettings.php, so it stays accurate
when the directory is relocated for typical usage.
* Auto-update $wgCacheEpoch when LocalSettings.php changes on new installs.
For typical usage this will be a light burden and should reduce confusion
when the configuration is edited.
* Fix $wgCacheEpoch's effect on client-side caching.
Ævar Arnfjörð Bjarmason [Mon, 16 Jan 2006 06:53:48 +0000 (06:53 +0000)]
* Typo: the => then
Ævar Arnfjörð Bjarmason [Mon, 16 Jan 2006 06:11:06 +0000 (06:11 +0000)]
* Don't show a stray "* Hooks" if none are defined
Rob Church [Mon, 16 Jan 2006 03:35:28 +0000 (03:35 +0000)]
* Minor cosmetic fixes to installer
* Make Block::delete() return something, to be used in later alterations to the un/blocking interfaces
Rob Church [Mon, 16 Jan 2006 03:16:25 +0000 (03:16 +0000)]
Fix disappearing autoblocker numbers
WHY IN GOD'S NAME IS Block::mID NOT TREATED LIKE Block::mId?
Rob Church [Mon, 16 Jan 2006 02:19:08 +0000 (02:19 +0000)]
Fix yet another stupid mistake
/me hands everyone a cluestick and prepares for the bruises
Rob Church [Mon, 16 Jan 2006 02:15:53 +0000 (02:15 +0000)]
Urk! ; => ,
Rob Church [Mon, 16 Jan 2006 02:15:01 +0000 (02:15 +0000)]
Fix misplaced comma
Rob Church [Mon, 16 Jan 2006 01:58:57 +0000 (01:58 +0000)]
* Add cache-safe alternate sitenotice for anonymous users. (MediaWiki:Anonnotice
This is displayed instead of the regular sitenotice, if it exists. If not, the regular sitenotice shows. If that doesn't exist, the value of $wgSiteNotice is used, and if that's null, then nothing is shown.
Rob Church [Mon, 16 Jan 2006 01:19:12 +0000 (01:19 +0000)]
Revert per discussion w/ Brion
Rob Church [Mon, 16 Jan 2006 00:13:01 +0000 (00:13 +0000)]
Bug 2757: 'Page move completed' screen should contain link to original page with &redirect=no
Antoine Musso [Sun, 15 Jan 2006 23:14:48 +0000 (23:14 +0000)]
some basic quotes
Antoine Musso [Sun, 15 Jan 2006 23:12:27 +0000 (23:12 +0000)]
* additional comments
* line wrap at 80 columns
Antoine Musso [Sun, 15 Jan 2006 23:07:19 +0000 (23:07 +0000)]
funny quotes
Rob Church [Sun, 15 Jan 2006 22:57:08 +0000 (22:57 +0000)]
Fix fucked up unblock links in Special:Ipblocklist
Brion Vibber [Sun, 15 Jan 2006 20:34:25 +0000 (20:34 +0000)]
HTML protection on message use
Antoine Musso [Sun, 15 Jan 2006 14:06:29 +0000 (14:06 +0000)]
Add a link to history. Usefull for vandalism tracking & speedy deletion
Antoine Musso [Sun, 15 Jan 2006 14:00:22 +0000 (14:00 +0000)]
never used call
Brion Vibber [Sun, 15 Jan 2006 08:05:28 +0000 (08:05 +0000)]
* (bug 3990) Use existing session name if session.auto_start is on
Fixes checks for open sessions, such as the cookie warning on login.
Patch by Zbigniew Braniecki.
Brion Vibber [Sun, 15 Jan 2006 07:04:28 +0000 (07:04 +0000)]
* (bug 4482) Include move comment on the null edit as well as the redirect
Ævar Arnfjörð Bjarmason [Sun, 15 Jan 2006 03:28:36 +0000 (03:28 +0000)]
* Fixed regression in last commit: If we don't check for existance we'll get
"Trying to get property of non-object" E_NOTICE in Article::loadPageData()
when viewing a page that does not exist
Rob Church [Sun, 15 Jan 2006 03:15:54 +0000 (03:15 +0000)]
Generate link to talk page of the blocker in Special:Ipblocklist, move contribs. link of the target next to their name
Rob Church [Sun, 15 Jan 2006 02:17:02 +0000 (02:17 +0000)]
* Generate user page links in Special:Ipblocklist where appropriate (i.e. not an autoblock)
Rob Church [Sun, 15 Jan 2006 01:08:32 +0000 (01:08 +0000)]
Add a few more translations
Rob Church [Sun, 15 Jan 2006 01:05:13 +0000 (01:05 +0000)]
Add basic Nahuatl language file
Brion Vibber [Sat, 14 Jan 2006 23:56:01 +0000 (23:56 +0000)]
Restoring ThomasV's patch for a hook & use of the existing $cache parameter on addPrimaryWikiText.
Further testing indicates the problem was probably an incomplete sync or bad caching of
OutputPage.php on some servers, so the broken version of the function was called
on old page views, incorrectly storing old text items into the parser cache.
Rob Church [Sat, 14 Jan 2006 23:07:08 +0000 (23:07 +0000)]
Improve installer:
* Use a superuser account (such as root), if specifed, to create tables
* Don't overwrite conservative permissions on the mySQL user with ALL permissions, if said user exists
* Changes to some of the wording of explanations for fields
This will pre-emptively fix an issue arising if the regular-use user doesn't have permissions to set up the schema, since the end-user must now indicate this and provide superuser account details. Follow-on from last night's fixing 921 et al.
Domas Mituzas [Sat, 14 Jan 2006 22:13:43 +0000 (22:13 +0000)]
SIDEBAR CACHE WILL SURVIVE!!!!!!11111oneoneone
Domas Mituzas [Sat, 14 Jan 2006 21:19:17 +0000 (21:19 +0000)]
oh right right right!!! we have different Article subclasses!!!!!!
"Learn, learn and again..learn (c) Lenin"
Domas Mituzas [Sat, 14 Jan 2006 21:16:28 +0000 (21:16 +0000)]
HELLO!!! Less queries - faster site!!!!
Brion Vibber [Sat, 14 Jan 2006 20:27:47 +0000 (20:27 +0000)]
revert more of dammit's broken code
PLEASE TEST THIS FOR GOD'S SAKE
Brion Vibber [Sat, 14 Jan 2006 17:42:08 +0000 (17:42 +0000)]
* Move PHP 5-friendly XHTML doctype hack to Sanitizer, use for sig checks.
Fixes use of named entities in sigs on PHP 5
Brion Vibber [Sat, 14 Jan 2006 17:19:49 +0000 (17:19 +0000)]
* Added an attractive space on the namespace selector on contribs
Brion Vibber [Sat, 14 Jan 2006 17:09:32 +0000 (17:09 +0000)]
Quick fix: revert cached sidebar
Breaks badly due to user language selection
Brion Vibber [Sat, 14 Jan 2006 15:07:08 +0000 (15:07 +0000)]
Reverting this patch:
* (bug 4104) 'OutputPageBeforeHTML' hook to postprocess article HTML on
page view (comes after parser cache, if used). Patch by ThomasV.
Something still bugged in this; was saving bogus history entries to parser cache.
Domas Mituzas [Sat, 14 Jan 2006 14:21:58 +0000 (14:21 +0000)]
bring back mainpage navurl, it was used outside of sidebar
Alexander Sigachov [Sat, 14 Jan 2006 13:11:12 +0000 (13:11 +0000)]
New Kalmyk language file
Domas Mituzas [Sat, 14 Jan 2006 11:04:04 +0000 (11:04 +0000)]
Be less anal about entry points, class definitions do no harm to anyone, defined() is expensive
Domas Mituzas [Sat, 14 Jan 2006 10:25:34 +0000 (10:25 +0000)]
remove cruft (all these names are resolved in buildSidebar)
Domas Mituzas [Sat, 14 Jan 2006 09:58:29 +0000 (09:58 +0000)]
Revert brion's revert. And learning a lesson about rebinding references. Ergh, I need to read php docs again :)
Removing several & in previous code would have fixed everything, bwah.
Brion Vibber [Sat, 14 Jan 2006 08:04:38 +0000 (08:04 +0000)]
some more die-with-proper-return-code
Brion Vibber [Sat, 14 Jan 2006 05:46:48 +0000 (05:46 +0000)]
* Allow input of the stub from a compressed file instead of stdin
for dumpTextPass.php; easier to get errors back on the shell
Brion Vibber [Sat, 14 Jan 2006 04:35:43 +0000 (04:35 +0000)]
Revert Domas's last checkin, it broke tabs on redirects. Please test before checkin!
Brion Vibber [Sat, 14 Jan 2006 04:34:06 +0000 (04:34 +0000)]
Reverted Domas's last checkin. Broken! Please test more thoroughly before checkin.
Tabs had the wrong page info (redirect source instead of target)
Domas Mituzas [Sat, 14 Jan 2006 03:11:24 +0000 (03:11 +0000)]
Handle redirects correctly, saves queries (no revision text loading for cached documents, etc)
Domas Mituzas [Sat, 14 Jan 2006 03:10:42 +0000 (03:10 +0000)]
save ArticleID when it is around, saves one query :-)
Domas Mituzas [Sat, 14 Jan 2006 03:08:04 +0000 (03:08 +0000)]
transformMsg profiling hook, shows when site messages suck
Brion Vibber [Sat, 14 Jan 2006 02:49:43 +0000 (02:49 +0000)]
* Added wfDie() wrapper, and some manual die(-1), to force the return code
to the shell to return nonzero when we crap out with an error.
Brion Vibber [Sat, 14 Jan 2006 02:46:40 +0000 (02:46 +0000)]
LocalSettings.php to ignore list :D
Brion Vibber [Sat, 14 Jan 2006 02:37:55 +0000 (02:37 +0000)]
* Remove obsolete killthread.php
Brion Vibber [Sat, 14 Jan 2006 02:25:29 +0000 (02:25 +0000)]
old incomplete script; upgrade1_5 took this code
Rob Church [Sat, 14 Jan 2006 01:45:14 +0000 (01:45 +0000)]
* Fixed installer bugs 921 and 3914 (issues with using root and so forth)
Domas Mituzas [Fri, 13 Jan 2006 23:57:02 +0000 (23:57 +0000)]
the revert at will style commit: cached sidebar :-)
Brion Vibber [Fri, 13 Jan 2006 20:13:58 +0000 (20:13 +0000)]
* Add wfClone() wrapper since we're still using PHP 4 on some servers.
Brion Vibber [Fri, 13 Jan 2006 19:58:23 +0000 (19:58 +0000)]
* Linker::formatComment corrupted the passed title object on PHP 5
if the comment included a section link. Use clone() to make a safe copy.
Brion Vibber [Fri, 13 Jan 2006 17:33:37 +0000 (17:33 +0000)]
revert to Wiki.php 1.28 and index.php 1.130
this broke wikipedia. please DO NOT COMMIT BROKEN CODE ON HEAD EVER AGAIN
Brion Vibber [Fri, 13 Jan 2006 17:00:05 +0000 (17:00 +0000)]
* (bug 4104) 'OutputPageBeforeHTML' hook to postprocess article HTML on
page view (comes after parser cache, if used). Patch by ThomasV.
http://bugzilla.wikimedia.org/attachment.cgi?id=1290&action=view
http://bugzilla.wikimedia.org/attachment.cgi?id=1296&action=view
http://bugzilla.wikimedia.org/attachment.cgi?id=1297&action=view
Ævar Arnfjörð Bjarmason [Fri, 13 Jan 2006 16:10:12 +0000 (16:10 +0000)]
* (bug 4594) date("W", ..) is zero padded in PHP5, not so in PHP4, removing
the padding
Ævar Arnfjörð Bjarmason [Fri, 13 Jan 2006 14:34:02 +0000 (14:34 +0000)]
* Docucmentaton: Fixed speling eror
Magnus Manske [Fri, 13 Jan 2006 12:52:04 +0000 (12:52 +0000)]
index.php now fits on a single screen :-)
Magnus Manske [Fri, 13 Jan 2006 12:10:59 +0000 (12:10 +0000)]
Further cleanup of index.php
Tim Starling [Fri, 13 Jan 2006 10:29:24 +0000 (10:29 +0000)]
accidentally committed experimental code
Rob Church [Fri, 13 Jan 2006 09:47:09 +0000 (09:47 +0000)]
Code cleanup in cleanSig
* Remove gratuitous whitespace and eliminate needless use of one-time variables
* Remove @static tag since it's not static-safe and isn't used like that any more
Tim Starling [Fri, 13 Jan 2006 09:31:51 +0000 (09:31 +0000)]
require_once() makes about 20 syscalls in the process of checking if the file has been included before. Moving it outside the loop.
Brion Vibber [Fri, 13 Jan 2006 00:29:20 +0000 (00:29 +0000)]
* (bug 1103) Fix up redirect handling for images, categories
Redirects are now followed from the top-level, outside of the Article
content loading and viewing, for clarity and consistency.
Brion Vibber [Fri, 13 Jan 2006 00:24:24 +0000 (00:24 +0000)]
* Remove redundant 'echo' statements from MonoBook.php
I think these got inserted in a search-and-replace after someone broke the entire site by using incorrect short open tags.
Brion Vibber [Fri, 13 Jan 2006 00:19:48 +0000 (00:19 +0000)]
* Fix extra whitespace at end of Wiki.php, DESTROYS XML OUTPUT
Brion Vibber [Fri, 13 Jan 2006 00:07:55 +0000 (00:07 +0000)]
whitespace
Brion Vibber [Fri, 13 Jan 2006 00:02:41 +0000 (00:02 +0000)]
Fix some bogus/changed test cases...
Passed 247 of 275 tests (89.82%) FAILED!
Brion Vibber [Thu, 12 Jan 2006 23:06:49 +0000 (23:06 +0000)]
* Override $wgLocaltimezone in parser tests for us outside Iceland and UK
Rob Church [Thu, 12 Jan 2006 22:38:55 +0000 (22:38 +0000)]
Remove hack from signature clean-up code; implement the clean-up properly within preferences
Brion Vibber [Thu, 12 Jan 2006 22:09:43 +0000 (22:09 +0000)]
* (bug 4576) Missing '>' broke license selector's first option in IE, Opera
Rob Church [Thu, 12 Jan 2006 21:11:11 +0000 (21:11 +0000)]
Whitespace, per Brion
Rob Church [Thu, 12 Jan 2006 20:56:55 +0000 (20:56 +0000)]
Whitespace, and flag hack
Rob Church [Thu, 12 Jan 2006 20:50:33 +0000 (20:50 +0000)]
Slightly dirty hack to avoid a fatal PHP error when changing sig. I'll need to rethink this bit in SpecialPreferences, though.
Rob Church [Thu, 12 Jan 2006 20:38:31 +0000 (20:38 +0000)]
* (bug 2026) missing glue around \not= (TeX)
Rob Church [Thu, 12 Jan 2006 20:34:04 +0000 (20:34 +0000)]
* (bug 1663) support color in TeX formulas
Rob Church [Thu, 12 Jan 2006 20:20:07 +0000 (20:20 +0000)]
* (bug 4000) Support for \textstyle et al. in <math>
Rob Church [Thu, 12 Jan 2006 20:17:30 +0000 (20:17 +0000)]
* (bug 3502) Bowtie symbol for TeX
Tim Starling [Thu, 12 Jan 2006 15:42:38 +0000 (15:42 +0000)]
Fixed ~<includeonly>~</includeonly>~~, problem reported on enwiki village pump
Brion Vibber [Thu, 12 Jan 2006 10:06:54 +0000 (10:06 +0000)]
* (bug 4571) Partial fix hack for {{fulllurl:}} in action=render
Quick hack to do the same check in getFullUrl() that happens in getLocalUrl()
and if it matches *don't* add a duplicate URL prefix.
However anything is still broken that expects it, such as {{localurl:}} and it feels generally hacky.
Also switched from getText() which does expensive encoding checks to getVal()
Brion Vibber [Thu, 12 Jan 2006 08:40:13 +0000 (08:40 +0000)]
* Avoid PHP notice on command-line scripts if empty argument is passed ('')
Tim Starling [Thu, 12 Jan 2006 04:38:20 +0000 (04:38 +0000)]
fixed infinite recursion in SVG error path
Magnus Manske [Wed, 11 Jan 2006 19:33:15 +0000 (19:33 +0000)]
Moving more stuff to Wiki.php
Magnus Manske [Wed, 11 Jan 2006 15:46:01 +0000 (15:46 +0000)]
Most of index.php now in Wiki.php
Magnus Manske [Wed, 11 Jan 2006 14:42:32 +0000 (14:42 +0000)]
Consolidation of mediaWIki calls into Wiki.php
Ævar Arnfjörð Bjarmason [Wed, 11 Jan 2006 14:18:25 +0000 (14:18 +0000)]
* (bug 4563) Fixed typo and added a translation for 'view'
Magnus Manske [Wed, 11 Jan 2006 14:01:40 +0000 (14:01 +0000)]
Page creation now mostly moved from index.php to Wiki.php
Magnus Manske [Wed, 11 Jan 2006 13:28:23 +0000 (13:28 +0000)]
moved more stuff