John Erling Blad has uploaded a new change for review. Change subject: (Bug 42674) A special page for external pages linked to items [DO NOT MERGE] ......................................................................
(Bug 42674) A special page for external pages linked to items [DO NOT MERGE] This is a first and very rough draft on a special page that use a request to an external site for page titles, and correlates found page titles with internal items. If a lookup can be done through an existing sitelink the listed item will be formatted different compared to an page title with no internal item. There are several things that still don't work as expected, especially the create item link. There could also be additional links that should work, but note that additional roundtrips to the external sites could be expensive. Also try to avoid generator lists as that makes it necessary to use continuation. The simple limited list will always return all pages in one batch. Known bugs * Namespace of the prefix is not handled (problem with portal, category) * Search button does not work as expected (looses prefix search) * Listing of limit-links are wrongly formatted (use list from Language) * Search is a bit wrongly named (starts at the first title above or same) * Create link is not defined * Format of title-description -pair should be a message or template * Same for title in sitelink * Use of "page" and "prefix" is messed up in the code * Should use a multicolumn layout unless other info makes each entry wide * Better name for the special page Change-Id: I3ed5c24dbc9ab733d06e613b6bab2040c1f1e2d1 --- M repo/Wikibase.i18n.alias.php M repo/Wikibase.i18n.php M repo/Wikibase.php A repo/includes/specials/SpecialAssignedPages.php 4 files changed, 233 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase refs/changes/34/36734/1 -- To view, visit https://gerrit.wikimedia.org/r/36734 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I3ed5c24dbc9ab733d06e613b6bab2040c1f1e2d1 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: John Erling Blad <john.b...@wikimedia.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits