Page MenuHomePhabricator

Welsh Wikisource issues with namespaces and indexes
Closed, ResolvedPublic

Description

There are a number of problems with Welsh Wikisource (https://cy.wikisource.org/) which may or may not be interrelated.

  1. There are two namespaces called "Tudalen" (= "Page" namespace at en-wikisource). Namespace 104 has all the pages in it; namespace 250 is empty.
  2. Likewise, there are two namespaces called "Indecs" (= "Index" namespace at en-wikisource). Namespace 106 has all the pages (there are only 2) in it; namespace 252 is empty.
  3. Pages in the Tudalen namespace cannot be edited; the error message "You cannot edit this revision because its content model is wikitext, which differs from the current content model of the page proofread-page." appears.
  4. Pages in the Indecs namespace do not have a table showing the pages associated with the index. Contrast https://en.wikisource.org/wiki/Index:A_Welsh_Grammar,_Historical_and_Comparative, which includes a table of the pages in the book, with https://cy.wikisource.org/wiki/Indecs:Y_bibl_cyssegr-lan.djvu, which does not include such a table (although it did 5 years ago).
  5. In the main namespace, the "<pages/>" function no longer works; it generates an error message "Gwall: ni chafwyd hyd i'r mynegai" ["Error: the index was not found"], for example at https://cy.wikisource.org/wiki/Beibl_(1588)/Genesis. This also worked correctly several years ago.

Event Timeline

Thanks for reporting this. How are these issues non-coding tasks, as defined as the scope of Wikisource-Community-User-Group ?

Aklapper renamed this task from Welsh Wikisource issues to Welsh Wikisource issues with namespaces and indexes.Nov 27 2017, 3:37 PM
Aklapper removed a subscriber: All-and-every-Wikisource.

I'm sorry I labeled it incorrectly.

Samwilson subscribed.

Something seems to be going awry with ProofreadPage — for example, editing https://cy.wikisource.org/w/index.php?title=Indecs:Y_bibl_cyssegr-lan.djvu&action=edit doesn't get the Index edit form, but just the raw template.

Change 394189 had a related patch set uploaded (by Tpt; owner: Tpt):
[operations/mediawiki-config@master] Properly setup ProofreadPage namespaces for cywikisource

https://gerrit.wikimedia.org/r/394189

Tpt subscribed.

The configuration for Index: and Page: namespaces is not properly done on cywikisource. The change https://gerrit.wikimedia.org/r/394189 to the configuration should solve this problem.

Change 394189 merged by jenkins-bot:
[operations/mediawiki-config@master] Properly setup ProofreadPage namespaces for cywikisource

https://gerrit.wikimedia.org/r/394189

Mentioned in SAL (#wikimedia-operations) [2018-03-22T13:55:18Z] <zfilipin@tin> Synchronized wmf-config/InitialiseSettings.php: SWAT: [[gerrit:394189|Properly setup ProofreadPage namespaces for cywikisource (T181406)]] (duration: 01m 16s)

zfilipin@terbium:~$ mwscript namespaceDupes.php cywikisource
0 pages to fix, 0 were resolvable.

0 links to fix, 0 were resolvable.

Looks good!
zfilipin@terbium:~$ mwscript namespaceDupes.php cywikisource --fix
0 pages to fix, 0 were resolvable.

0 links to fix, 0 were resolvable.

Looks good!

The namespace duplication problem have been fixed. We just have to fix the onwiki configuration of the extension (the Index rendring template is currently using parameters in English even if the edit form is using cy parameters).

jhsoby claimed this task.

The problem this bug is about has been solved (more than a year ago), so closing. :-)

(not trying to steal any honor here)