Sam Reed [Fri, 16 Dec 2011 15:28:35 +0000 (15:28 +0000)]
Prep work for * (bug 33147) API examples should explain what they do
Now formatted in the autogenerated documentation
Format for paraminfo adds a description attribute to output
query allimages descriptions are tranformed, need to do/add to other ones
Niklas Laxström [Fri, 16 Dec 2011 10:58:20 +0000 (10:58 +0000)]
Stylize
Niklas Laxström [Fri, 16 Dec 2011 09:29:18 +0000 (09:29 +0000)]
Stylize
Niklas Laxström [Fri, 16 Dec 2011 09:22:07 +0000 (09:22 +0000)]
r98539 - make a note of change in comments
Niklas Laxström [Fri, 16 Dec 2011 08:56:57 +0000 (08:56 +0000)]
Foooollowup r106373 - update comment
Jeroen De Dauw [Fri, 16 Dec 2011 00:24:00 +0000 (00:24 +0000)]
follow up to r106393 - re-add these notices, since now they wont show for people that change the depr limit to see them
Jeroen De Dauw [Thu, 15 Dec 2011 23:40:02 +0000 (23:40 +0000)]
default deprecation notice limit to 1.17, so 1.18 and 1.19 notices are not shown unless this setting is modified. fullow up to r106070 r105985. see here for motivation: lists.wikimedia.org/pipermail/wikitech-l/2011-December/056959.html
Platonides [Thu, 15 Dec 2011 22:42:16 +0000 (22:42 +0000)]
Added type hints
Platonides [Thu, 15 Dec 2011 21:53:02 +0000 (21:53 +0000)]
Follow-up r106189. The $wgUser are no longer needed.
Platonides [Thu, 15 Dec 2011 21:21:30 +0000 (21:21 +0000)]
Simplify a bit the code of r106025
Platonides [Thu, 15 Dec 2011 21:12:27 +0000 (21:12 +0000)]
Use the canonical name of the setting
Platonides [Thu, 15 Dec 2011 20:43:58 +0000 (20:43 +0000)]
Remove unneeded global
https://gerrit.wikimedia.org/r/#change,1571
Raimond Spekking [Thu, 15 Dec 2011 20:19:43 +0000 (20:19 +0000)]
Localisation updates for core and extension messages from translatewiki.net
Sam Reed [Thu, 15 Dec 2011 18:57:53 +0000 (18:57 +0000)]
* (bug 33101) Viewing a User or User talk of username resembling IP ending with .xxx causes Internal error
Patch by Brad Jorsch
Also simplify double return null in method
Patrick Reilly [Thu, 15 Dec 2011 18:29:47 +0000 (18:29 +0000)]
add noprint to mobileview
Sam Reed [Thu, 15 Dec 2011 17:21:56 +0000 (17:21 +0000)]
Use a revision return method for revisions, follows up r105828
Chad Horohoe [Thu, 15 Dec 2011 16:52:51 +0000 (16:52 +0000)]
Get rid of a few more $wgTitles
Jeroen De Dauw [Thu, 15 Dec 2011 16:23:33 +0000 (16:23 +0000)]
follow up to r106272, alphabetical order so Nikerabbit doesnt go mad :)
Sam Reed [Thu, 15 Dec 2011 14:56:09 +0000 (14:56 +0000)]
Add a TODO with regards to existing mysql4 schemas..
Brian Wolff [Thu, 15 Dec 2011 07:17:29 +0000 (07:17 +0000)]
Throw an exception if Parser::disableCache is called before mOutput initialized (Aka when not parsing something).
So far I've encountered 2 extensions that give fatal errors from calling $wgParser->disableOutput() from hooks that are called at points where parsing is not taking place! Exception with a backtrace is much nicer than "Fatal error: Call to a member function disableCache() on a non-object..."
John Du Hart [Thu, 15 Dec 2011 02:26:14 +0000 (02:26 +0000)]
Followup r105122 & r105123, fixes and improvements per CR
Using Language::getSize per Nikerabbit
Cleanup HTML generation per brion (yay)
Neil Kandalgaonkar [Thu, 15 Dec 2011 02:06:51 +0000 (02:06 +0000)]
update messages for feedback
Neil Kandalgaonkar [Thu, 15 Dec 2011 02:06:47 +0000 (02:06 +0000)]
put bugzilla link and description into one string (description of form closer to the form itself). Fix misplaced comma.
Brion Vibber [Thu, 15 Dec 2011 01:02:25 +0000 (01:02 +0000)]
* (bug 32512) Include 'associated namespace' checkbox on Special:Contributions
patch by MrBlueSky - https://bugzilla.wikimedia.org/attachment.cgi?id=9705&action=diff
This also restructures some pieces of the form in order to better accomodate the extra checkbox (as well as those like 'deleted only' that not everybody sees)
Brion Vibber [Thu, 15 Dec 2011 00:38:09 +0000 (00:38 +0000)]
Remove stray trailing commas on last items in array literals -- this breaks IE 6/7/8
Followup r105560
Jeroen De Dauw [Wed, 14 Dec 2011 22:48:48 +0000 (22:48 +0000)]
move logging pages to logging dir
Raimond Spekking [Wed, 14 Dec 2011 20:09:13 +0000 (20:09 +0000)]
Localisation updates for core and extension messages from translatewiki.net
Jeroen De Dauw [Wed, 14 Dec 2011 18:49:39 +0000 (18:49 +0000)]
follow up to r106215 r106218 106219 unless my search failed again, this ought to be the last one
Jeroen De Dauw [Wed, 14 Dec 2011 18:33:51 +0000 (18:33 +0000)]
follow up to r106215 r106218 forgot one >_>
Jeroen De Dauw [Wed, 14 Dec 2011 18:32:36 +0000 (18:32 +0000)]
follow up to r106215, pass user
Siebrand Mazeland [Wed, 14 Dec 2011 17:54:13 +0000 (17:54 +0000)]
WikiPage::viewUpdates() -> WikiPage::doViewUpdates()
Siebrand Mazeland [Wed, 14 Dec 2011 13:01:27 +0000 (13:01 +0000)]
Remove users of deprecated User::getSkin().
Antoine Musso [Wed, 14 Dec 2011 13:00:30 +0000 (13:00 +0000)]
Comment out wfDeprecated() call in User::getSkin(), there's over 300 uses in /trunk
reverts r106174
Antoine Musso [Wed, 14 Dec 2011 12:59:05 +0000 (12:59 +0000)]
revert r106183 : type / not setting followup
Sam Reed [Wed, 14 Dec 2011 12:54:35 +0000 (12:54 +0000)]
Comment out wfDeprecated() call in User::getSkin(), there's over 300 uses in /trunk
Follows up some (cba to find) rev
Sam Reed [Wed, 14 Dec 2011 12:52:20 +0000 (12:52 +0000)]
Fix one usage of User::getSkin() in phase3
Raimond Spekking [Wed, 14 Dec 2011 11:50:50 +0000 (11:50 +0000)]
Self revert r106076 which was a revert of r106070.
Raimond Spekking [Wed, 14 Dec 2011 11:49:09 +0000 (11:49 +0000)]
Self revert r106080 which was a revert of r106070.
Neil Kandalgaonkar [Wed, 14 Dec 2011 01:26:28 +0000 (01:26 +0000)]
add bug reports to feedback
Brion Vibber [Wed, 14 Dec 2011 00:50:06 +0000 (00:50 +0000)]
Fix for r106144 -- wrong syntax
Brion Vibber [Wed, 14 Dec 2011 00:38:21 +0000 (00:38 +0000)]
Add BeforePageRedirect hook to OutputPage, allowing extensions to override redirect output.
This is needed by MobileFrontend to normalize some redirects to the mobile site, such as on login.
Brion Vibber [Wed, 14 Dec 2011 00:32:56 +0000 (00:32 +0000)]
* (bug 32461) Add two-digit short form year for Persian calendar ({{#time:xiy}})
Patch by Platonides https://bugzilla.wikimedia.org/attachment.cgi?id=9490&action=diff
Plus test case. Note the test case uses Latin-style digits because it's testing English; in fa you'd get the persian digits as in the examples on the bug.
Brion Vibber [Tue, 13 Dec 2011 23:54:27 +0000 (23:54 +0000)]
Update mediawiki & viewvc links on Special:Version to https
Jeroen De Dauw [Tue, 13 Dec 2011 22:24:38 +0000 (22:24 +0000)]
fix depracted method usage
Jeroen De Dauw [Tue, 13 Dec 2011 21:37:19 +0000 (21:37 +0000)]
comment out another to soon placed warning
Jeroen De Dauw [Tue, 13 Dec 2011 21:34:16 +0000 (21:34 +0000)]
revert r106095, fix apparently not this simple
Antoine Musso [Tue, 13 Dec 2011 21:31:38 +0000 (21:31 +0000)]
make xdebug messages above everything
This way we can actually read the message. Please note this actually hide
the content behind but I feel it is better to see the backtrace.
TODO: maybe add a debug.css stylesheets wich is only loaded for developers?
Jeroen De Dauw [Tue, 13 Dec 2011 21:19:10 +0000 (21:19 +0000)]
new method was added in the same rel, so wait before showing the notice. follow up to r106070
Jeroen De Dauw [Tue, 13 Dec 2011 21:17:32 +0000 (21:17 +0000)]
logName -> getName
Jeroen De Dauw [Tue, 13 Dec 2011 21:16:57 +0000 (21:16 +0000)]
fix depracted method usage
Raimond Spekking [Tue, 13 Dec 2011 20:50:04 +0000 (20:50 +0000)]
Localisation updates for core and extension messages from translatewiki.net
Jeroen De Dauw [Tue, 13 Dec 2011 20:45:35 +0000 (20:45 +0000)]
make docs more clear, method can only be used as is since 1.18, not 1.16
Raimond Spekking [Tue, 13 Dec 2011 20:35:02 +0000 (20:35 +0000)]
Add section header for r105954/r105963
Raimond Spekking [Tue, 13 Dec 2011 20:23:19 +0000 (20:23 +0000)]
Partly revert r106070 for now: Flooding of translatewiki.net log/channel:
PHP Notice: Use of SpecialPage::getPage was deprecated in MediaWiki 1.18. [Called from SFFormLinker::getFormEditLinkForPage in /www/w/extensions/SemanticForms/includes/SF_FormLinker.php at line 207] in /www/w/includes/GlobalFunctions.php on line 3520
Brion Vibber [Tue, 13 Dec 2011 20:20:03 +0000 (20:20 +0000)]
Followup r106070, r86347: copy some doc comments that apply to multiple functions so doxygen will pick them up
Raimond Spekking [Tue, 13 Dec 2011 20:10:30 +0000 (20:10 +0000)]
Partly revert r106070 for now: Flooding of translatewiki.net log/channel:
PHP Notice: Use of User::getSkin was deprecated in MediaWiki 1.18. [Called from TalkpageView::show in /www/w/extensions/LiquidThreads/pages/TalkpageView.php at line 251] in /www/w/includes/GlobalFunctions.php on line 3520
PHP Notice: Use of User::getSkin was deprecated in MediaWiki 1.18. [Called from MessageTable::contents in /www/w/extensions/Translate/utils/MessageTable.php at line 98] in /www/w/includes/GlobalFunctions.php on line 3520
PHP Notice: Use of User::getSkin was deprecated in MediaWiki 1.18. [Called from TranslationHelpers::ajaxEditLink in /www/w/extensions/Translate/utils/TranslationHelpers.php at line 1186] in /www/w/includes/GlobalFunctions.php on line 3520
PHP Notice: Use of User::getSkin was deprecated in MediaWiki 1.18. [Called from ThreadPermalinkView::getSubtitle in /www/w/extensions/LiquidThreads/pages/ThreadPermalinkView.php at line 153] in /www/w/includes/GlobalFunctions.php on line 3520
and maybe more
Jeroen De Dauw [Tue, 13 Dec 2011 20:01:24 +0000 (20:01 +0000)]
fix deprecated method usage
Brion Vibber [Tue, 13 Dec 2011 19:58:44 +0000 (19:58 +0000)]
bug 33035: Followup r105925: set to null rather than unset so we don't get an undefined property error later
Apparently the unset() in Language::setCode() could cause the later is_null check in getHtmlCode() to fail, though I could not reproduce it myself.
Jeroen De Dauw [Tue, 13 Dec 2011 19:51:54 +0000 (19:51 +0000)]
fix deprecated method usage
Jeroen De Dauw [Tue, 13 Dec 2011 19:51:03 +0000 (19:51 +0000)]
added missing deprecation notices
Sam Reed [Tue, 13 Dec 2011 16:58:52 +0000 (16:58 +0000)]
Followup r106046, pull ar_sha1 in getRevision
Sam Reed [Tue, 13 Dec 2011 16:57:02 +0000 (16:57 +0000)]
Fix:
PHP Notice: Undefined property: stdClass::$ar_sha1 in Revision.php on line 127
Sam Reed [Tue, 13 Dec 2011 16:51:24 +0000 (16:51 +0000)]
Add a newline, the below isn't too readable
Fixing protocol-relative entries in the externallinks table...
10020030040050060070080090010001100120013001400150016001700180019002000Done, 2007 rows updated.
Robin Pepermans [Tue, 13 Dec 2011 16:48:57 +0000 (16:48 +0000)]
Add correct margin for dd when user language direction is different from intended direction, similar to ul/ol styles
Jeroen De Dauw [Tue, 13 Dec 2011 16:42:56 +0000 (16:42 +0000)]
Follow up to r106037; fix location of check
Jeroen De Dauw [Tue, 13 Dec 2011 15:49:52 +0000 (15:49 +0000)]
Follow up to r105979;
Sam Reed [Tue, 13 Dec 2011 15:47:04 +0000 (15:47 +0000)]
Seriously, don't use "wgOut" as a function parameter name
Sam Reed [Tue, 13 Dec 2011 15:40:15 +0000 (15:40 +0000)]
Public for all
Mark A. Hershberger [Tue, 13 Dec 2011 15:06:30 +0000 (15:06 +0000)]
Bug 16794 - $wgSharedDB PostgreSQL support
Updated fix from Luca Fulchir
Robin Pepermans [Tue, 13 Dec 2011 11:54:02 +0000 (11:54 +0000)]
Removed Title::isValidCssJsSubpage(), deprecated since 1.17 (77309), and updated all remaining usage in extensions
Robin Pepermans [Tue, 13 Dec 2011 11:05:30 +0000 (11:05 +0000)]
update all core usage of deprecated Title::userCanRead()
Raimond Spekking [Tue, 13 Dec 2011 10:47:31 +0000 (10:47 +0000)]
Fix PHP Notice: Use of Title::userCanRead was deprecated in MediaWiki 1.19. [Called from SpecialSearch::showHit in /www/w/includes/specials/SpecialSearch.php at line 549] in /www/w/includes/GlobalFunctions.php on line 3520
in consequence of r105985
Raimond Spekking [Tue, 13 Dec 2011 10:40:32 +0000 (10:40 +0000)]
Partly revert r105985 for now: Flooding of translatewiki.net log/channel:
PHP Notice: Use of wfUILang was deprecated in MediaWiki 1.18. [Called from TalkpageView::show in /www/w/extensions/LiquidThreads/pages/TalkpageView.php at line 289] in /www/w/includes/GlobalFunctions.php on line 3520
Raimond Spekking [Tue, 13 Dec 2011 10:36:16 +0000 (10:36 +0000)]
Partly revert r105985 for now: Flooding of translatewiki.net log/channel:
PHP Notice: Use of Linker::makeLinkObj was deprecated in MediaWiki 1.16. [Called from call_user_func_array in (internal function)] in /www/w/includes/GlobalFunctions.php on line 3520
PHP Notice: Use of Linker::makeKnownLinkObj was deprecated in MediaWiki 1.16. [Called from call_user_func_array in (internal function)] in /www/w/includes/GlobalFunctions.php on line 3520
Neil Kandalgaonkar [Tue, 13 Dec 2011 10:26:49 +0000 (10:26 +0000)]
change args for feedback and api -- all optional, in array.
Antoine Musso [Tue, 13 Dec 2011 09:52:39 +0000 (09:52 +0000)]
bring back Linker::tooltip()
Was marked deprecated with r42702 although that helper makes code a bit
nicer:
Linker::tooltip( 'message' );
Xml::expandAttributes( array(
'title' => Linker::titleAttrib( 'message' )
) );
(the later would give you 'title=""' when 'tooltip-message' message does
not exist.
Antoine Musso [Tue, 13 Dec 2011 09:24:51 +0000 (09:24 +0000)]
back to display:block; for galleries
Display inline-block show weird behaviour when the gallery has text before
and after. Fomafix on cr of r93581 gave us some examples.
Reverts r93581
Jeroen De Dauw [Tue, 13 Dec 2011 05:25:06 +0000 (05:25 +0000)]
since tag++
Jeroen De Dauw [Tue, 13 Dec 2011 05:19:05 +0000 (05:19 +0000)]
add missing deprecation notices and added deprecation version to existing ones
Jeroen De Dauw [Tue, 13 Dec 2011 05:00:27 +0000 (05:00 +0000)]
Follow up to r105983;
Jeroen De Dauw [Tue, 13 Dec 2011 04:58:48 +0000 (04:58 +0000)]
rem use of escapeLocalURL
Jeroen De Dauw [Tue, 13 Dec 2011 04:42:03 +0000 (04:42 +0000)]
add support for passing a component arg to this function, so it can be used by extensions as well (ie function foo depracted in extension bar 4.2)
Jeroen De Dauw [Tue, 13 Dec 2011 04:04:52 +0000 (04:04 +0000)]
fix deprecated method usage
Neil Kandalgaonkar [Tue, 13 Dec 2011 03:03:05 +0000 (03:03 +0000)]
moved language library to core mediawiki.jqueryMsg
Neil Kandalgaonkar [Tue, 13 Dec 2011 02:44:39 +0000 (02:44 +0000)]
moved message library that can parse limited wikitext, uses jquery, from UploadWizard to core
Neil Kandalgaonkar [Tue, 13 Dec 2011 02:44:34 +0000 (02:44 +0000)]
add jquery messages to core, config mediawiki.feedback to use it correctly
Sam Reed [Tue, 13 Dec 2011 01:10:44 +0000 (01:10 +0000)]
Add new message keys to go with r105954
Neil Kandalgaonkar [Mon, 12 Dec 2011 23:15:42 +0000 (23:15 +0000)]
feedback - move messages, etc from uploadwizard to core
Robin Pepermans [Mon, 12 Dec 2011 22:08:17 +0000 (22:08 +0000)]
fix r105935, wgContLang still used in the function
Robin Pepermans [Mon, 12 Dec 2011 22:05:40 +0000 (22:05 +0000)]
not sure if this span is really needed, but in any case it depends on user language, not content language
Robin Pepermans [Mon, 12 Dec 2011 21:56:26 +0000 (21:56 +0000)]
Simplify code (minor)
Robin Pepermans [Mon, 12 Dec 2011 21:08:28 +0000 (21:08 +0000)]
No need to use class="ltr", dir="ltr" is better
Daniel Friesen [Mon, 12 Dec 2011 20:09:06 +0000 (20:09 +0000)]
Followup r105812:
- Fix case of the wfBCP47 call
- Don't call wfBCP47 for every time getHtmlCode is called
- Add @since
Daniel Friesen [Mon, 12 Dec 2011 20:03:50 +0000 (20:03 +0000)]
Followup r105919:
- Fix a loose $variant I missed when cleaning up other methods.
- Add documentation to getLocalURL.
- Swap the disorganized docs on the dependent methods with a see comment.
- Add RELEASE-NOTES.
Daniel Friesen [Mon, 12 Dec 2011 19:37:56 +0000 (19:37 +0000)]
Followup r105921, RELEASE-NOTES.
Daniel Friesen [Mon, 12 Dec 2011 19:32:59 +0000 (19:32 +0000)]
Introduce a Language::getMessagesFileName hook that will allow extensions to define new language messages files outside of core.
Daniel Friesen [Mon, 12 Dec 2011 19:23:38 +0000 (19:23 +0000)]
Deprecate the escape methods in Title.
Daniel Friesen [Mon, 12 Dec 2011 19:19:23 +0000 (19:19 +0000)]
Replace get{Local,Full,Link,Canonical}URL's $variant argument with a secondary $query argument and treat variant paths like we do action paths.
Neil Kandalgaonkar [Mon, 12 Dec 2011 19:18:32 +0000 (19:18 +0000)]
fix bug #32979 gM() -> mw.msg()
Platonides [Mon, 12 Dec 2011 18:30:25 +0000 (18:30 +0000)]
Replace tabs with spaces to keep alignment.
The terminal tab size may not be 4 spaces, as this assumed.