Page MenuHomePhabricator

Create Ping server extension for MediaWiki
Closed, DeclinedPublic

Description

To avoid writing too much custom code for the ping server needed in T56425, I suggest creating an extension that would export an API which could be used to register new wikis. API needs TBD.


Version: unspecified
Severity: enhancement

Details

Reference
bz54426

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:08 AM
bzimport set Reference to bz54426.
bzimport added a subscriber: Unknown Object (MLST).

API needs to get the following information:

  • Logo URL
  • A single line description (tagline) for the wiki
  • Perhaps a longer description of what the wiki is intended for what is needed.

Oh, and these obvious bits of information:

  • URL for wiki
  • wiki name
  • Version being installed
  • Activated extensions

(In reply to comment #1)

API needs to get the following information:

  • Logo URL
  • A single line description (tagline) for the wiki
  • Perhaps a longer description of what the wiki is intended for what is

needed.

This information is not available at installation time, unless we change the installation process to ask for that information (which would be a nice addition BTW).

See also bug 54428 to expose this information in the api.

(In reply to comment #4)

This information is not available at installation time, unless we change the
installation process to ask for that information (which would be a nice
addition BTW).

You're right. Bugs for that information coming.

(In reply to comment #4)

This information is not available at installation time, unless we change the
installation process to ask for that information (which would be a nice
addition BTW).

That would be the idea, to get it in the setup. The other item is that there really should be a Special page that you can "resend" a ping, thus notifying other servers that you have updated information that should be looked at new. So, if you change your logo you do a manual ping, and then WikiApiary knows to check your logo out for changes.

The format of the message sent I would suggest should just be the body of the siteinfo meta API call. Also, if a wiki disables their API, the option of pinging the remote server should probably be disabled.

Pingback is implemented, but not this way.