Chad Horohoe [Wed, 15 Apr 2009 03:35:59 +0000 (03:35 +0000)]
(bug 18151) Clean up duplicate code between Special:WantedPages, WantedFiles, WantedTemplates
* New WantedQueryPage class for all of these Wanted*s, moved some identical methods to it
* Removed sortDescending() because it was already defined as returning true @ QueryPage, no need to duplicate
Raimond Spekking [Tue, 14 Apr 2009 18:06:57 +0000 (18:06 +0000)]
Localisation updates for core messages from translatewiki.net (2009-04-14 17:59 UTC)
Aaron Schulz [Tue, 14 Apr 2009 15:38:51 +0000 (15:38 +0000)]
Follow up to r49454: redid indexing
Raimond Spekking [Tue, 14 Apr 2009 15:26:08 +0000 (15:26 +0000)]
Tweak messages: Remove ", if applicable" because messages are shown only if subpages exist.
Furthermore the list is subpages is shown
Aaron Schulz [Tue, 14 Apr 2009 14:42:50 +0000 (14:42 +0000)]
Log stream buffer fix
Aaron Schulz [Tue, 14 Apr 2009 04:54:54 +0000 (04:54 +0000)]
Tweak r49454: remove duplication
Aaron Schulz [Tue, 14 Apr 2009 02:14:05 +0000 (02:14 +0000)]
Added proposed log_search table to deal with revisiondelete log extracts and possibly other issues
Chad Horohoe [Tue, 14 Apr 2009 01:26:39 +0000 (01:26 +0000)]
Typofix. Base -> Basic
Chad Horohoe [Tue, 14 Apr 2009 00:29:30 +0000 (00:29 +0000)]
(bug 18442) DefaultSettings docs. $wgLogRestrictions fixed. Patch by jidanni.
Siebrand Mazeland [Mon, 13 Apr 2009 17:10:40 +0000 (17:10 +0000)]
Localisation updates for core messages from translatewiki.net (2009-04-13 17:03 UTC)
Chad Horohoe [Mon, 13 Apr 2009 15:05:47 +0000 (15:05 +0000)]
If the file doesn't exist, we get a whole bunch of cascading PHP errors.
Chad Horohoe [Mon, 13 Apr 2009 12:39:12 +0000 (12:39 +0000)]
(bug 18317) Bolded selections in 1 | 3 | etc days on RecentChanges now use <strong> instead of hardcoded styles. Based on patch by jidanni.
Chad Horohoe [Mon, 13 Apr 2009 12:31:31 +0000 (12:31 +0000)]
Strict standards, declaration of functions much match parent.
Chad Horohoe [Mon, 13 Apr 2009 12:16:29 +0000 (12:16 +0000)]
(bug 18441) rebuildrecentchanges.inc no longer ignores $wgLogRestrictions. Also a related fixme, now build this list automatically from $wgLogTypes.
Roan Kattouw [Mon, 13 Apr 2009 10:48:11 +0000 (10:48 +0000)]
API: Add parentid (rev_parent_id) to prop=revisions output, as requested by Luca
Aaron Schulz [Mon, 13 Apr 2009 05:33:44 +0000 (05:33 +0000)]
Remove extra code left in r49433
Aaron Schulz [Mon, 13 Apr 2009 05:29:34 +0000 (05:29 +0000)]
Disable extract for log items for speed
Raimond Spekking [Sun, 12 Apr 2009 18:46:02 +0000 (18:46 +0000)]
Localisation updates for core messages from translatewiki.net (2009-04-12 18:27 UTC)
Roan Kattouw [Sun, 12 Apr 2009 18:15:09 +0000 (18:15 +0000)]
Fix up r49428: add missing brace
Roan Kattouw [Sun, 12 Apr 2009 17:38:41 +0000 (17:38 +0000)]
Fix warning in PHP 5.1 when feeding Title objects to wfArrayToCGI(). Also enforce consistent style
Aaron Schulz [Sun, 12 Apr 2009 15:45:27 +0000 (15:45 +0000)]
More log extract cleanup
Aaron Schulz [Sun, 12 Apr 2009 14:55:06 +0000 (14:55 +0000)]
Minor JS fix for r49408
Aaron Schulz [Sat, 11 Apr 2009 23:48:24 +0000 (23:48 +0000)]
Index name fix, tweaked field name
Aaron Schulz [Sat, 11 Apr 2009 23:46:12 +0000 (23:46 +0000)]
log_target_id -> log_page. Indexed to allow better log tracking wrt page moves.
Aaron Schulz [Sat, 11 Apr 2009 23:05:13 +0000 (23:05 +0000)]
Removed $wgTitle from PageHistory
Chad Horohoe [Sat, 11 Apr 2009 18:23:06 +0000 (18:23 +0000)]
No more $wgTitle in the diff engine.
Aaron Schulz [Sat, 11 Apr 2009 17:46:55 +0000 (17:46 +0000)]
use correct item for count display
Aaron Schulz [Sat, 11 Apr 2009 17:38:21 +0000 (17:38 +0000)]
(bug 16607) Added convenience checkboxes for revisiondelete to history pages
Aaron Schulz [Sat, 11 Apr 2009 17:27:02 +0000 (17:27 +0000)]
* Filter out duplicated url parameters
* Whitespace
Alexandre Emsenhuber [Sat, 11 Apr 2009 11:24:19 +0000 (11:24 +0000)]
PHP doesn't have a "none" constant, changed to "null"
Philip Tzou [Sat, 11 Apr 2009 10:56:09 +0000 (10:56 +0000)]
A new optional param for LanguageConverter::convert(), to enable a new function named 'convert()' which added to AbuseFilter.
Chad Horohoe [Fri, 10 Apr 2009 21:24:35 +0000 (21:24 +0000)]
(bug 18115) ForeignAPIRepo cache isn't working, fixed a broken is_writable() call. This also coincidentally fixes bug 17835.
Aaron Schulz [Fri, 10 Apr 2009 20:38:17 +0000 (20:38 +0000)]
minor style tweaks
Aaron Schulz [Fri, 10 Apr 2009 20:01:10 +0000 (20:01 +0000)]
(bug 18361) Suppression log should be in the UI language, not content language
Alexandre Emsenhuber [Fri, 10 Apr 2009 15:48:12 +0000 (15:48 +0000)]
We already have that in $this->data['userlang'], don't need to get it from $wgLang
Chad Horohoe [Fri, 10 Apr 2009 14:53:32 +0000 (14:53 +0000)]
(bugs 11381, 11613) Session.save_handler issues:
* Added a new config variable, $wgSessionHandler to control what value the save_handler is set to
* Setting to null allows you to disable setting it entirely, which was the primary complaint of the two bugs, but it also allows you to set it to whatever you'd like
Chad Horohoe [Fri, 10 Apr 2009 14:27:29 +0000 (14:27 +0000)]
(bug 7830) Pending transactions failed to commit on loginToUse() error
Alexandre Emsenhuber [Fri, 10 Apr 2009 11:55:25 +0000 (11:55 +0000)]
Removed double global declaration of $wgLang in SkinTemplate::outputPage()
Remember the dot [Thu, 9 Apr 2009 23:38:33 +0000 (23:38 +0000)]
Follow-up to r49350, corrected code to follow coding conventions for braces and variable names
Siebrand Mazeland [Thu, 9 Apr 2009 22:33:43 +0000 (22:33 +0000)]
Localisation updates for core messages from translatewiki.net (2009-04-09 22:30 UTC)
Remember the dot [Thu, 9 Apr 2009 19:06:08 +0000 (19:06 +0000)]
Follow-up to r49331, reduce redundancy in language attribute generation in MonoBook.php
Aaron Schulz [Thu, 9 Apr 2009 19:05:38 +0000 (19:05 +0000)]
Preserve default limit on submit
Robert Leverington [Thu, 9 Apr 2009 18:54:15 +0000 (18:54 +0000)]
* Strict Standards: Cannot assign by reference.
Fix for previous commit.
Robert Leverington [Thu, 9 Apr 2009 18:51:45 +0000 (18:51 +0000)]
* Strict Standards: Only variables may be passed by reference.
Reference title object to variable before passing as a parameter.
Alexandre Emsenhuber [Thu, 9 Apr 2009 10:28:55 +0000 (10:28 +0000)]
fix variable collision introduced in r49324
Alexandre Emsenhuber [Thu, 9 Apr 2009 08:53:15 +0000 (08:53 +0000)]
* removed useless $wgUser and $wgOut globalisation
* fix for r49324: work arround E_STRICT: only variables should be passed by reference (OutputPage::getTitle() doesn't return a reference but OutputPage::addWikiTextTitle() want one)
Remember the dot [Thu, 9 Apr 2009 05:27:25 +0000 (05:27 +0000)]
(bug 1553) Lowercase navigation headings in German
Remember the dot [Thu, 9 Apr 2009 05:15:43 +0000 (05:15 +0000)]
(bug 12998) Allow <sup>, <sub>, etc. in DISPLAYTITLE
Remember the dot [Thu, 9 Apr 2009 05:07:26 +0000 (05:07 +0000)]
Testing commit access by adding myself to the list of developers :D
Chad Horohoe [Thu, 9 Apr 2009 02:41:49 +0000 (02:41 +0000)]
Cleanup, these can use mTitle rather than getting it from $wgOut.
Chad Horohoe [Thu, 9 Apr 2009 02:22:36 +0000 (02:22 +0000)]
Stage 2 of war on $wgTitle!! Make OutputPage, Skin and children rely on mTitle rather than $wgTitle. In theory, you could have an OutputPage/Skin that was referring to some title other than $wgTitle, unlikely though. In any case, make getTitle() return $wgTitle for now, just in case.
Raimond Spekking [Wed, 8 Apr 2009 20:01:41 +0000 (20:01 +0000)]
Revert part of r49320: Accidently committed half done stuff
Raimond Spekking [Wed, 8 Apr 2009 18:34:10 +0000 (18:34 +0000)]
Localisation updates for core messages from translatewiki.net (2009-04-08 17:57 UTC)
Emil Podlaszewski [Wed, 8 Apr 2009 14:23:14 +0000 (14:23 +0000)]
Added new hook 'MessageCacheReplace' into MessageCache.php. For instance
to allow extensions to update caches in similar way as MediaWiki invalidates
a cached MonoBook sidebar
Rotem Liss [Wed, 8 Apr 2009 14:01:10 +0000 (14:01 +0000)]
Localization update for he.
Chad Horohoe [Tue, 7 Apr 2009 18:21:07 +0000 (18:21 +0000)]
Document OutputPage::out()
Chad Horohoe [Tue, 7 Apr 2009 18:12:48 +0000 (18:12 +0000)]
Use parent instead of SkinTemplate explicitly
Alexandre Emsenhuber [Tue, 7 Apr 2009 17:09:23 +0000 (17:09 +0000)]
Follow-up r49280: use $this->getTitle() since this page extends SpecialPage :)
Chad Horohoe [Tue, 7 Apr 2009 16:42:35 +0000 (16:42 +0000)]
Use getTitle() here, it's cleaner.
Alexandre Emsenhuber [Tue, 7 Apr 2009 16:37:29 +0000 (16:37 +0000)]
* Use Linker::link()
* Whitespaces tweak
Chad Horohoe [Tue, 7 Apr 2009 16:33:12 +0000 (16:33 +0000)]
First round of war on $wgTitle. Don't use it in Special Pages. We've got SpecialPage::getTitleFor() which returns the localized title 100% of the time. Use that.
Chad Horohoe [Tue, 7 Apr 2009 15:56:26 +0000 (15:56 +0000)]
Remove some unused $wgOut's.
Chad Horohoe [Tue, 7 Apr 2009 14:38:20 +0000 (14:38 +0000)]
Re-add id's to special page groups (that I originally did in r36907 for the TOC ). Still not sure how to make that TOC look good though :-\
Niklas Laxström [Tue, 7 Apr 2009 06:47:45 +0000 (06:47 +0000)]
* Skip the plural parsing for bytes also when not in miser mode and the message is not customised
Niklas Laxström [Tue, 7 Apr 2009 06:43:39 +0000 (06:43 +0000)]
* (bug 18377) Time in Enhanced ChangesList lacking localisation
Philip Tzou [Tue, 7 Apr 2009 03:30:43 +0000 (03:30 +0000)]
Update the Chinese conversion tables.
Shinjiman [Tue, 7 Apr 2009 03:16:30 +0000 (03:16 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Aaron Schulz [Tue, 7 Apr 2009 03:06:36 +0000 (03:06 +0000)]
(Bug 18330) Made pageCountInfo() public
Raimond Spekking [Mon, 6 Apr 2009 18:46:17 +0000 (18:46 +0000)]
Localisation updates for core messages from translatewiki.net (2009-04-06 18:09 UTC)
Chad Horohoe [Mon, 6 Apr 2009 14:41:33 +0000 (14:41 +0000)]
(bug 17948) Maintenance scripts now exit(0) or exit(1) as appropriate
Chad Horohoe [Mon, 6 Apr 2009 14:22:54 +0000 (14:22 +0000)]
rm stray $wgUser
Alexandre Emsenhuber [Mon, 6 Apr 2009 12:41:20 +0000 (12:41 +0000)]
* (bug 18009) $wgHooks and $wgExtensionFunctions now support closures
* Whitespaces fixes in includes/Hooks.php
Rotem Liss [Mon, 6 Apr 2009 09:56:03 +0000 (09:56 +0000)]
Localization update for he.
Aaron Schulz [Mon, 6 Apr 2009 02:11:42 +0000 (02:11 +0000)]
* Made generateReason() skip deleted user names
Aaron Schulz [Mon, 6 Apr 2009 01:59:42 +0000 (01:59 +0000)]
Don't show '(comment removed)' for empty comments
Aaron Schulz [Mon, 6 Apr 2009 01:43:38 +0000 (01:43 +0000)]
* (bug 17543) Allow partial hiding of top revision
* Fixed isCurrent() check
* Cleaned up/fixed some UI code duplication
Aaron Schulz [Sun, 5 Apr 2009 19:42:00 +0000 (19:42 +0000)]
* Removed unused par
* Style tweaks
Aaron Schulz [Sun, 5 Apr 2009 19:17:54 +0000 (19:17 +0000)]
(bug 18346) Automatically hide RC log items on block too
Tim Starling [Sun, 5 Apr 2009 15:01:25 +0000 (15:01 +0000)]
Move the circular reference check to *after* redirect resolution, to avoid infinite loops via redirects. Was causing sysadmin issues.
Alexandre Emsenhuber [Sun, 5 Apr 2009 14:02:37 +0000 (14:02 +0000)]
Don't display the "noautoblock" flag when blocking an IP address since this option is not displayed in the block form.
Thanks to Elfix on the French Wikipedia for the report.
Philip Tzou [Sun, 5 Apr 2009 13:10:40 +0000 (13:10 +0000)]
Update the Chinese conversion tables. Thanks Shinjiman's advice.
Aaron Schulz [Sun, 5 Apr 2009 02:37:40 +0000 (02:37 +0000)]
Clean up ipb_deleted query slightly
Aaron Schulz [Sun, 5 Apr 2009 02:21:19 +0000 (02:21 +0000)]
Made suppress link bold
Aaron Schulz [Sun, 5 Apr 2009 02:02:30 +0000 (02:02 +0000)]
Follow-up to r49191: Same thing but where the log is by an Oversighter.
Aaron Schulz [Sun, 5 Apr 2009 01:32:21 +0000 (01:32 +0000)]
setUsernameBitfields() should skip suppress log items
Aaron Schulz [Sun, 5 Apr 2009 01:10:52 +0000 (01:10 +0000)]
profiling fix
Alexandre Emsenhuber [Sat, 4 Apr 2009 20:05:06 +0000 (20:05 +0000)]
* (bug 18331) MediaWiki:Undelete-revision can now have wikitext
* Wrapped MediaWiki:Undelete-revision arround a <div class="mw-warning"> when previewing and removed the <hr /> after it
Based on a patch by Happy-melon: http://bug-attachment.wikimedia.org/attachment.cgi?id=5988
Alexandre Emsenhuber [Sat, 4 Apr 2009 19:14:49 +0000 (19:14 +0000)]
* update wikicities url, same as wikia now
* added wikiversity prefix
* order alphabetically
Aaron Schulz [Sat, 4 Apr 2009 17:51:13 +0000 (17:51 +0000)]
profiling fixes
Aaron Schulz [Sat, 4 Apr 2009 17:28:08 +0000 (17:28 +0000)]
Fix profiling
Aaron Schulz [Sat, 4 Apr 2009 17:00:01 +0000 (17:00 +0000)]
Hide show/hide links for NO_ACTION_LINK
Alex Z [Sat, 4 Apr 2009 03:07:34 +0000 (03:07 +0000)]
* (bug 18316) Removed superfluous name="fulltext" from Special:Search
Alexandre Emsenhuber [Fri, 3 Apr 2009 22:05:47 +0000 (22:05 +0000)]
Typo; thanks to Splarka
Alexandre Emsenhuber [Fri, 3 Apr 2009 20:07:01 +0000 (20:07 +0000)]
Per Sunwell5's report on IRC and my talk page: fixed a PHP notice when $wgEnableSerializedMessages was set to false
Siebrand Mazeland [Fri, 3 Apr 2009 19:48:06 +0000 (19:48 +0000)]
Localisation updates for core messages from translatewiki.net (2009-04-03 19:42 UTC)
Alexandre Emsenhuber [Fri, 3 Apr 2009 19:23:16 +0000 (19:23 +0000)]
Moved "successbox", "errorbox" and related CSS classes from monobook/main.css to common/shared.css so that they are available in all skins
Philip Tzou [Fri, 3 Apr 2009 17:51:10 +0000 (17:51 +0000)]
Follow up on r49157, remove an unused variable.
Philip Tzou [Fri, 3 Apr 2009 17:35:53 +0000 (17:35 +0000)]
1. Rewrite code for parsing http request header to get supported language variant. Now the current code is written for every language if they do need this.
2. Fixed a bug caused by LanguageConverter.php, which brings an abnormal '}-' after some parsed math syntax.
3. Update the Chinese conversion table.
Chad Horohoe [Fri, 3 Apr 2009 15:36:10 +0000 (15:36 +0000)]
Remove stray $wgTitle
Aryeh Gregor [Fri, 3 Apr 2009 14:46:32 +0000 (14:46 +0000)]
Remove superfluous border="0" from images
This should be (and appears to be) handled just fine by CSS. If it
breaks in any skins, those should have an appropriate CSS rule added.