Skip to content
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

Make 1.0.2 release #6

Closed
wants to merge 1 commit into from
Closed

Make 1.0.2 release #6

wants to merge 1 commit into from

Conversation

kghbln
Copy link
Contributor

@kghbln kghbln commented Apr 22, 2016

  • Internal rearrangement of code (moved class into separate file)
  • Improved code formatting
  • Improved file documentation

This is in preparation to switch to extension registration and refers to issue #3.

* Internal rearragement of code
* Improved code formatting
* Improved file documentation
@kghbln kghbln changed the title Make the 1.0.2 release Make 1.0.2 release Apr 22, 2016
@Hutchy68
Copy link
Owner

If this changes backwards compatibility I'd rather up the version to a major 2.xx. Haven't tested it yet but I will try to do so tonight or sometime tomorrow.

@kghbln
Copy link
Contributor Author

kghbln commented Apr 26, 2016

No, it does not so the version should be fine. This just a new file distribution for the "old system".

I found out that we can do a version which would be able to serve both "old" and "new system". That should be a 2.x.x

The one breaking with the "old" system should be 3.x.x. The latter fits best with with MW 1.31+ I guess so there is still some time.

@Hutchy68
Copy link
Owner

Hutchy68 commented Jun 6, 2017

Missed this completely. Could you test the new method Sam pr'd. I just merged it in.

Copy link
Contributor

@samwilson samwilson left a comment

Choose a reason for hiding this comment

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

I would suggest that the PurgeActionExtension class should follow common MediaWiki layout and be called MediaWiki\Extension\Purge\Hooks and moved to the includes/directory of the extension.

*
*/

class PurgeActionExtension{
Copy link
Contributor

Choose a reason for hiding this comment

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

  • Class name should match the filename.
  • Space required before the brace.

$skin->getRelevantTitle() : $skin->getTitle();
if ( $title->getNamespace() !== NS_SPECIAL && $wgUser->isAllowed( 'purge' ) ) {
$action = $wgRequest->getText( 'action' );
$content_actions['actions']['purge'] = array(
Copy link
Contributor

Choose a reason for hiding this comment

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

Short array syntax should be used.

@kghbln
Copy link
Contributor Author

kghbln commented Feb 8, 2018

1.0.2 is already out, thus abandoning.

@kghbln kghbln closed this Feb 8, 2018
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.

3 participants