Skip to content

Random improvements #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 17, 2014
Merged

Random improvements #1

merged 1 commit into from
Jun 17, 2014

Conversation

legoktm
Copy link
Contributor

@legoktm legoktm commented Jun 17, 2014

Mainly fixing documentation, adhering to MediaWiki code conventions, etc.

Left a few @fixme's where I saw things that didn't look right but wasn't sure on how to fix them.

Mainly fixing documentation, adhering to MediaWiki code conventions, etc.

Left a few @fixme's where I saw things that didn't look right but
wasn't sure on how to fix them.
@@ -141,7 +132,7 @@ public static function onImageBeforeProduceHTML(

if ( self::$oldIDSet == true ) {
$history = $file->getHistory(
$limit = 1, $start = $articleDatetime);
/* $limit = */ 1, /* $start = */ $articleDatetime); // @fixme undefined variable
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm glad you found this. It should be self::$articleDatetime as set earlier by the onArticleViewHeader hook. I'm embarrassed this made it into the released version. Good thing I marked the TimeNegotiationForThumbnails option as EXPERIMENTAL.

shawnmjones pushed a commit that referenced this pull request Jun 17, 2014
Random improvements, follow on commit coming afterwards to make some additional improvements based on this input
@shawnmjones shawnmjones merged commit 124c153 into mementoweb:master Jun 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants