Last modified: 2013-09-24 02:31:18 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T56426, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54426 - Create Ping server extension for MediaWiki
Create Ping server extension for MediaWiki
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Extensions requests (Other open bugs)
unspecified
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 54430 54431 54429
Blocks: 54425 54427 54428
  Show dependency treegraph
 
Reported: 2013-09-21 14:37 UTC by Mark A. Hershberger
Modified: 2013-09-24 02:31 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Mark A. Hershberger 2013-09-21 14:37:24 UTC
To avoid writing too much custom code for the ping server needed in bug 54425, I suggest creating an extension that would export an API which could be used to register new wikis.  API needs TBD.
Comment 1 Mark A. Hershberger 2013-09-21 14:50:16 UTC
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.
Comment 2 Mark A. Hershberger 2013-09-21 14:51:48 UTC
Oh, and these obvious bits of information:

* URL for wiki
* wiki name
Comment 3 Mark A. Hershberger 2013-09-21 14:55:32 UTC
* Version being installed
* Activated extensions
Comment 4 Jesús Martínez Novo (Ciencia Al Poder) 2013-09-21 14:59:03 UTC
(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).
Comment 5 Mark A. Hershberger 2013-09-21 15:01:46 UTC
See also bug 54428 to expose this information in the api.
Comment 6 Mark A. Hershberger 2013-09-21 15:06:32 UTC
(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.
Comment 7 Jamie Thingelstad 2013-09-22 00:36:07 UTC
(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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links