Hi.
Someone claiming to be ARIN's President and CEO John Curran posted the
following to Meta-Wiki recently:
---
As many folks are aware, the Internet has been a remarkably successful
phenomena. One consequence of this success is that the present underlying
Internet Protocol (IP version 4, or IPv4) is reaching the deployment limits
on the number of devices that can be uniquely addressed. The upper limit is
approx 4.3 Billion devices. To allow the Internet to continue to expand, it
is now necessary to begin using larger IP addresses for servers, these new
addresses are known as IP version 6, or IPv6. It is particularly important
for major Internet content providers to make this transition, since new
users are now being connected with IPv6 and must go through transition
gateways to reach sites which are not using both IPv4 and IPv6.
On 6 June 2012, nearly one thousand web sites are permanently turning on
IPv6 as part of the Internet Society's "World IPv6 Launch"
event. http://www.worldipv6launch.org/ This includes Google, Facebook, and
other major providers. Wikipedia has been working on IPv6 support for some
time, and it would be good if a commitment to having IPv6 by this date could
be made.
/John
John Curran, President and CEO, ARIN 12.174.51.2 00:37, 22 March 2012 (UTC)
---
Source:
https://meta.wikimedia.org/w/index.php?title=Meta:Babel&oldid=3588620#Transi
tion_of_the_Internet_from_IPv4_to_IPv6_.26_Wikipedia_support_for_IPv6
Any thoughts on this from ops?
MZMcBride
Folks, I have never had such an error...
The page is:
http://hu.wikipedia.org/w/index.php?title=Lyserg_Diethel_%28s%C3%A1m%C3%A1n…
(It occured during saving.)
The message (belső hiba means internal error):
Belső hiba
A Wikipédiából, a szabad enciklopédiából
Ugrás: navigáció<http://hu.wikipedia.org/w/index.php?title=Lyserg_Diethel_%28s%C3%A1m%C3%A1n…>,
keresés<http://hu.wikipedia.org/w/index.php?title=Lyserg_Diethel_%28s%C3%A1m%C3%A1n…>
Detected bug in an extension! Hook ClickTrackingHooks::articleSave failed
to return a value; should return true to continue hook processing or false
to abort.
Backtrace:
#0
/usr/local/apache/common-local/php-1.19/includes/GlobalFunctions.php(3823):
Hooks::run('ArticleSave', Array)
#1 /usr/local/apache/common-local/php-1.19/includes/WikiPage.php(1263):
wfRunHooks('ArticleSave', Array)
#2 [internal function]: WikiPage->doEdit('{{korrekt??ra}}...', 'N??mi
r??g??s a...', 98)
#3 /usr/local/apache/common-local/php-1.19/includes/Article.php(1786):
call_user_func_array(Array, Array)
#4 [internal function]: Article->__call('doEdit', Array)
#5 /usr/local/apache/common-local/php-1.19/includes/EditPage.php(1434):
Article->doEdit('{{korrekt??ra}}...', 'N??mi r??g??s a...', 98)
#6 /usr/local/apache/common-local/php-1.19/includes/EditPage.php(959):
EditPage->internalAttemptSave(Array, false)
#7 /usr/local/apache/common-local/php-1.19/includes/EditPage.php(357):
EditPage->attemptSave()
#8
/usr/local/apache/common-local/php-1.19/includes/actions/EditAction.php(51):
EditPage->edit()
#9
/usr/local/apache/common-local/php-1.19/includes/actions/EditAction.php(71):
EditAction->show()
#10 /usr/local/apache/common-local/php-1.19/includes/Wiki.php(484):
SubmitAction->show()
#11 /usr/local/apache/common-local/php-1.19/includes/Wiki.php(278):
MediaWiki->performAction(Object(Article))
#12 /usr/local/apache/common-local/php-1.19/includes/Wiki.php(593):
MediaWiki->performRequest()
#13 /usr/local/apache/common-local/php-1.19/includes/Wiki.php(503):
MediaWiki->main()
#14 /usr/local/apache/common-local/php-1.19/index.php(58): MediaWiki->run()
#15 /usr/local/apache/common-local/live-1.5/index.php(3):
require('/usr/local/apac...')
#16 {main}
Just in case somebody likes to collect nice errors to hang them framed
above the bed. (A reload solved my problem, the pages was saved for 2nd
attempt. Diff:
http://hu.wikipedia.org/w/index.php?title=Lyserg_Diethel_%28s%C3%A1m%C3%A1n…
)
--
Bináris
Hello,
With the switch to git and Gerrit, we should start formatting our commit
message. Over the last days, you might have noticed I have amended a few
changes in mediawiki/core.git.
Both git and gerrit use the first line of a message as a summary of the
commit which is probably more human friendly than a sha1.
In Gerrit it is used when referring to a parent commit and as a subject
for email notifications.
In git it is very helpful when using `log --oneline` or cherry-picking a
commit, or rebasing interactively.
Inspired by various online resources, I have started writing guidelines
and even provided some screen captures:
https://www.mediawiki.org/wiki/Git/Commit_message_guidelines
Edits welcome :-D
See also:
http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.htmlhttp://en.wikibooks.org/wiki/Git/Introduction#Good_commit_messages
--
Antoine "hashar" Musso
MW gurus,
I am working on an API module to an extension and would like to create thumbnails programmatically for some images (if they don't already have them.)
The includes/filerepo/File.php file contains a createThumb() method, which looks like it's what I want. From the comment block directly above the aforementioned method:
/**
* Create a thumbnail of the image having the specified width/height.
* The thumbnail will not be created if the width is larger than the
* image's width. Let the browser do the scaling in this case.
* The thumbnail is stored on disk and is only computed if the thumbnail
* file does not exist OR if it is older than the image.
* Returns the URL.
*
* ....
*/
However, this method always returns the url of the file itself and not the thumb. From what I can tell it never generates the thumbnail (it's not in the filesystem repo in any directory.) My code is:
<?php
# ...query to get a list of recently uploaded images (quite simple) ....
$result = $dbr->select();
# loop through them and get a thumbnail & url
foreach ( $result as $row ) {
$title = Title::newFromText( $row->page_title, NS_FILE );
$file = wfFindFile( $title );
if ( !$file ) {
continue;
}
$thumbnail_url = $file->createThumb( 80 ); # width in pixels
...add to the API result...
}
...return...
?>
I'm sure that my query return valid page titles/namespaces, and that the files exist (both in the wiki and in the filesystem.) They are all local, and some are quite large. I'd hate to have to send the entire image and make the browser do the scaling, as the thumbnail will get reused and the resizing is only done once.
Any ideas fellow MW gurus? What am I missing?
-Daniel Renfro
Hey all,
I've created a thread at MediaWiki.org describing a proposed workflow for
how continous integration works and how it affects the Gerrit workflow
after we finished the migration to Git. Most if not all of the points were
are already discussed, but I wanted to make sure this is indeed what we
want and also to have it properly documented.
Some of it is already being brought into production as we speak.
Feel free to discuss it either on the talk page[1] or here on wikitech-l
and the workflow is also posted to this wiki page:
https://www.mediawiki.org/wiki/Continuous_integration/Workflow
so feel free to edit it as you would any other wiki page.
-- Krinkle
[1] https://www.mediawiki.org/wiki/Talk:Continuous_integration#Proposal_for_con…
Hi y'all,
With the pending git migration upon us,is this also the right time to
think about naming conventions for git branches or is there nu such a
need?
I can imagine that a branch aimed at fixing a bug could be named
B12345, or something like that. Or are 'descriptive' names good
enough? One reason to have naming conventions is that it would make it
easier in the future to run scripts to collect stats on particular
branches. That would be much harder in a complete freetext
environment.
Best,
Diederik
Nowadays one gets:
PHP Warning: date(): It is not safe to rely on the system's timezone
settings. You are *required* to use the date.timezone setting or the
date_default_timezone_set() function. In case you used any of those
methods and you are still getting this warning, you most likely
misspelled the timezone identifier. We selected the timezone 'UTC' for
now, but please set date.timezone to select your timezone. in
LocalSettings.php on line 82
MediaWiki 1.20alpha Updater
Given
3 matches for "timez" in buffer: LocalSettings.php
28: case 'ABJ':$wgLocaltimezone='America/Chicago';
47: case ... :$wgLocaltimezone='Asia/Taipei';
82:putenv("TZ=$wgLocaltimezone");$wgLocalTZoffset=date('Z')/60;
I found making that line 82 now
date_default_timezone_set($wgLocaltimezone);putenv("TZ=$wgLocaltimezone");$wgLocalTZoffset=date('Z')/60;
fixes the problem.
Gentlemen, I am very thankful for
http://www.mediawiki.org/wiki/Download_from_Git
however it assumes one wants to 'get involved' with MediaWiki, whereas
all I want to do is 'rsync snapshots' of the same files 'that the
tarballs contain'. I.e., I just want to oh, every few days update
(overwrite in place) my running copy of MediaWiki. No need for the
history etc. that a 'clone' pulls in, or further 'pull's refresh.
(The disk size I use should not grow a single bit between updates unless
you upstream added some lines to a file.)
So it would be nice if someone mentioned the commands necessary so I can
add them to that article. Let's pretend we are starting fresh (and not
from SVN like in
http://lists.wikimedia.org/pipermail/wikitech-l/2012-February/058190.html .)
Hello,
My name is Emanuela Boros and I am a second year Software Engineering
master's student at the "Al. Ioan Cuza" University of Iasi, Romania and,
after I graduate, I plan to follow a phd program.
My research experience is focused mainly towards computer vision, image
processing, machine learning, multimodal information retrieval. It also
involves participating at international evaluation campaigns (ImageClef,
RobotVision) focusing on content-based image retrieval, image
classification and topological localization using visual information
I am interested in this project
https://www.mediawiki.org/wiki/Summer_of_Code_2012#Image_recognition . I've
noticed that there isn't a mentor mentioned for this project and I would
like to know who should I contact for further clarifications regarding this
project before I start writing my proposal.
Thank you and best regards,
Emanuela Boros